---
title: "Get Database Table Data"
method: GET
path: "/databases/{id}/tables/data"
tags: ["Databases"]
---

# Get Database Table Data

`GET /databases/{id}/tables/data`

Get the data of a table of a database

## Path parameters

- `id` string, objectid, required — ID of the database

## Query parameters

- `database` string — Name of the database
- `page` integer — Page number
- `size` integer — Page size
- `table` string, required — Name of the table

## Response `200`

OK

- ControllersListResponseMapStringInterface
  - `data` object[]
  - `error` string
  - `message` string
  - `status` string
  - `total` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c7a4715c1f13` — 4 breaking, 3 warning, 11 info
  - for the `path` request parameter `id`, the type/format was changed from `string`/`` to `string`/`objectid`
  - for the `query` request parameter `page`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - for the `query` request parameter `size`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - the `data` response's property type/format changed from `object`/`` to `array`/`` for status `200`
  - …14 more
- **2025-03-02** `526e5bdf6dee` — 2 breaking, 4 warning, 12 info
  - added the pattern `^[0-9a-fA-F]{24}$` to the `path` request parameter `id`
  - the `data` response's property type/format changed from `array`/`` to `object`/`` for status `200`
  - deleted the `query` request parameter `database`
  - removed the optional property `error` from the response with the `200` status
  - …14 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/databases/:id/tables/data/get.md)

---

[API](https://skmtc.dev/crawlab-team/apis/crawlab-api.md) · [All operations](https://skmtc.dev/crawlab-team/apis/crawlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crawlab-team/crawlab-api/revisions/c7a4715c1f13/schema)
