{"uid":"cap_iEcGCFodgUh1SkqD8w3hn","slug":"lilambd-countries-data-endpoint-8f1dbc27","name":"lilambd Countries Data Endpoint","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/power/countries?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"country":{"type":"string","description":"ISO 3166-1 alpha-3 (empty = all)"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"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_EUO481H5d3baaQ7xBG501","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 records, optionally filtered by ISO 3166-1 alpha-3 country code, for all countries or a specific one.","exampleAgentPrompt":"Can you fetch the country data for Germany — use its ISO alpha-3 code DEU — and show me what comes back including the attribution source?","exampleUseCases":[{"title":"Lookup single country by ISO code","prompt":"Get me all the available data for Japan using its three-letter ISO country code JPN."},{"title":"List all countries in dataset","prompt":"Pull the full list of every country available from the lilambd countries endpoint and tell me how many records there are."},{"title":"Enrich pipeline with country reference data","prompt":"I need to enrich my dataset — can you fetch country info for Brazil (BRA) from lilambd and return the data along with the source attribution?"}],"resultDescription":"Returns a JSON object with a `data` array containing country records, a `count` integer indicating the number of results, and an `attribution` string crediting the data source licence. When a specific alpha-3 code is supplied, only that country's records are returned; omitting the code returns all countries.","failureModes":["Invalid or unrecognised ISO alpha-3 code returns empty data array with count 0","Payment not included or insufficient results in HTTP 402 response","Malformed query parameter may return an error or empty result","Country code provided in wrong format (e.g. alpha-2 instead of alpha-3) may yield no results"],"whenToPreferThis":"Choose this endpoint when you need structured country-level reference data keyed by ISO 3166-1 alpha-3 codes, especially when you want data with a clear attribution/licence line. Suitable for enriching datasets with country metadata or building country pickers. Not suited for geospatial coordinates, weather, or real-time country statistics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:08.002Z","isFirstParty":false,"canonicalSlug":"lilambd-countries-data-endpoint-8f1dbc27"}