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

client = Artemis()
response = client.fetch_metrics(
    metric_names="PRICE",
    api_key=os.environ["ARTEMIS_API_KEY"],
    symbols="btc,eq-coin,eq-nvda",
    start_date=date(2026, 1, 1),
    end_date=date(2026, 2, 1),
)
print(response.data)
{
  "data": {
    "symbols": {
      "btc": {
        "PRICE": [
          {
            "date": "2026-01-01",
            "val": 88727.670042497
          },
          {
            "date": "2026-01-02",
            "val": 89926.279249534
          },
          {
            "date": "2026-01-03",
            "val": 90593.854431804
          }
        ]
      },
      "eq-coin": {
        "PRICE": [
          {
            "date": "2026-01-01",
            "val": 226.14
          },
          {
            "date": "2026-01-02",
            "val": 236.53
          },
          {
            "date": "2026-01-03",
            "val": 236.53
          }
        ]
      },
      "eq-nvda": {
        "PRICE": [
          {
            "date": "2026-01-01",
            "val": 186.5
          },
          {
            "date": "2026-01-02",
            "val": 188.85
          },
          {
            "date": "2026-01-03",
            "val": 188.85
          }
        ]
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://artemis.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

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. Accepts crypto symbols (e.g., btc, eth) and equity symbols prefixed with eq- (e.g., eq-coin, eq-nvda).

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

granularity
enum<string>
default:DAY

Time-bucket granularity for returned series.

Available options:
DAY,
WEEK,
MONTH,
QUARTER,
YEAR
limit
integer

Maximum number of data points to return (1–1000).

Required range: 1 <= x <= 1000
APIKey
string
required

Your Artemis API key

Response

200 - application/json

Metric data for the requested symbols and date range

data
object
required