Skip to main content
POST
/
api
/
eurostat
/
datasets
/
search
/eurostat/datasets/search
curl --request POST \
  --url https://api.anysite.io/api/eurostat/datasets/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "lang": "en"
}
'
[
  {
    "code": "<string>",
    "title": "<string>",
    "type": "<string>",
    "@type": "@eurostat_catalogue_entry",
    "data_start": "<string>",
    "data_end": "<string>",
    "value_count": 123,
    "last_update": "<string>",
    "last_structure_change": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Keyword matched against dataset title and code

Minimum string length: 1
Examples:

"gdp"

"population"

count
integer
required

Number of catalogue entries to return

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

Max scrapping execution timeout (in seconds)

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

Filter by catalogue entry type

Available options:
dataset,
table
lang
enum<string>
default:en

Language of the entry titles

Available options:
en,
fr,
de

Response

Successful Response

code
string
required
title
string
required
type
string
required
@type
string
default:@eurostat_catalogue_entry
data_start
string | null
data_end
string | null
value_count
integer | null
last_update
string | null
last_structure_change
string | null