{"uid":"cap_O-bJkQfSrUYvS5XVwF3px","slug":"certaindata-country-lookup-b8c0e073","name":"CertainData 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.certaindata.ai/ca054d66abad4d6ea80ba43013b61743-cd/country-lookup/:input","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_bOFh07HfU68gibTeBgJLV","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 standardized metadata including ISO codes, capital, region, subregion, and calling codes.","exampleAgentPrompt":"Can you look up the country details for 'DE' — I need its official name, capital, region, subregion, and calling codes?","exampleUseCases":[{"title":"Validate customer addresses during signup","prompt":"I'm processing customer registrations and need to validate that the country codes people enter are real. Can you look up each one and confirm the official country name and capital so I know the data is correct?"},{"title":"Build international shipping cost calculator","prompt":"We're setting up shipping rates by region, so I need you to look up which countries belong to Europe, Asia, and other regions. For each country a customer selects, tell me its subregion so we can apply the right shipping tier."},{"title":"Resolve phone numbers to customer location","prompt":"I have a bunch of customer phone numbers with different calling codes like +33, +44, and +81. Can you figure out which country each one is from and give me the official country name and region so I can route their support to the right team?"}],"resultDescription":"Returns structured country metadata including ISO alpha-2 and alpha-3 codes, official country name, capital city, region (e.g. Europe), subregion (e.g. Western Europe), and international calling codes (e.g. +49).","failureModes":["Invalid or unrecognized country name, ISO code, or calling code returns an error or empty result","Ambiguous input (e.g. partial name) may not resolve to a country","Misspelled country names may not match","Non-standard or deprecated ISO codes may not be recognized"],"whenToPreferThis":"Use this endpoint when you need to resolve a country identifier (name, ISO code, or dialing code) into standardized country metadata such as ISO codes, capital, region, or subregion. Ideal for data enrichment pipelines, form validation, or any scenario requiring canonical country information from a flexible input format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:15.284Z","isFirstParty":false}