Pagination

The pagination object is included in the response of all API endpoints that require it.

"pagination": {
    "current_page": 1,
    "per_page": 100,
    "last_page": 10,
    "from": 1,
    "to": 100,
    "total": 1000
    "path": "https://data.closingbell.co/api/v1/posts",
    "first_page_url": "https://data.closingbell.co/api/v1/posts?page=1",
    "last_page_url": "https://data.closingbell.co/api/v1/posts?page=10",
    "next_page_url": "https://data.closingbell.co/api/v1/posts?page=2",
    "prev_page_url": null,
}

Last updated

Was this helpful?