Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

World Bank Classifications API

The Classifications API from World Bank — 2 operation(s) for classifications.

World Bank Classifications API is one of 10 APIs that World Bank publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Classifications. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.0, at version 2.0.0.

Requests are made against a single base URL, https://api.worldbank.org/v2.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0.0
Base URL
https://api.worldbank.org/v2
Resource Areas
1

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Classifications 2
GET
/incomelevel
List income levels
listIncomeLevels 3 params → 200
GET
/lendingtype
List lending types
listLendingTypes 3 params → 200

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are PaginationData (7 properties), LendingType (3 properties), IncomeLevel (3 properties). Each schema is shown below with its type and property counts.

IncomeLevel
object
World Bank income level classification
3 properties
LendingType
object
World Bank lending type classification
3 properties
PaginationData
object
Pagination metadata returned as the first element of the response array
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

worldbank-classifications-api-openapi.yml Raw ↑

Other APIs World Bank publishes across the network.

World Bank Data Catalog API
World Bank Projects API
World Bank Finances API
World Bank SDMX API
World Bank Countries API
World Bank Indicators API
World Bank Regions API
World Bank Sources API
World Bank Topics API