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

# Get table data

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

Get data from a database table

## Path parameters

- `id` string, required — MongoDB ObjectId represented as a hexadecimal string

## Query parameters

- `page` integer
- `size` integer
- `table` string, required

## Response `200`

Table data

- SuccessWithList
  - `code` integer
  - `message` string
  - `data` object
    - `list` object[]
    - `total` integer

## Changes

- **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/14e4eafea538/schema)
