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

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of organizations 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 organizations by name, slug, or alias substring

Response

Successful Response

@type
string
default:@datagov_organization
id
string | null
alias
string | null
name
string | null
organization_type
string | null
dataset_count
integer | null
source_count
integer | null
aliases
string[]