Login

Pagination

All collection endpoints in the BlogHunch /v1 API return a standardized { data, meta } envelope. By default, limit is 20 items per page and can be configured up to a maximum of 100.

Page-based pagination

Pass page and limit as query parameters on any list endpoint. Check meta.has_more to determine whether subsequent pages exist.

  • Name
    page
    Type
    integer
    Description

    1-based page index (defaults to 1).

  • Name
    limit
    Type
    integer
    Description

    Number of records per page (1 to 100, defaults to 20).

curl -G https://api.bloghunch.com/v1/posts \
  -H "Authorization: Bearer {token}" \
  -d page=2 \
  -d limit=10
{
  "data": [
    {
      "id": 406856,
      "publication_id": 3696,
      "title": "Post test 1",
      "slug": "post-test-1",
      "status": "publish",
      "published_at": "2026-11-01T10:00:00.000Z"
    }
  ],
  "meta": {
    "total": 23,
    "per_page": 10,
    "current_page": 2,
    "last_page": 3,
    "has_more": true
  }
}