Skip to main content
GET
/
data
/
api
/
{metricNames}
Python
from datetime import date
from artemis import Artemis

client = Artemis()
response = client.fetch_metrics(
    metric_names="metricNames",
    api_key="APIKey",
    end_date=date.fromisoformat("2019-12-27"),
    start_date=date.fromisoformat("2019-12-27"),
    symbols="symbols",
)
print(response.data)
{
  "data": {
    "symbols": {
      "btc": {
        "price": [
          {
            "date": "2025-01-01",
            "val": 94384.176115387
          },
          {
            "date": "2025-01-02",
            "val": 96852.146812351
          }
        ],
        "mc": [
          {
            "date": "2025-01-01",
            "val": 1869193319140.24
          },
          {
            "date": "2025-01-02",
            "val": 1917905016063.62
          }
        ]
      },
      "eth": {
        "price": [
          {
            "date": "2025-01-01",
            "val": 3348.967247124
          },
          {
            "date": "2025-01-02",
            "val": 3448.140436961
          }
        ]
      }
    }
  }
}

Path Parameters

metricNames
string
required

Comma-separated list of metric names (e.g., "price,mc" or "dau")

Query Parameters

symbols
string
required

Comma-separated list of symbols (e.g., "BTC,ETH")

startDate
string<date>
required

Start date in YYYY-MM-DD format

endDate
string<date>
required

End date in YYYY-MM-DD format

summarize
boolean

When true, calculates percent change from startDate to endDate

APIKey
string
required

Your Artemis API key

Response

200 - application/json

Metric data for the requested symbols and date range

data
object
required