{"uid":"cap_R_78iXwfYLJLP2hsDiaKF","slug":"certaindata-country-lookup-by-iso-2-code-bb90dda3","name":"CertainData Country Lookup by ISO-2 Code","description":"Look up a country by ISO-2 code. Returns ISO codes, official name, capital, region, subregion, and calling codes.","url":"https://api.certaindata.ai/ca054d66abad4d6ea80ba43013b61743-cd/country-data/:iso2","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":["iso2"],"properties":{"iso2":{"type":"string","description":"ISO-2 country code, e.g. US."}}},"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_-ZfOENGfW88D1asV1UtuR","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":"Returns structured country metadata (ISO codes, official name, capital, region, subregion, calling codes) for a given ISO 3166-1 alpha-2 country code.","exampleAgentPrompt":"What are the official name, capital, region, subregion, and calling codes for the country with ISO-2 code DE?","exampleUseCases":null,"resultDescription":"A structured object containing the country's ISO-2 code, ISO-3 code, official name, capital city, geographic region, subregion, and international calling codes.","failureModes":["Invalid or unrecognized ISO-2 code returns an error or empty result","Passing a 3-letter ISO code instead of 2-letter code may fail validation","Lowercase iso2 codes may or may not be normalized — behavior uncertain","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you have a known ISO 3166-1 alpha-2 country code and need structured country metadata quickly. Prefer over the sibling search endpoint when the code is already known, to avoid ambiguity in name-based lookups. Ideal for enriching datasets that contain ISO-2 codes with human-readable names, capitals, and calling codes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:36:20.482Z","isFirstParty":false}