Directory › API
World Bank: Foreign direct investment, net inflows (current US$) by country (latest year) (live)
Live JSON source from The World Bank, finance and economy. Data changes slowly; each call reads the publisher's current data (bounded cache) and cites source and fetch time. Metadata and links only; nothing stored.
Facts about this data
| Update frequency | On each request |
| Last successful read | – |
| Coverage | – |
| Confidence | unknown (This API composes other KnowAPI datasets; see each dataset's metadata.) |
| How values are checked | Each call checks the listed official sources live or from their latest stored copy; results link to the official notice. |
Known limitations
- See the datasets this API reads for coverage and freshness.
Use it
No key yet? Click Get a free key above and it fills into this command.
curl "https://api.knowapi.dev/v1/data/live-worldbank-fdi-latest?q=income&limit=3" -H "Authorization: Bearer YOUR_KEY"
Verified example: run against the stored data on 2026-12-03, it returned 5 matching records. MCP: query_api with {"api_id":"5a472c5b-7ca8-4057-b083-1beeb479d96c","params":{"q":"income","limit":3}}.
No key? Call the same URL and pay per call with x402 (USDC on Base). AI agents: MCP server https://api.knowapi.dev/mcp, tool query_api with api_id 5a472c5b-7ca8-4057-b083-1beeb479d96c.
Parameters
| Parameter | Example | Description |
|---|---|---|
q | storm | Words that must appear in the title or summary. |
since | 2026-12-02 | Only items published or updated at or after this ISO time. |
limit | 10 | Items to return (1-100, default 20). |
Example records (real data)
[
{
"id": "AFE",
"link": null,
"title": "Africa Eastern and Southern",
"fields": {
"date": "2025",
"value": 25375067164.9694,
"country.value": "Africa Eastern and Southern",
"countryiso3code": "AFE"
},
"summary": null,
"updated": null,
"published": "2025-01-01T00:00:00.000Z",
"categories": []
},
{
"id": "AFW",
"link": null,
"title": "Africa Western and Central",
"fields": {
"date": "2025",
"value": 21543064547.0963,
"country.value": "Africa Western and Central",
"countryiso3code": "AFW"
},
"summary": null,
"updated": null,
"published": "2025-01-01T00:00:00.000Z",
"categories": []
}
]Product group
Data $0.0037 per call (billed)
A single source answers each call: an individual lookup. See the group.
Price
Monthly plans include calls: pricing.