Skip to main content
POST
/
api
/
worldbank
/
sources
/worldbank/sources
curl --request POST \
  --url https://api.anysite.io/api/worldbank/sources \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "debt"
}
'
[
  {
    "id": "<string>",
    "@type": "@worldbank_source",
    "name": "<string>",
    "code": "<string>",
    "last_updated": "<string>",
    "data_availability": true,
    "metadata_availability": true,
    "concept_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of sources to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keyword
string | null

Filter sources whose name contains this text

Example:

"debt"

Response

Successful Response

id
string
required
@type
string
default:@worldbank_source
name
string | null
code
string | null
last_updated
string | null
data_availability
boolean | null
metadata_availability
boolean | null
concept_count
integer | null