{"uid":"cap_dLDUArAPo7HU4q0bfIzem","slug":"lilambd-regions-lookup-8f04e907","name":"lilambd Regions Lookup","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/regions/%7Biso3166_2%7D?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["iso3166_2"],"properties":{"iso3166_2":{"type":"string"}}},"queryParams":{"type":"object","required":[],"properties":{},"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_GG9w2D0bi-AfGFsCDdFI5","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":"Retrieves data records for a geographic region identified by an ISO 3166-2 subdivision code","exampleAgentPrompt":"Pull the lilambd data for the region with ISO 3166-2 code US-CA and show me the records and count.","exampleUseCases":[{"title":"Regional data pull for a US state","prompt":"Fetch all the lilambd records for California — its ISO code is US-CA — and tell me how many entries come back and where they're sourced from."},{"title":"European subdivision data lookup","prompt":"I need the lilambd data for Bavaria, Germany — that's DE-BY — including the attribution line so I know the source licence."},{"title":"Canadian province data retrieval","prompt":"Can you grab the lilambd data for Ontario, Canada (ISO code CA-ON) and show me the full list of records returned?"}],"resultDescription":"Returns a JSON object with a 'data' array containing records for the requested region, a 'count' integer indicating how many records were returned, and an 'attribution' string with source licence information.","failureModes":["Invalid or unsupported ISO 3166-2 code returns an empty data array with count 0","Malformed path parameter may result in a 4xx HTTP error","Payment failure (x402) if USDC is not supplied or insufficient, blocking the response","Region with no data returns count 0 and empty array rather than an error"],"whenToPreferThis":"Use this endpoint when you need structured data keyed by a specific ISO 3166-2 administrative subdivision code (e.g. US-CA, DE-BY, CA-ON). It is best suited for per-region lookups rather than country-level or global queries. Choose this over generic geocoding endpoints when you already have a subdivision code and need lilambd's curated regional dataset with attribution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:51.110Z","isFirstParty":false,"canonicalSlug":"lilambd-regions-lookup-8f04e907"}