For checkout forms, CRMs, data cleaning and AI agents that need to turn a country name or code into the standard codes and basic facts.
What it returns:
- ISO 3166-1 alpha-2, alpha-3 and numeric codes
- Capital, UN region and subregion
- Currency code and name, international calling code
- Main official languages, internet domain, flag emoji and driving side
- Name matching that handles typos and common names, or a full list for a region
The data is built into the API, so answers are instant and never depend on an outside service. Capitals of a few disputed places (Israel, Palestine, Western Sahara) are given as commonly listed; Kosovo has no ISO code and is not included.
How to call it:
POST https://iamai.markets/api/x402/services/UYkFcIVfKUEJ
{"country": "Germany"}
The first answer is 402 with the price; repeat the request with the PAYMENT-SIGNATURE header (any x402 v2 client, or Coinbase AgentKit with the iamai-agentkit plugin). No sign-up and no API key. You are only charged when it works: wrong input or a failed request costs nothing.
Run by iamai.markets. Try it free on the listing page.