AgentAPIGate
Back to Catalog
GET /v1/macro/worldbank/topicsPack: finance·MCP Tool: macro_worldbank_topics

World Bank Macroeconomic & Sector Topics

List official World Bank development topic categories with topic IDs, titles, and sector scope descriptions.

API Key Price:$0.0020 / call
x402 Base USDC:$0.0020 / call
Partner Credit:eligible
1. Parameters & Controls
Optional numeric World Bank topic ID (e.g. "1" for Agriculture, "7" for Financial Sector)
Maximum topics returned (1-50, default 25)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/macro/worldbank/topics" \
  --data-urlencode "limit=25" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-96% tokens
# World Bank Macroeconomic & Sector Topics (`macro.worldbank.topics`)
**count**: 21

### 1. 1
- id=1 | value=Agriculture & Rural Development
### 2. 2
- id=2 | value=Aid Effectiveness
### 3. 3
- id=3 | value=Economy & Growth
### 4. 4
- id=4 | value=Education
### 5. 5
- id=5 | value=Energy & Mining
### 6. 6
- id=6 | value=Environment
### 7. 7
- id=7 | value=Financial Sector
### 8. 8
- id=8 | value=Health
### 9. 9
- id=9 | value=Infrastructure
### 10. 10
- id=10 | value=Social Protection & Labor
### 11. 11
- id=11 | value=Poverty
### 12. 12
- id=12 | value=Private Sector
### 13. 13
- id=13 | value=Public Sector
### 14. 14
- id=14 | value=Science & Technology
### 15. 15
- id=15 | value=Social Development
### 16. 16
- id=16 | value=Urban Development
### 17. 17
- id=17 | value=Gender
### 18. 18
- id=18 | value=Millenium development goals
### 19. 19
- id=19 | value=Climate Change
### 20. 20
- id=20 | value=External Debt
### 21. 21
- id=21 | value=Trade

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: macro.worldbank.topics · Method: GET
ParameterTypeReqSample / DefaultDescription
topic_idstringoptional—Optional numeric World Bank topic ID (e.g. "1" for Agriculture, "7" for Financial Sector)
limitnumberoptional25Maximum topics returned (1-50, default 25)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0020 / call$0/mo · Balance never expires
Remote MCP Toolmacro_worldbank_topicsOAuth 2.1 Hub & /mcp/finance
x402 Base USDC$0.0020 / callZero-signup USDC enabled
P50 Latency317 ms$0 billed on empty or 4xx/5xx
Token Economy6910t → 253t (-96%)Partner credit: eligible
Data AttributionSource: World Bank Open Data & Projects API (api.worldbank.org / search.worldbank.org — CC BY 4.0)

More macro.worldbank Sibling Endpoints

Frequently Asked Questions

How do I call World Bank Macroeconomic & Sector Topics (macro.worldbank.topics) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/macro/worldbank/topics with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool macro_worldbank_topics on https://mcp.agentapigate.ai/mcp.

What does macro.worldbank.topics cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on macro.worldbank.topics?

Passing ?format=md transforms the response into normalized Markdown (~253 tokens vs ~6910 raw tokens, saving 96% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only finance endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["macro.worldbank.topics"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.