> ## 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 Taker Buy/Sell Coin

Get historical taker buy/sell volume data aggregated across exchanges for a specific coin. Returns time series data with aggregated buy/sell volume and USD values per interval. Ideal for: market-wide order flow analysis, cross-exchange sentiment, volume aggregation, trend detection.

![Get Spot Taker Buy/Sell Coin logo](https://ai-icon.b3.fun/logo/coinglass)
Catalog action Blockchain Data

Get historical taker buy/sell volume data aggregated across exchanges for a specific coin. Returns time series data with aggregated buy/sell volume and USD values per interval. Ideal for: market-wide order flow analysis, cross-exchange sentiment, volume aggregation, trend detection.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinglass-spot-get-taker-buy-sell-coin` |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinglass`, `spot`, `taker`, `buy`, `sell`, `volume`, `aggregated`, `history`, `read` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `exchangeList` | `string` | Yes | Comma-separated exchange names \(e.g., 'Binance,OKX,Bybit'\). |
| `symbol` | `string` | Yes | Coin symbol \(e.g., 'BTC', 'ETH'\). |
| `interval` | `string` | Yes | Time interval \(e.g., '1m', '5m', '15m', '30m', '1h', '4h', '12h', '1d'\). |
| `limit` | `number` | No | Number of data points to return \(default: 100\). |
| `startTime` | `number` | No | Start timestamp in milliseconds. |
| `endTime` | `number` | No | End timestamp in milliseconds. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `exchangeList` | `string` | Yes | Comma-separated exchange names |
| `symbol` | `string` | Yes | Coin symbol |
| `interval` | `string` | Yes | Time interval |
| `dataPoints` | `array` | Yes | Array of aggregated taker buy/sell volume data points |

## Examples

**Workflow node**

```json
{
  "type": "coinglass-spot-get-taker-buy-sell-coin",
  "payload": {
    "exchangeList": "example-exchangeList",
    "symbol": "ETH",
    "interval": "1m"
  },
  "children": []
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinglass-spot-get-taker-buy-sell-coin/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "exchangeList": "example-exchangeList",
    "symbol": "ETH",
    "interval": "1m"
  }
}'
```

**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.