## Documentation Index

Fetch the complete documentation index at: [/llms.txt](https://docs.relay.link/llms.txt)

Use this file to discover all available pages before exploring further.

### cURL

```bash
curl --request GET \
  --url https://api.relay.link/chains/liquidity
```

```javascript
const options = {method: 'GET'};

fetch('https://api.relay.link/chains/liquidity', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

```python
import requests

url = "https://api.relay.link/chains/liquidity"

response = requests.get(url)

print(response.text)
```

### Response Structure

200

```json
{
  "liquidity": [
    {
      "chainId": 123,
      "currencyId": "<string>",
      "symbol": "<string>",
      "address": "<string>",
      "decimals": 123,
      "balance": "<string>",
      "amountUsd": "<string>"
    }
  ]
}
```

### Headers

#### x-api-key
- Type: string  
- Optional API key for authentication and higher rate limits.

### Query Parameters

#### chainId
- Type: number  
- Required

### Response

200 - application/json

**Default Response**  
`liquidity`: object[]  
Solver balances per currency on the requested chain
