---
title: "List records (Database API)"
description: ""
canonical: "https://docs.softr.io/api/records/list-records"
updated: "2026-12-04"
---

# List records (Database API)



```http
GET https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records
```

## Authorizations

- `Softr-Api-Key` (API key, in header, required)

## Path parameters

- `databaseId` (`string`, required)
- `tableId` (`string`, required)

## Query parameters

- `offset` (`integer`, default: `0`)
- `limit` (`integer`, default: `10`)
- `fieldNames` (`boolean`, default: `false`): If true, use field names as keys in the fields object instead of field IDs.
- `viewId` (`string`): Filter records by a specific view.

## Response

**200**: A paginated list of records.

- `data` (`object[]`)
- `data.id` (`string`)
- `data.tableId` (`string`)
- `data.fields` (`Record<string, unknown>`): A map of Field IDs to their values for this record.
- `data.createdAt` (`string<date-time>`)
- `data.updatedAt` (`string<date-time>`)
- `metadata` (`object`)
- `metadata.offset` (`integer`)
- `metadata.limit` (`integer`)
- `metadata.total` (`integer`)

```json
{
  "data": [
    {
      "id": "<string>",
      "tableId": "<string>",
      "fields": {},
      "createdAt": "2024-01-01T00:00:00Z",
      "updatedAt": "2024-01-01T00:00:00Z"
    }
  ],
  "metadata": {
    "offset": 123,
    "limit": 123,
    "total": 123
  }
}
```

**429**: Rate limit exceeded.

No response body.

**Example request**

```bash
curl --request GET \
  --url 'https://tables-api.softr.io/api/v1/databases/<databaseId>/tables/<tableId>/records' \
  --header 'Softr-Api-Key: <api-key>'
```
