Skip to main content
POST
/
api
/
datagov
/
keywords
/datagov/keywords
curl --request POST \
  --url https://api.anysite.io/api/datagov/keywords \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "q": ""
}
'
[
  {
    "keyword": "<string>",
    "@type": "@datagov_keyword",
    "dataset_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of keywords to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
q
string
default:""

Filter keywords by substring

Response

Successful Response

keyword
string
required
@type
string
default:@datagov_keyword
dataset_count
integer | null