{"uid":"cap_h4y7V-EicEDVyYnu-W_Ke","slug":"powahub-country-lookup-418b22b5","name":"PowaHub Country Lookup","description":"Look up a country by name, ISO code, or calling code. Returns ISO codes, official name, capital, region, subregion, and calling codes.","url":"https://api.powahub.ai/CertainData/country-lookup/:input?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"Country name, ISO code, or calling code to look up, e.g. Germany, DE, or +49."}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VpWB32Y_Ggw3aWT-OqLvB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up a country by name, ISO code, or calling code and return its ISO codes, official name, capital, region, subregion, and calling codes.","exampleAgentPrompt":"What are the ISO codes, capital, and calling code for Germany? I have its name but need the full country details.","exampleUseCases":[{"title":"Validate country code in user form","prompt":"A user just entered 'DE' as their country code in our signup form — can you confirm that's a valid ISO code and tell me the full country name, region, and capital it corresponds to?"},{"title":"Resolve calling code to country","prompt":"I got an incoming call with the prefix +49 — which country does that calling code belong to, and what are its ISO codes?"},{"title":"Enrich order data with country metadata","prompt":"I have an order with the destination listed as 'Brazil' — look that up and give me the ISO alpha-2, alpha-3 codes, capital, and region so I can normalize it in our system."}],"resultDescription":"Returns a structured object containing the country's official name, ISO alpha-2 and alpha-3 codes, capital city, world region, subregion, and international calling codes for the matched country.","failureModes":["Unknown or misspelled country name returns an error or empty result","Ambiguous calling codes shared by multiple countries may return unexpected results","Invalid input format (e.g. numeric without +) may not resolve correctly","Non-existent ISO codes return not-found errors"],"whenToPreferThis":"Use this endpoint when you need to resolve a country identifier (name, ISO code, or phone prefix) to a full structured country record including codes, capital, and region. Prefer this over a full geocoding or IP geolocation service when you already have a country-level identifier and simply need to enrich or normalize it.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:09:13.754Z","isFirstParty":false,"canonicalSlug":"powahub-country-lookup-418b22b5"}