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

# POST /get_table_by_scope

`POST /get_table_by_scope`

Retrieves table scope

## Request body

- object
  - `code` string, required — `name` of the contract to return table data for
  - `table` string — Filter results by table
  - `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` TableScope[]
    - `code` union, required
      - string — String representation of privileged EOSIO name type
      - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
      - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
      - string — String representation of EOSIO name type
    - `scope` union, required
      - string — String representation of privileged EOSIO name type
      - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
      - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
      - string — String representation of EOSIO name type
    - `table` union, required
      - string — String representation of privileged EOSIO name type
      - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
      - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
      - string — String representation of EOSIO name type
    - `payer` union, required
      - string — String representation of privileged EOSIO name type
      - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
      - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
      - string — String representation of EOSIO name type
    - `count` integer, required — Number of matching items.
  - `more` union
    - string — String representation of privileged EOSIO name type
    - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
    - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
    - string — String representation of EOSIO name type

---

[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)
