{"uid":"cap_ufJdHU7wauvOnJcVgOwID","slug":"lilambd-markets-countries-api-9838053e","name":"lilambd Markets Countries API","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/markets/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":{"kind":{"type":"string","description":"Market kind"},"sort":{"type":"string","description":"population | per_million (lowest first)"},"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)"},"min_population":{"type":"string","description":"Only countries above this population"}},"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_TFlTHIE4fZy5Ra-lqjgSR","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 market data, filterable by kind, population, and sort order","exampleAgentPrompt":"Can you pull the top 20 countries sorted by market presence per million population, only including countries with at least 1 million people?","exampleUseCases":[{"title":"Smallest per-capita market footprint","prompt":"Show me the 10 countries with the lowest market activity per million people — only include countries with a population above 5 million."},{"title":"Single country market snapshot","prompt":"What does the market data look like for Germany specifically? Pull the entry for DE from the countries market list."},{"title":"Full country market census","prompt":"Get me all countries with market data, up to 200 at a time, sorted by raw population — I want to build a ranked table."}],"resultDescription":"A JSON object with a 'data' array of country market records, a 'count' integer indicating total matching rows, and an 'attribution' string crediting the data source. Each record includes country identifiers and market metrics appropriate to the requested kind and sort.","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","Invalid sort value (not 'population' or 'per_million') may return an error","Invalid kind value returns empty or error response","Payment not included or insufficient USDC triggers 402 response"],"whenToPreferThis":"Use this endpoint when you need structured, paginated country-level market data with flexible filtering by population and per-capita metrics. Prefer this over a general geopolitical data API when you specifically need market-oriented country data with attribution included, and when per-million normalization is important for cross-country comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:42.982Z","isFirstParty":false,"canonicalSlug":"lilambd-markets-countries-api-9838053e"}