Get Moving Average (MA) Indicator
Get Moving Average indicator data for a specific exchange and trading pair. Returns time-series MA values for trend analysis. Ideal for: trend identification, support/resistance levels, crossover signal detection.
Catalog action Blockchain Data
Get Moving Average indicator data for a specific exchange and trading pair. Returns time-series MA values for trend analysis. Ideal for: trend identification, support/resistance levels, crossover signal detection.
At a Glance
| Field | Value |
|---|---|
| Action ID | coinglass-indicator-get-ma |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coinglass, indicator, technical-analysis, futures, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchange | string | Yes | Futures exchange name (e.g., 'Binance', 'OKX', 'Bybit'). Use the supported-exchange-pair API to get valid exchanges. |
symbol | string | Yes | Trading pair symbol (e.g., 'BTCUSDT', 'ETHUSDT'). Check supported pairs via the supported-exchange-pair API. |
interval | string | Yes | Time interval for data points (e.g., '1h', '4h', '12h', '1d'). |
startTime | number | No | Start timestamp in milliseconds (e.g., 1641522717000). |
endTime | number | No | End timestamp in milliseconds (e.g., 1641522717000). |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
exchange | string | Yes | Exchange name. |
symbol | string | Yes | Trading pair symbol. |
interval | string | Yes | Time interval used. |
dataPoints | array | Yes | Array of Moving Average data points |
Examples
json{ "type": "coinglass-indicator-get-ma", "payload": { "exchange": "example-exchange", "symbol": "ETH", "interval": "example-interval" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/coinglass-indicator-get-ma/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "exchange": "example-exchange", "symbol": "ETH", "interval": "example-interval" }}'
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.
