{"uid":"cap_djRjoRW6qvcbOLUFEh0RV","slug":"country-list-iso-3166-f7f339ea","name":"Country List (ISO 3166)","description":"Return ISO 3166 countries with alpha-2, alpha-3, numeric code and region, filterable by query. Pure CPU, instant.","url":"https://api.gadgethumans.com/country-list?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Filter by name or code"},"limit":{"type":"integer","description":"Max results"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_xtWINKpcHQgDqoH8Xjcif","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":"Returns ISO 3166 country records including alpha-2, alpha-3, numeric code, and region, optionally filtered by name or code query string.","exampleAgentPrompt":"Can you give me a list of all countries matching 'united' along with their ISO alpha-2, alpha-3, and numeric codes — limit it to 10 results?","exampleUseCases":[{"title":"Country dropdown for a web form","prompt":"I'm building a registration form and need a full list of countries with their ISO alpha-2 codes to populate a dropdown — can you fetch all of them?"},{"title":"Validate a country code in user input","prompt":"A user typed 'DE' as their country — can you look that up in the ISO 3166 list to confirm it's a valid alpha-2 code and tell me the full country name and region?"},{"title":"Find countries by partial name search","prompt":"Search the ISO 3166 country list for anything matching 'ko' and return the names, alpha-2 and alpha-3 codes, up to 5 results."}],"resultDescription":"A JSON array of matching country objects, each containing the country's full name, ISO alpha-2 code (e.g. 'DE'), alpha-3 code (e.g. 'DEU'), numeric code (e.g. 276), and world region (e.g. 'Europe'). Results are filtered by the query string if provided, and limited to the specified count.","failureModes":["Missing required 'q' parameter returns a validation error","Query matching zero countries returns an empty array","Non-integer value for limit parameter may return a parse error","Very broad queries may return large unfiltered result sets if limit is not set"],"whenToPreferThis":"Use this endpoint when you need fast, authoritative ISO 3166 country reference data — especially for populating country selectors, validating country codes, or enriching user-submitted data with standardized codes and regions. It is a pure CPU lookup with no latency, making it ideal for real-time form validation or data normalization pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:34:29.144Z","isFirstParty":false,"canonicalSlug":"country-list-iso-3166-f7f339ea"}