{"uid":"cap_NhelXbGwBUwFElcnIiy80","slug":"lilambd-country-lookup-by-iso2-code-1ecfa918","name":"lilambd Country Lookup by ISO2 Code","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/science/countries/%7Biso2%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"},"additionalProperties":{"type":"string"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K0s7xehYq2JjyJgBKtGtZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns country data for a given ISO 3166-1 alpha-2 country code","exampleAgentPrompt":"Can you look up the country information for Germany using its ISO2 code DE?","exampleUseCases":[{"title":"Enrich user profile with country data","prompt":"I have a user who listed their country as 'DE' — can you fetch the full country details for that ISO2 code so I can display their country name and other info?"},{"title":"Validate and expand a country code","prompt":"I just got a form submission with country code 'JP' — can you pull up the country data for that ISO2 code to confirm it's valid and get the full country name?"},{"title":"Build a country info card","prompt":"I'm building a profile page and need the country details for Brazil using its ISO2 code 'BR' — can you fetch that for me?"}],"resultDescription":"A JSON object containing country information for the requested ISO 3166-1 alpha-2 country code, likely including fields such as country name, region, and other geographic or demographic metadata.","failureModes":["Invalid or unrecognized ISO2 code returns an error or empty response","Missing path parameter {iso2} results in a routing error","Payment not processed (HTTP 402) if x402 payment header is absent or insufficient","Network timeout for slow or unavailable service"],"whenToPreferThis":"Use this endpoint when you need to look up structured country data by a known ISO 3166-1 alpha-2 two-letter code and are operating in an x402 micropayment context. It is a simple, fast reference lookup suitable for enriching records, validating country codes, or building country-aware UIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:37:22.518Z","isFirstParty":false,"canonicalSlug":"lilambd-country-lookup-by-iso2-code-1ecfa918"}