Skip to main content

Retrieving records using Api in Flutter

  • September 8, 2022
  • 1 reply
  • 19 views

I am Not able to Fetch all the records using API in flutter
What i did is used url - https://api.airtable.com/v0/BASE_ID/TABLE_ID?api_key=API_KEY

using this i was only able to get 100 records
please help me

1 reply

Forum|alt.badge.img+16
  • Inspiring
  • 529 replies
  • September 8, 2022

Hi @Focus_MHTCET,
The server returns one page of records at a time. Each page will contain pageSize records, which is 100 by default.

If there are more records, the response will contain an offset. To fetch the next page of records, include offset in the next request’s parameters.

Pagination will stop when you’ve reached the end of your table. If the maxRecords parameter is passed, pagination will stop once you’ve reached this maximum.