# Lilambd Local Markets by Country

> Lilambd Local Markets by Country is a paid API for AI agents from api.lilambd.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-02).

Returns a paginated list of local markets filtered by country and optional locality

## Facts

- Endpoint: GET https://api.lilambd.com/local-markets/country?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-local-markets-by-country-185d5343
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1BCN6ZkLtjFCkde9jptYj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lilambd-local-markets-by-country-185d5343
```

Example prompt: Can you find me local markets in France, specifically around Paris? Show me up to 20 results.

## When to prefer this

Use this endpoint when you need a paginated, filterable list of local markets scoped to a specific country or locality. It is well-suited for travel apps, market research tools, or community discovery features where geographic filtering by country is the primary axis. Prefer this over broader search endpoints when you have a known country code or name and want structured market data with attribution.

## Known failure modes

- Missing required 'country' parameter returns a validation error
- Invalid or unrecognized country string may return empty data array with count 0
- Pagination offset beyond available results returns empty data array
- Payment not completed (x402) results in 402 Payment Required response
- Rate limiting or server errors may return 5xx responses

## How this service works

A crossing for play, feeling, language, science and computation — creating states that do not have names yet.

## Output

A JSON object containing an array of local market records matching the country and optional locality filter, a total count of results, and an attribution string citing the data source license.

## Request schema (JSON Schema)

```json
{
 "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": [
      "country"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "description": "limit (integer)"
      },
      "offset": {
       "type": "string",
       "description": "offset (integer)"
      },
      "country": {
       "type": "string",
       "description": "country (string)"
      },
      "locality": {
       "type": "string",
       "description": "locality (string)"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "count": 0,
  "attribution": "source licence line"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lilambd-local-markets-by-country-185d5343/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lilambd.com](https://www.zero.xyz/host/api.lilambd.com/llms.txt)
