{"uid":"cap_FcTTt2G2G9lTf66o1xXX6","slug":"agenttools-country-database-04f5ab73","name":"AgentTools Country Database","description":"Reference database of all 250 countries and territories: ISO 3166-1 codes, capitals, regions, population, area, currencies, languages, TLDs and calling codes. Look up a single country or list by region. Use this when an agent needs to 250 countries: codes, capitals, currencies, populations.","url":"https://agenttools-hub.vercel.app/api/v1/databases/countries?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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"limit":{"type":"number","description":"Max rows"},"region":{"enum":["","Africa","Americas","Asia","Europe","Oceania","Antarctic"],"type":"string","description":"Region filter"},"country":{"type":"string","description":"Leave empty to list countries instead."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_l3EnYF5nxVnbJ3OL0fvpW","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":"Look up ISO 3166-1 codes, capitals, regions, population, area, currencies, languages, TLDs, and calling codes for any of 250 countries and territories — filtered by region or retrieved individually.","exampleAgentPrompt":"Look up the full country profile for Japan — I need its ISO code, capital, currency, calling code, TLD, and official language.","exampleUseCases":[{"title":"Country code lookup for a form","prompt":"What's the ISO 3166-1 alpha-2 code and international calling code for Portugal? I need to pre-fill a phone number field on a checkout form."},{"title":"Regional country listing for a report","prompt":"Give me a list of all countries in Europe with their currencies and capitals — I'm building a regional market report."},{"title":"TLD and language check for localization","prompt":"I'm setting up localized domains for our app — can you pull up the TLD and official languages for South Korea, Thailand, and Brazil?"}],"resultDescription":"A JSON object or array containing standardized country data including ISO 3166-1 alpha-2/alpha-3 codes, capital city, world region, population, land area, currency name and code, official language(s), country-code TLD, and international dialing/calling code. Single-country lookups return one record; region or list queries return an array of matching records up to the specified limit.","failureModes":["Invalid or unrecognized country name returns empty result or error","Invalid region enum value may return a validation error","Exceeding API rate limits may result in a 429 response","Empty result set if region filter matches no countries (e.g., Antarctic with limit 0)","Missing required 'input' field returns a 400 schema validation error"],"whenToPreferThis":"Choose this endpoint when you need standardized, structured reference data about countries — ISO codes, capitals, currencies, calling codes, TLDs, languages — and want a single consistent source covering all 250 ISO 3166-1 entries. It is especially useful for form validation, data enrichment pipelines, localization workflows, or regional filtering use cases. Prefer it over a general web search when you need machine-readable, structured output rather than prose descriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:37:58.304Z","isFirstParty":false,"canonicalSlug":"agenttools-country-database-04f5ab73"}