{"uid":"cap_hZPZJN_0y4ZGMn8Es6Vws","slug":"lilambd-countries-lookup-111eee01","name":"lilambd Countries Lookup","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/orgs/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":{"form":{"type":"string","description":"Form"},"kind":{"type":"string","description":"Kind"},"sort":{"type":"string","description":"population | per_million"},"limit":{"type":"string","description":"Max rows (1-200, default 50)"},"offset":{"type":"string","description":"Rows to skip"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 (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_QA06sriom0Y9IIV-LBXFe","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 a paginated list of countries with optional filtering by country code, form, kind, and sorting by population metrics","exampleAgentPrompt":"Can you pull a list of the top 20 countries sorted by population from the lilambd countries API?","exampleUseCases":[{"title":"Rank countries by population density","prompt":"Get me the top 50 countries sorted by population per million from lilambd's countries endpoint."},{"title":"Look up a single country profile","prompt":"Fetch country data for Germany — ISO code DE — from the lilambd countries API."},{"title":"Paginate through all world countries","prompt":"I need to browse all countries in pages of 100 — start from the first 100 using the lilambd countries lookup."}],"resultDescription":"A JSON object containing a 'data' array of country records, a 'count' integer indicating total matching records, and an 'attribution' string with the source license line.","failureModes":["Invalid ISO 3166-1 alpha-2 country code returns empty data array","Limit out of range (outside 1-200) may return an error or be clamped","Unknown sort values may return unsorted or error results","No matching records returns data:[] with count:0"],"whenToPreferThis":"Use this endpoint when you need structured, paginated country reference data with flexible filtering by ISO code, form, or kind, and sorting by population metrics. Prefer it over static datasets when you need attribution-aware, pay-per-call freshness via the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:08.005Z","isFirstParty":false,"canonicalSlug":"lilambd-countries-lookup-111eee01"}