{"uid":"cap_IkhCoQYwSTIsIEH3Z2Htl","slug":"agenttools-country-reference-database-f425b40c","name":"AgentTools Country Reference 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://agentstoolshub.com/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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sTVtAXSAGJsZC2XN41SJE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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, populations, currencies, languages, TLDs, and calling codes for any or all of 250 countries and territories, optionally filtered by region.","exampleAgentPrompt":"Can you look up the ISO code, capital, calling code, currency, and official languages for Germany from the country reference database?","exampleUseCases":[{"title":"E-commerce checkout country picker","prompt":"I need the full list of all countries with their ISO codes, calling codes, and currencies so I can populate a checkout form — can you pull that from the countries database?"},{"title":"Regional market research","prompt":"List all countries in Asia with their populations, currencies, and official languages so I can figure out which markets to target for our product launch."},{"title":"International dialing assistant","prompt":"What's the calling code, ISO code, and capital city for Nigeria? I need to set up an international phone directory entry."}],"resultDescription":"Returns a JSON object or array containing country records. Each record includes the country name, ISO 3166-1 alpha-2 and alpha-3 codes, capital city, world region, population, land area, currency code and name, official languages, top-level domain (TLD), and international calling code. When filtering by country, a single record is returned; when listing, an array of matching countries is returned (optionally capped by a limit).","failureModes":["Invalid region enum value returns an error or empty result","Country name not recognized returns empty or null result","Exceeding any implicit rate or quota limits returns a payment or rate-limit error","Network timeout or service unavailability returns a 5xx error","Omitting required 'input' wrapper object causes a schema validation error"],"whenToPreferThis":"Choose this endpoint when an agent needs authoritative, structured reference data about countries — such as ISO codes, capitals, currencies, languages, calling codes, or TLDs — for one country or a filtered regional list. It is ideal for populating forms, enriching user records with country metadata, building international phone or currency lookups, or answering factual geography questions. Prefer it over a general web search when structured, machine-readable output is needed reliably and consistently.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:32.567Z","isFirstParty":false,"canonicalSlug":"agenttools-country-reference-database-f425b40c"}