Skip to main content
POST
/
api
/
census
/
tables
/
search
/census/tables/search
curl --request POST \
  --url https://api.anysite.io/api/census/tables/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "vintage": 2023
}
'
[
  {
    "id": "<string>",
    "@type": "@census_table_search_result",
    "description": "<string>",
    "provider": "<string>",
    "program": "<string>",
    "vintage": "<string>",
    "dataset": "<string>",
    "type": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Example:

"median household income"

count
integer
required

Number of tables to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
survey
enum<string> | null

Restrict to a survey program

Available options:
American Community Survey,
Decennial Census,
Decennial Census of Island Areas
vintage
integer | null

Restrict to a vintage year

Required range: 1990 <= x <= 2100
Example:

2023

Response

Successful Response

id
string
required
@type
string
default:@census_table_search_result
description
string | null
provider
string | null
program
string | null
vintage
string | null
dataset
string | null
type
string | null