This endpoint allows you to retrieve content from a specific sheet in your spreadsheet. You can refine the data using query parameters, including filtering, pagination, sorting, and column selection.
Apply filters to refine the data returned.
Defines the sorting order:
asc:
desc:
Specifies the format in which the data is returned:
rows
columns
matrix
curl -X GET "https://api.sheet2db.dev/v1/data/aace0271-c068-499f-bb40-83354a35eebc/contacts" \ -G \ -d "filter=and(age:eq:21,id:eq:40)" \ -d "limit=10" \ -d "offset=10" \ -d "sort=Age" \ -d "sortDirection=asc" \ -d "format=rows" \ -d "columns=Name,Age,Date"
[ { "Name": "Alice", "Age": 21, "Date": "2024-12-01" }, { "Name": "Bob", "Age": 21, "Date": "2024-12-05" } ]