Skip to main content
POST
/
api
/
census
/
tables
/census/tables
curl --request POST \
  --url https://api.anysite.io/api/census/tables \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "id": "<string>",
  "timeout": 300,
  "geo": "040XX00US06"
}
'
[
  {
    "id": "<string>",
    "@type": "@census_table",
    "table_name": "<string>",
    "geo": "<string>",
    "geo_name": "<string>",
    "data_url": "<string>",
    "metadata_url": "<string>",
    "values": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
id
string
required

Census table object id ({DATASET}{Y}{YEAR}.{TABLE})

Minimum string length: 1
Examples:

"ACSDP1Y2023.DP05"

"ACSST1Y2024.S1901"

"ACSDT5Y2022.B01001"

"DECENNIALPL2020.P1"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
geo
string | null

Geography FIPS clause; omit for national level

Example:

"040XX00US06"

Response

Successful Response

id
string
required
@type
string
default:@census_table
table_name
string | null
geo
string | null
geo_name
string | null
data_url
string | null
metadata_url
string | null
values
CensusTableValue · object[]