x402

ISO Country Lookup (x402)

Look up any country by name, ISO code (alpha-2/3/numeric). Returns region, capital, currency, EU/Schengen/Eurozone membership.

get/x402/v2/iso-country-lookup

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/iso-country-lookup
  • Auth: none required

Query parameters

querystring required

Country name, alpha-2, alpha-3, or numeric code

Response

Success

errorstring
matchobject
querystring
total_matchesinteger

Example response

{
  "error": "No country found matching \"test\".",
  "query": "test",
  "matches": [],
  "total_matches": 0
}

Changes

No recorded changes to this operation across all 1 revision of this API.