World Bank Documents & Reports

App · Misc References · 3 actions

Search and retrieve public documents and reports from the World Bank's Documents & Reports collection using the free, keyless World Bank WDS API. No account or API key required. Look up documents by topic, country, type, language, or date; fetch a single record by id; and list facet values to discover how to filter.

Actions

ActionWhat it does
Get a documentFetch a single Documents & Reports record by its document id (the 'id' returned by the search action) or by the long number at the end of its documents.worldbank.org URL.
List facet valuesList the most common values (up to 100 per field, with counts) found across all matching documents for one or more facetable fields, for example the countries or languages present.
Search documentsSearch the World Bank Documents & Reports corpus.

Get a document

Fetch a single Documents & Reports record by its document id (the 'id' returned by the search action) or by the long number at the end of its documents.worldbank.org URL.

Inputs

Document IDdocument_idtextRequired
The document's id, for example '40078019' (the 'id' field returned by the search action), or the long number at the end of its documents.worldbank.org URL (its 'guid'), for example '099122125121523841'.
Fieldsfieldstext
Optional comma-separated list of fields to return. Leave empty for the same standard set a search returns (title, date, country, type, language, abstract, URLs, and more), or use '*' for every field the API holds.

Outputs

documentobject
Example output
{
  "document": {
    "abstracts": "The World Development Report 2025, titled \"Standards for Development,\" emphasizes the critical role of standards as an invisible infrastructure for modern economies, essential for prosperity, export growth, technology diffusion, and resilient public services.",
    "count": "World",
    "display_title": "World Development Report 2025 : Standards for Development",
    "docdt": "2025-12-11T05:00:00Z",
    "docty": "World Development Report",
    "guid": "099122125121523841",
    "id": "40078019",
    "lang": "English",
    "majdocty": "Publications & Research",
    "pdfurl": "https://documents.worldbank.org/curated/en/099122125121523841/pdf/P505272-3c838d61-08f9-41ac-a199-59990baf9b6b.pdf",
    "projectid": "P505272",
    "repnb": "207399",
    "url": "http://documents.worldbank.org/curated/en/099122125121523841"
  }
}

List facet values

List the most common values (up to 100 per field, with counts) found across all matching documents for one or more facetable fields, for example the countries or languages present. Handy for discovering the exact values to filter a search on.

Inputs

Facet fieldsfacetstextRequired
Choose at least one facetable field to tally, for example Country and Language.One or more of: count_exact (Country), lang_exact (Language), docty_exact (Document type), majdocty_exact (Major document type), admreg_exact (Administrative region), teratopic_exact (Topic), subtopic_exact (Subtopic), theme_exact (Theme), majtheme_exact (Major theme), sectr_exact (Sector), disclstat_exact (Disclosure status), colti_exact (Collection / series).
Search queryquerytext
Optional free-text query to narrow the facet counts to matching documents. Leave empty to tally across the whole corpus.

Outputs

facetsobject
Example output
{
  "facets": {
    "count_exact": [
      {
        "count": 64146,
        "name": "World"
      },
      {
        "count": 30939,
        "name": "India"
      },
      {
        "count": 16789,
        "name": "China"
      }
    ],
    "lang_exact": [
      {
        "count": 572911,
        "name": "English"
      },
      {
        "count": 16511,
        "name": "French"
      }
    ]
  }
}

Search documents

Search the World Bank Documents & Reports corpus. Use a free-text query and/or narrow by country, document type, language, project, title, or date range. Results are paginated and each record includes its title, URL, and any extra fields you request.

Inputs

Search queryquerytext
Free-text search (the API's 'qterm'). Matches a document's title, abstract, report or project number, country, and other core fields, for example 'wind turbine'. Every word must match; wrap words in double quotes to match an exact phrase. Leave empty to match all documents (newest first).
Countrycountrytext
Restrict to documents whose country field exactly matches this name, capitalization included, for example 'Argentina'. Match several countries by separating them with a caret, for example 'Russian Federation^Armenia'. 'List facet values' shows the exact names.
Document typedocument_typetext
Restrict to an exact document type, capitalization included, for example 'Procurement Plan' or 'Project Appraisal Document'.
Languagelanguagetext
Restrict to documents in this language, capitalization included, for example 'English' or 'French'.
Project IDproject_idtext
Restrict to the documents of a World Bank project, by the ID on its projects.worldbank.org page, for example 'P178329'. Separate several with commas.
Title containstitletext
Restrict to documents whose display title contains any of these words, for example 'wind energy'. Wrap them in double quotes, as in '"wind energy"', to require the exact phrase.
From datestart_datetext
Only documents dated on or after this date. Use 'YYYY-MM-DD' or 'MM-DD-YYYY', for example '2018-01-01'. Leave empty for no earliest date.
To dateend_datetext
Only documents dated on or before this date. Use 'YYYY-MM-DD' or 'MM-DD-YYYY', for example '2018-03-30'. Leave empty for no latest date.
Extra fieldsfieldstext
Comma-separated list of fields to return per record, for example 'docdt,count,authors'. The id, guid, title and URLs are always returned too. Leave empty for a standard set (title, date, country, type, language, abstract, report and project numbers, and URLs), or use '*' for every field the API holds, a much larger response.
Sort bysort_bytext
Field to sort by. Defaults to relevance when a query is given, otherwise document date (newest first).One of: docdt (Document date), docna (Document name).
Sort orderordertext
Sort direction. Only applies when 'Sort by' is set.One of: desc (Descending (newest / Z-A first)), asc (Ascending (oldest / A-Z first)).
Results per pagerowsnumber
How many documents to return, from 1 to 100. Defaults to 10.From 1 to 100.
Start atoffsetnumber
Zero-based index of the first result to return, for paging, up to 100,000. Defaults to 0. For example, 20 starts the second page when returning 20 rows.From 0 to 100000.

Outputs

countnumber
documentslist
offsetnumber
pagenumber
rowsnumber
totalnumber
Example output
{
  "count": 2,
  "documents": [
    {
      "abstracts": "The objective of the Wind Umbrella (La Venta II) Project aims to reduce greenhouse gases emissions from power generation in Mexico and promote investment in wind energy in Mexico to diversify the sources of power generation in the country.",
      "count": "Mexico",
      "display_title": "Mexico - Wind Umbrella (La Venta II) Project",
      "docdt": "2006-04-24T04:00:00Z",
      "docty": "Project Appraisal Document",
      "entityids": "000334955_20100222012800",
      "guid": "995361468056343658",
      "id": "11831032",
      "lang": "English",
      "majdocty": "Project Documents",
      "pdfurl": "http://documents.worldbank.org/curated/en/995361468056343658/pdf/529200PAD0P0801for0disclosure0final.pdf",
      "projectid": "P080104",
      "repnb": "52920",
      "repnme": "Mexico - Wind Umbrella (La Venta II) Project",
      "txturl": "http://documents.worldbank.org/curated/en/995361468056343658/text/529200PAD0P0801for0disclosure0final.txt",
      "url": "http://documents.worldbank.org/curated/en/995361468056343658",
      "volnb": "1"
    },
    {
      "abstracts": "The development objective of the Mocha Wind Park Project for Yemen is to increase the supply of cost-effective renewable wind electricity.",
      "count": "Yemen, Republic of",
      "display_title": "Yemen - Mocha Wind Park Project",
      "docdt": "2014-02-11T05:00:00Z",
      "docty": "Project Appraisal Document",
      "entityids": "000442464_20140220094225",
      "guid": "156751468335513164",
      "id": "19030958",
      "lang": "English",
      "majdocty": "Project Documents",
      "pdfurl": "http://documents.worldbank.org/curated/en/156751468335513164/pdf/PAD6510P146055010Box382145B00OUO090.pdf",
      "projectid": "P146055",
      "repnb": "PAD651",
      "repnme": "Yemen - Mocha Wind Park Project",
      "txturl": "http://documents.worldbank.org/curated/en/156751468335513164/text/PAD6510P146055010Box382145B00OUO090.txt",
      "url": "http://documents.worldbank.org/curated/en/156751468335513164",
      "volnb": "1"
    }
  ],
  "offset": 0,
  "page": 1,
  "rows": 2,
  "total": 593
}

On this page