# lilambd Local Markets Lookup

> lilambd Local Markets Lookup 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).

Retrieves local market data for a given market ID, returning a list of items with attribution.

## Facts

- Endpoint: GET https://api.lilambd.com/local-markets/%7Bid%7D?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-lookup-df82cf1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qkqqoMI-4pEbUet2-oXVT

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-lookup-df82cf1e
```

Example prompt: Can you pull up the listings for local market ID 'market-42' and show me what's there along with the source attribution?

## When to prefer this

Use this endpoint when you need structured local market data for a specific known market ID and require source attribution alongside the results. It is especially useful when building applications that need to surface licensing information or when aggregating data from multiple local market sources.

## Known failure modes

- Invalid or unknown market ID returns an empty data array with count 0
- Missing required path parameter 'id' results in a 400-level error
- Payment not included or insufficient causes a 402 Payment Required response
- Server-side data unavailability may return an empty result without explicit error

## How this service works

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

## Output

Returns a JSON object with a 'data' array of market items, a 'count' integer indicating the total number of items, and an 'attribution' string containing the source license line.

## 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",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "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"
    }
   }
  }
 }
}
```

## 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-lookup-df82cf1e/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)
