# Pagination

When you are using a list API route, we will most likely display this with pagination routes. You can use the query parameter ?per_page= to determine how much results you want on 1 page. By default it paginate 50 results per page.

Pagination will look like this:

{
    "data": [
        ... data objects ...
    ],
    "links": [
        {
            "url": null,
            "label": "Previous",
            "active": false
        },
        {
            "url": "https://app.anyclassroom.com/api/v1/{route}?page=1",
            "label": 1,
            "active": true
        },
        {
            "url": null,
            "label": "Next",
            "active": false
        }
    ],
    "meta": {
        "total": 15,
        "per_page": 50,
        "current_page": 1,
        "last_page": 1
    }
}