# lilambd Local Markets Near Me

> lilambd Local Markets Near Me 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 nearby local markets given a geographic coordinate, with optional filters for locality type, radius, and pagination.

## Facts

- Endpoint: GET https://api.lilambd.com/local-markets/near?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-near-me-8526f5b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YD21ud-S83-K2OhhIO6hx

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-near-me-8526f5b9
```

Example prompt: Find local markets within 20 km of latitude 48.8566, longitude 2.3522 — show me up to 10 results from city and regional localities.

## When to prefer this

Use this endpoint when you need to discover local or community markets near a specific geographic point, especially when filtering by locality type (big city, city, regional, remote) or radius. Prefer it over general business-search APIs when the specific focus on local markets and community commerce is needed.

## Known failure modes

- Missing lat or lon parameters returns a 400 or validation error
- Invalid non-numeric lat/lon strings cause parsing errors
- No markets found within radius returns empty data array with count 0
- Very large radius or limit values may return slow or truncated responses
- Invalid locality enum values may be silently ignored or cause errors

## 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 nearby local market records, a total count of matching results, and an attribution string citing the data source licence.

## 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": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "lat (number)"
      },
      "lon": {
       "type": "string",
       "description": "lon (number)"
      },
      "limit": {
       "type": "string",
       "description": "limit (integer)"
      },
      "offset": {
       "type": "string",
       "description": "offset (integer)"
      },
      "locality": {
       "type": "string",
       "description": "comma list of big_city, city, regional, remote"
      },
      "radius_km": {
       "type": "string",
       "description": "radius_km (number)"
      }
     },
     "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-near-me-8526f5b9/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)
