{topic_id}: Get topic details

API: worldbank.org:world-bank-api
Endpoint: /topic/{topic_id}
Response format: application/json
Auth: unknown
Method: GET
Last Status: 200
Latency: 1841ms

Description

Returns the topic's ID, name, and detailed source note explaining what indicators are included in the topic. Topics organize indicators into thematic areas like Agriculture, Education, Health, etc.

From spec: Retrieve details about a specific topic including description and source note.

Usage Tips

- 21 topics available covering major development themes - Topic 1: Agriculture & Rural Development - Topic 4: Education - Topic 8: Health - Use /topic/{id}/indicator to get all indicators in a topic - sourceNote provides detailed methodology information

Parameters (2)

format (string, query, optional, default: json)

Response format

Constraints: {'enum': ['json', 'xml', 'jsonP', 'jsonstat']}

topic_id (string, path, required)

Topic ID

Examples (1)

Get Agriculture & Rural Development Topic Metadata probe-gate

Demonstrates retrieving metadata for topic ID 1 (Agriculture & Rural Development)

curl 'https://api.worldbank.org/v2/topic/1?format=json'
import requests

resp = requests.get(
    "https://api.worldbank.org/v2/topic/1",
    params={
        'format': 'json',
    },
)
data = resp.json()
import zingu_apis

api = zingu_apis.api("world-bank")
result = api.fetch("topic/{topic_id}", format="json")

for item in result:
    print(item)
const resp = await fetch("https://api.worldbank.org/v2/topic/1?format=json");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 03:06:03.895679 200 1841ms
2026-04-15 02:09:05.791543 200 269ms
2026-04-14 00:54:26.145915 200 325ms
2026-04-12 13:51:12.040632 200 9951ms
2026-04-10 00:03:25.011146 200 247ms
2026-04-09 01:04:05.858723 200 280ms