> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Spot Pairs Markets

Get spot market data for trading pairs of a specific coin across exchanges. Returns pair details including price, 24h volume, and buy/sell breakdown per exchange. Ideal for: cross-exchange comparison, arbitrage detection, exchange volume analysis, pair selection.

![Get Spot Pairs Markets logo](https://ai-icon.b3.fun/logo/coinglass)
Catalog action Blockchain Data

Get spot market data for trading pairs of a specific coin across exchanges. Returns pair details including price, 24h volume, and buy/sell breakdown per exchange. Ideal for: cross-exchange comparison, arbitrage detection, exchange volume analysis, pair selection.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinglass-spot-get-pairs-markets` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinglass`, `spot`, `pairs`, `market`, `volume`, `exchange`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | `string` | Yes | Coin symbol to get trading pairs for \(e.g., 'BTC', 'ETH'\). |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pairs` | `array` | Yes | Array of spot trading pair market data |

## Examples

**Workflow node**

```json
{
  "type": "coinglass-spot-get-pairs-markets",
  "payload": {
    "symbol": "ETH"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinglass-spot-get-pairs-markets/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "symbol": "ETH"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.