World Development Indicators’ API
Data - WDI
Info
List of APIs
Using SDMX-ML: Data Structure Definition
API: http://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL
Documentation: https://datahelpdesk.worldbank.org/knowledgebase/articles/889392-about-the-indicators-api-documentation
API Basic Call Structures: https://datahelpdesk.worldbank.org/knowledgebase/articles/898581
Date: 2000, 2001. http://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL?date=2000:2001
Code from R Package: https://rdrr.io/cran/WDI/src/R/WDI.R
Format JSON: https://datahelpdesk.worldbank.org/knowledgebase/articles/1886686-advanced-data-api-queries
LAST_COMPILE
| LAST_COMPILE |
|---|
| 2026-02-08 |
Javascript
Code
new <- "https://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL?format=json" %>%
jsonlite::fromJSON() %>%
pluck(2)Example
Startperiod, endPeriod
Code
"http://api.worldbank.org/v2/sdmx/rest/data/WDI/A.SP_POP_TOTL./?startperiod=2011&endPeriod=2011" %>%
readSDMX %>%
as_tibble %>%
print_table_conditionalExample
Code
"http://api.worldbank.org/v2/sdmx/rest/data/WDI/A.SP_POP_TOTL./?startperiod=2011&endPeriod=2011" %>%
readSDMX %>%
as_tibble %>%
print_table_conditional