Skip to main content
POST
/
api
/
imf
/
datasets
/
search
/imf/datasets/search
curl --request POST \
  --url https://api.anysite.io/api/imf/datasets/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "agency": "IMF.STA",
  "lang": "en"
}
'
[
  {
    "id": "<string>",
    "agency": "<string>",
    "version": "<string>",
    "name": "<string>",
    "@type": "@imf_catalogue_entry",
    "description": "<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 name and id

Minimum string length: 1
Examples:

"price"

"gdp"

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
agency
string | null

Filter by maintenance agency id

Example:

"IMF.STA"

lang
enum<string>
default:en

Language of the entry names

Available options:
en

Response

Successful Response

id
string
required
agency
string
required
version
string
required
name
string
required
@type
string
default:@imf_catalogue_entry
description
string | null