Link header per the RFC standard.
The
Link header has nothing to do with Fintoc Links. It is just an unfortunate name collision.Pagination in v1
The/v1 namespace uses offset pagination. The Link header supports the next, last, first, and prev relations:
Link header (v1)
Pagination in v2
The/v2 namespace uses cursor-based pagination, supporting only next navigation:
Link header (v2)
Link header indicates that there are no additional pages.
Automatic pagination
The Python and Node SDKs support automatic pagination:Python
Node
Other libraries
Libraries for parsingLink headers include Python’s requests, Ruby’s Nitlink, and JavaScript’s parse-link-header.