# lilambd Exchanges Search

> lilambd Exchanges Search 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).

Search a database of exchanges (markets, bourses, trading venues) by name, acronym, city, country, category, or status

## Facts

- Endpoint: GET https://api.lilambd.com/exchanges/search?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-exchanges-search-8f6dd8bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K-sYndwS-Y-z9mGKPP8lV

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-exchanges-search-8f6dd8bf
```

Example prompt: Search for active stock exchanges in Germany — give me up to 20 results.

## When to prefer this

Use this endpoint when you need to look up or enumerate financial exchanges, trading venues, or bourses by name, acronym, location, category, or status. It is well-suited for financial data pipelines, compliance checks, or agent workflows that need to validate or discover exchange metadata. Prefer this over general web search when structured, filterable exchange records with attribution are required.

## Known failure modes

- Empty data array if no exchanges match the query parameters
- Invalid country code returns no results or an error
- limit outside 1-200 range may be rejected or clamped
- Payment not provided or insufficient results in 402 response
- offset beyond total count returns empty data array

## 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 exchange records matching the query (data), the total count of matches, and an attribution string crediting the data source license. Individual records likely include fields such as exchange name, acronym, city, country, category, and status.

## 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": [],
     "properties": {
      "q": {
       "type": "string",
       "description": "Name, acronym or city"
      },
      "limit": {
       "type": "string",
       "description": "Max rows (1-200, default 50)"
      },
      "offset": {
       "type": "string",
       "description": "Rows to skip"
      },
      "status": {
       "type": "string",
       "description": "active | expired"
      },
      "country": {
       "type": "string",
       "description": "ISO 3166-1 alpha-2"
      },
      "category": {
       "type": "string",
       "description": "Market category code"
      }
     },
     "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-exchanges-search-8f6dd8bf/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)
