{"uid":"cap_EfsYaaOm0FzjpX9IXNHJi","slug":"countrylayer-alpha-lookup-by-iso-code-2d3796f8","name":"Countrylayer Alpha Lookup by ISO Code","description":"Country by ISO alpha code: append /{code}.","url":"https://gateway.apiosk.com/countrylayer/alpha/de","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.077","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hXDYBCWJUrUxiYGa9fw1Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns detailed country data for a given ISO 3166-1 alpha-2 country code (e.g. 'de' for Germany) via the Countrylayer API gateway","exampleAgentPrompt":"Can you pull up all the details for Germany — things like its capital, official languages, currency, population, and bordering countries?","exampleUseCases":[{"title":"Country profile for travel planning","prompt":"I'm planning a trip to Germany — can you get me the key country details like capital city, official language, currency, and timezone?"},{"title":"Enriching user location data","prompt":"A user signed up with country code 'de' — can you fetch the full country profile so I can display their region, currency, and calling code in their account settings?"},{"title":"Educational country fact lookup","prompt":"What are the official languages, population, and neighboring countries of Germany? I need the data for a geography quiz app."}],"resultDescription":"A structured JSON object containing comprehensive country data for the specified ISO alpha-2 code, including country name, capital, region, subregion, population, area in km², currencies, languages, flag emoji or URL, calling codes, timezones, and bordering country codes.","failureModes":["Invalid or unrecognized country code returns an error or empty result","Network timeout at the gateway level","Payment failure via x402 protocol results in 402 response and no data","Country code passed in incorrect format (e.g. full name instead of alpha-2) may return no results"],"whenToPreferThis":"Use this endpoint when you need structured, authoritative country metadata keyed by ISO 3166-1 alpha-2 code and want pay-per-call pricing via USDC on Base without an API subscription. Ideal for enriching user profiles, powering geographic lookups, or building country-detail features in applications that only need occasional queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:07.576Z","isFirstParty":false}