# lilambd Markets Endpoint — GET Market by ID

> lilambd Markets Endpoint — GET Market by ID is a paid API for AI agents from api.lilambd.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-02).

Retrieves market data for a specific market ID from the lilambd platform, which blends play, language, feeling, and computation.

## Facts

- Endpoint: GET https://api.lilambd.com/markets/%7Bid%7D?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lilambd-markets-endpoint-get-market-by-id-18a182eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F1grYiDK0ODNK0jaNI43E

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-markets-endpoint-get-market-by-id-18a182eb
```

Example prompt: Can you pull up the market data for ID 'mkt_42' on lilambd and tell me what's in it?

## When to prefer this

Use this endpoint when you need to retrieve structured market data for a known market ID from the lilambd platform, especially when the attribution/license metadata matters. Prefer this over generic data APIs when operating within the lilambd ecosystem of play, language, and computation-oriented markets.

## Known failure modes

- Invalid or unknown market ID returns empty data array with count 0
- Missing required path parameter `id` results in a routing error
- Network or payment failure (x402 micropayment not processed) prevents access
- Rate limiting or quota exceeded may return an error response
- Malformed query parameters may yield unexpected empty results

## 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 a `data` array with market records, a `count` integer indicating the number of results, and an `attribution` string describing the source license for the data.

## 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-markets-endpoint-get-market-by-id-18a182eb/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)
