Overview
The Solutions API gives you programmatic read access to your Live Tables. Use it to fetch rows, apply filters, select specific columns, sort results, and paginate through large datasets from any HTTP client or script. The platform generates ready-to-run code examples for each of your Live Tables with all IDs pre-filled. Find them in the API docs panel on your database page.Authentication
Include your API token in theAuthorization header of every request:
403 Forbidden.
Endpoint
GET /api/database-tables/{table_id}/data
Fetch rows from a Live Table. Thetable_id is unique to each table and is pre-filled in the code examples on your database page.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
offset | integer | No | Number of rows to skip. Default: 0 |
limit | integer | No | Maximum rows to return. Default: 20 |
select | string | No | Comma-separated column names to include in the response |
order_by | string | No | Comma-separated column names to sort by |
q | string | No | TQL filter expression |
Response
| Field | Type | Description |
|---|---|---|
total_count | integer | Total number of rows matching the query |
result_count | integer | Number of rows returned in this page |
offset | integer | Offset used for this page |
limit | integer | Limit used for this page |
results | array | Array of row objects |
Status Codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Invalid query parameters |
403 | Missing or invalid authorization token |
Examples
Fetch Rows
- JavaScript
- Python
- cURL
Select Specific Columns
Useselect to limit which fields are returned. This reduces response size for tables with many columns.
- JavaScript
- Python
- cURL
Filter with TQL
Use theq parameter to pass a TQL filter expression.
- JavaScript
- Python
- cURL
Quote strings and dates in TQL expressions. Leave numbers unquoted. See Querying for the full TQL syntax reference.
Paginate Through All Results
Useoffset and limit together to iterate through large result sets. Stop when an empty results array is returned.
- JavaScript
- Python
- cURL