Pagination

List endpoints may return paginated results rather than the full dataset in a single response.

Collection routes

Expect pagination on endpoints that return collections, timelines, or large result sets.

Check the API reference for endpoint-specific parameters and response fields.

Common parameters

page and page_size are the standard pair and carry 29 of the paginated routes. page_size has no alias: per_page, which some listings once accepted, is now refused like any other undeclared parameter.

limit is a row cap rather than a page selector, and appears only on /v1/edgar/reconciliation/ledger and /v1/edgar/reconciliation/summary. The point-in-time page route, /v1/edgar/as-of/{date}/financials/{cik}/page, pages with limit and offset.

Not every endpoint uses every parameter, so rely on the route contract instead of assuming one universal shape.

A query parameter a route does not declare is refused, not ignored. The request fails with 400 VALIDATION_ERROR naming what it did not recognize and what the route accepts:

{
  "error": {
    "code": "VALIDATION_ERROR",
    "http_status": 400,
    "message": "Unrecognized query parameter(s): fiscal_year. The request was refused rather than answered without them.",
    "details": {
      "unknown_parameters": ["fiscal_year"],
      "accepted_parameters": ["detail", "from_date", "include_restated", "include_usd", "page", "page_size", "statement_type", "to_date"]
    },
    "trace_id": "…"
  }
}

Read details.accepted_parameters — it is the route's actual contract, so a misspelling or a filter that lives under a different name is answered directly. /v1/edgar/companies/{cik}/statements narrows by from_date and to_date rather than by fiscal year, which this makes visible instead of silently returning the filer's whole history.

Response shape

Representative collection payload:

{
  "page": 1,
  "page_size": 50,
  "total": 128,
  "items": []
}

Representative request:

Paginated request

curl -X GET "https://api.arche.fi/v1/edgar/restatement-alerts?page=1&page_size=50" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Accept: application/json"

Best practices

  • Prefer smaller page sizes for interactive tooling.
  • Use stable filters and sorting when exporting data across multiple pages.
  • Persist the exact query parameters used for reproducible research jobs.
  • Avoid parallel page fan-out until you know a route’s ordering guarantees.

Was this page helpful?