Skip to main content
GET
/
v1
/
crypto
/
market-metrics
Get Crypto Market Metrics Time Series Data
curl --request GET \
  --url https://data-tools.prd.arrays.org/api/v1/crypto/market-metrics \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "symbol": "AAPL",
      "type": "MA_20",
      "values": [
        {
          "date": "2024-01-01 12:00:00",
          "metric_component": "UPPER",
          "observed_at": 1672531200,
          "value": 150.25
        }
      ]
    }
  ],
  "error": {
    "code": "RESOURCE_NOT_FOUND",
    "details": [
      {
        "field": "<string>",
        "got": "<string>",
        "reason": "<string>"
      }
    ],
    "docs_url": "<string>",
    "examples": [
      "<string>"
    ],
    "hint": "<string>",
    "message": "The requested resource was not found.",
    "suggestions": [
      "<string>"
    ]
  },
  "pagination": "<unknown>",
  "request_id": "<string>",
  "success": true
}

Authorizations

X-API-Key
string
header
required

API Key authentication. Example: "your-api-key-here"

Query Parameters

interval
enum<string>
required

Time interval

Available options:
1d,
1w,
1m
indicator
string
required

Indicator type (e.g., MA_20, PRICE_CHANGE_1d, MARKET_CAP, FDV)

symbol
string

Token symbol (optional, e.g., BTC, ETH, SOL)

start_time
integer<int64>
required

Start time (Unix timestamp in seconds)

end_time
integer<int64>
required

End time (Unix timestamp in seconds)

Response

Successfully retrieved crypto market metrics data

data
object[]
error
object
pagination
any
request_id
string
success
boolean