{"uid":"cap_l9_2zw2G5FNKa2yuZv-81","slug":"signaldesk-ai-world-bank-country-data-27df583c","name":"SignalDesk AI World Bank Country Data","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/data/worldbank-country?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","pattern":"^[A-Za-z]{2,3}$","maxLength":3,"minLength":2,"description":"ISO country code."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"source":{"license":"CC BY 4.0 unless indicated otherwise by source","provider":"World Bank","expires_at":"2026-10-03T09:44:49.800Z","fetched_at":"2026-10-02T09:44:49.800Z","source_url":"https://api.worldbank.org/v2/country/PT?format=json","transformed":true},"countries":[{"id":"PRT","code":"PT","name":"Portugal","region":"Europe & Central Asia","capital":"Lisbon","latitude":"38.7072","longitude":"-9.13552","income_level":"High income"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vBidjq4M0sRs7VKrP1pon","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches structured country metadata (region, capital, coordinates, income level) from the World Bank API for a given ISO country code.","exampleAgentPrompt":"Pull the World Bank country profile for Portugal — I need its region, capital, income level, and coordinates.","exampleUseCases":[{"title":"Country profile enrichment for analytics","prompt":"I'm building a dataset of country profiles — can you fetch the World Bank data for Germany, including its region, capital, and income classification?"},{"title":"Verifying capital city and coordinates","prompt":"What does the World Bank say is the capital and geographic coordinates for Brazil? Use the ISO code BR."},{"title":"Income level classification lookup","prompt":"I need to know whether Kenya is classified as low income, middle income, or high income according to the World Bank — can you look it up using the country code KE?"}],"resultDescription":"A JSON object containing structured country data sourced from the World Bank, including the country's ISO ID and code, full name, world region, capital city, latitude, longitude, and income level classification. Also includes source metadata: provider name, license (CC BY 4.0), fetch timestamp, expiry timestamp, and the original World Bank API URL used.","failureModes":["Invalid or unsupported ISO country code returns an error or empty countries array","Country code too short (under 2 chars) or too long (over 3 chars) fails schema validation","World Bank upstream API unavailable causes a fetch error","Payment not completed (x402 protocol) results in 402 response before data is returned","Cached data may be up to 24 hours stale based on expires_at field"],"whenToPreferThis":"Choose this endpoint when you need authoritative, structured country metadata (region, capital, coordinates, income level) sourced directly from the World Bank and cached for fast retrieval. Prefer it over raw World Bank API calls when you want a clean, normalized JSON response with a single ISO code lookup at very low cost ($0.002 USDC). Best for enriching datasets, validating country classifications, or resolving geographic metadata in agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:27.258Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-world-bank-country-data-27df583c"}