tennisdatabaseAPI

Tennis API documentation

Ctrl K
DocsStart here

Paging

Lists come a page at a time: 50 items unless you ask, at most 50.

1Two ways to page

page and per_pageJump to any page. meta.total gives the count, so you can show "page 3 of 41".
cursorWalk a long list: send meta.next_cursor from the page before, until it is null. Faster on long lists, as it skips the count.

2The meta of a page

{
  "page": 2,
  "per_page": 50,
  "count": 50,
  "total": 2047,
  "next_cursor": "eyJvIjoxMDAsInAiOjUwfQ"
}