{"uid":"cap_DoRnePAS4OkyVQ0EjcQPO","slug":"agent-data-tools-country-profile-lookup-3e8395f2","name":"Agent Data Tools: Country Profile Lookup","description":"Facts about a country by ISO code (SE, SWE, US…): official World Bank name, ISO-2 and ISO-3 codes, region, income level, capital city and its coordinates, and the latest population figure with its year (World Bank open data). Use to enrich records with country data.","url":"https://agent-data-tools.revmesh2074.workers.dev/country?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"ISO 3166 alpha-2 or alpha-3 code"}}},"responseSchema":{"type":"object","properties":{"iso2":{"type":"string"},"iso3":{"type":"string"},"name":{"type":"string"},"region":{"type":"string"},"source":{"type":"string"},"capital":{"type":"string"},"capitalLat":{"type":"number"},"capitalLon":{"type":"number"},"population":{"type":"number"},"incomeLevel":{"type":"string"},"populationYear":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wnWgzLroE8FAIa6ooiqti","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns standardized country profile data including ISO codes, capital coordinates, population, region, and income level for a given country code.","exampleAgentPrompt":"Can you look up the country profile for Sweden — I need the capital city, its coordinates, population, and income level classification?","exampleUseCases":[{"title":"Enrich user location with country data","prompt":"I have a user from SE — can you pull the full country profile for that ISO code so I can display their region, capital, and income level in their dashboard?"},{"title":"Validate and expand country code in dataset","prompt":"We have a dataset with ISO alpha-2 codes and need to add the full country name, ISO3 code, capital, and population for each entry — start with DE."},{"title":"Research country demographics for report","prompt":"What is the population, income level, and World Bank region classification for Brazil? I need the figures sourced from World Bank data."}],"resultDescription":"A JSON object with the country's ISO2 and ISO3 codes, full name, World Bank region, capital city name, capital latitude and longitude, population figure with year, and income level classification (e.g. High income, Upper middle income).","failureModes":["Invalid or unrecognized country code returns an error or empty response","Unsupported ISO format (e.g. numeric codes) may not be accepted","Network or worker timeout if the Cloudflare worker is under load","Payment failure on Base/x402 results in no charge and no data returned"],"whenToPreferThis":"Use this endpoint when you need standardized country metadata — ISO codes, capital coordinates, population, region, and income level — sourced from World Bank, without requiring an account or API key. Prefer it over manual lookup or general web search when you need structured, machine-readable output for a single country at very low cost ($0.001 USDC per call) and no auth overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:36:17.685Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-country-profile-lookup-3e8395f2"}