Skip to content

Please submit any typos you come across to GitHub issues.


Pagination

To make it possible to explore the millions of records for resources like transactions and operations, Horizon paginates the data it returns for collection-based endpoints.

Each individual transaction, operation, ledger, etc. is returned as a record, and a group of records is called a collection. Records are returned as an array under the _embedded attribute.

To move between pages of a collection of records, use the links in the next and prev attributes nested under the top-level _links attribute.

  • ATTRIBUTEDATA TYPE

    DESCRIPTION

  • _linksarray

    Provides links for navigating to other pages.

  • _embeddedarray

    An href key with a link to the next page for this endpoint as the value.