# Read-only DEX — 0x — List chains where the Swap API is supported

Get 0x — List chains where Swap is data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, configure supported query parameters and filters, and retrieve structured data including chain identifier, returned chain name field, and returned zid field for application integration and result review, and integration reference.

Documentation: https://openany.si/blockrun/blockrun-read-only-dex-0x-list-chains-where-the-swap-api-is-supported/7398483b-9550-42f1-8533-8bd4180bb4e0/
API ID: 7398483b-9550-42f1-8533-8bd4180bb4e0
Provider: blockrun
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/api/v1/zerox/swap/chains
Page update time: 2026-12-03T02:49:51.705Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:50.969Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockrun 0x — List chains where the Swap is supported API

List chains where the Swap API is supported with the BlockRun API. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Application integration and result review**: Keep the request context attached to available returned results.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `chains[].chainId` | Chain identifier |
| `chains[].chainName` | Returned chain name field |
| `zid` | Returned zid field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Read-only DEX — 0x — List chains where the Swap API is supported request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "chains": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "chainId": {
            "type": "integer"
          },
          "chainName": {
            "type": "string"
          }
        }
      }
    },
    "zid": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/api/v1/zerox/swap/chains' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "chains": [
    {
      "chainId": 1,
      "chainName": "Ethereum"
    },
    {
      "chainId": 10,
      "chainName": "Optimism"
    },
    {
      "chainId": 56,
      "chainName": "BSC"
    },
    {
      "chainId": 137,
      "chainName": "Polygon"
    },
    {
      "chainId": 8453,
      "chainName": "Base"
    },
    {
      "chainId": 42161,
      "chainName": "Arbitrum"
    },
    {
      "chainId": 43114,
      "chainName": "Avalanche"
    },
    {
      "chainId": 59144,
      "chainName": "Linea"
    },
    {
      "chainId": 534352,
      "chainName": "Scroll"
    },
    {
      "chainId": 5000,
      "chainName": "Mantle"
    },
    {
      "chainId": 480,
      "chainName": "Worldchain"
    },
    {
      "chainId": 130,
      "chainName": "Unichain"
    },
    {
      "chainId": 80094,
      "chainName": "Berachain"
    },
    {
      "chainId": 57073,
      "chainName": "Ink"
    },
    {
      "chainId": 9745,
      "chainName": "Plasma"
    },
    {
      "chainId": 143,
      "chainName": "Monad"
    },
    {
      "chainId": 146,
      "chainName": "Sonic"
    },
    {
      "chainId": 2741,
      "chainName": "Abstract"
    },
    {
      "chainId": 999,
      "chainName": "HyperEvm"
    },
    {
      "chainId": 4217,
      "chainName": "Tempo"
    },
    {
      "chainId": 4663,
      "chainName": "Robinhood"
    },
    {
      "chainId": 5042,
      "chainName": "Arc"
    }
  ],
  "zid": "0xf7d0d680f37f5f5935b0e32c"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- blockrun: https://openany.si/blockrun/blockrun-read-only-dex-0x-list-chains-where-the-swap-api-is-supported/7398483b-9550-42f1-8533-8bd4180bb4e0/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
