{"uid":"cap_TDceWw2Zq65SdMdwQ0Lvp","slug":"worldbank-x402-vercel-app-562cf1ba","name":"World Bank Country Profile Lookup","description":"World Bank country profile. Returns name, capital, region, income level, and coordinates for any country.","url":"https://worldbank-x402.vercel.app/worldbank/country","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"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"ISO2 country code (US, CN, DE, JP, GB, IN, BR, etc.)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"name":{"type":"string"},"region":{"type":"string"},"capital":{"type":"string"},"income_level":{"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"country":"DE"}}},"response":{"id":"DEU","iso2":"DE","name":"Germany","region":"Europe & Central Asia","capital":"Berlin","latitude":52.5235,"longitude":13.4115,"income_level":"High income","lending_type":"Not classified"}},"exampleRequest":{"country":"DE"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","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_mqunWjmOeJyHvW__ZctJ3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns basic country profile data including name, capital, region, income level, and geographic coordinates for a given ISO2 country code.","exampleAgentPrompt":"Can you pull up the World Bank country profile for Japan — I need its capital, region, income level, and coordinates?","exampleUseCases":[{"title":"Check country income classification","prompt":"What income level does the World Bank classify Nigeria as? I'm building a report on development aid eligibility and need the official classification."},{"title":"Find capital and coordinates","prompt":"Can you get me the capital city and geographic coordinates for South Africa? I need them for a map I'm putting together."},{"title":"Verify regional classification","prompt":"Which World Bank region does Brazil fall under? I want to make sure I'm grouping it correctly in my development-context analysis."}],"resultDescription":"Returns a JSON object with the country's ISO3 id, ISO2 code, full name, region name, capital city, latitude and longitude coordinates, income level classification (e.g. 'High income', 'Low income'), and lending type classification from the World Bank.","failureModes":["Invalid or unrecognized ISO2 country code returns an error or empty result","Missing required 'country' query parameter causes a 400 bad request","Unsupported country codes (e.g. territories not recognized by World Bank) may return no data","Payment failure via x402 protocol results in 402 Payment Required before data is returned"],"whenToPreferThis":"Use this endpoint when you need basic country identification and classification data — capital city, geographic region, income level, and coordinates — sourced directly from the World Bank. Prefer this over general geocoding APIs when World Bank classification (income level, lending type) is specifically needed, or when building development-context-aware applications. Best for single-country lookups; use the sibling 'compare' endpoint for multi-country comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T17:27:41.955Z","isFirstParty":false}