---
title: "POST /get_table_rows"
method: POST
path: "/get_table_rows"
---

# POST /get_table_rows

`POST /get_table_rows`

Returns an object containing rows from the specified table.

## Request body

- object
  - `code` string, required — The name of the smart contract that controls the provided table
  - `table` string, required — The name of the table to query
  - `scope` string, required — The account to which this data belongs
  - `index_position` string — Position of the index used, accepted parameters `primary`, `secondary`, `tertiary`, `fourth`, `fifth`, `sixth`, `seventh`, `eighth`, `ninth` , `tenth`
  - `key_type` string — Type of key specified by index_position (for example - `uint64_t` or `name`)
  - `encode_type` string
  - `lower_bound` string — Filters results to return the first element that is not less than provided value in set
  - `upper_bound` string — Filters results to return the first element that is greater than provided value in set
  - `limit` integer — Limit number of results returned.
  - `reverse` boolean — Reverse the order of returned results
  - `show_payer` boolean — Show RAM payer

## Response `200`

OK

- object
  - `rows` unknown[]
    - unknown

---

[API](https://skmtc.net/worldwide-asset-exchange/apis/chain-api.md) · [All operations](https://skmtc.net/worldwide-asset-exchange/apis/chain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldwide-asset-exchange/chain-api/versions/5bfa22186461/schema)
