Skip to main content
GET
/
insights
/
decline-streaks
Python
from artemis import Artemis

client = Artemis()
response = client.insights.list_decline_streaks()

# The 5 most recent decline streaks:
for card in response.rows[:5]:
    cadence = card.flag.split("_")[-1]
    drop_pct = (1 - card.end_value / card.start_value) * 100 if card.start_value else 0
    print(
        f"{card.entity_id} {card.metric_name}: "
        f"{card.duration} consecutive {cadence} periods of decline "
        f"(-{drop_pct:.1f}% over {card.date_range})"
    )
{
  "rows": [
    {
      "DOMAIN": "protocol",
      "ENTITY_ID": "optimism",
      "METRIC_NAME": "DAILY_TXNS",
      "FLAG": "decline_streak_weekly",
      "UNIT": "NOMINAL",
      "METRIC_TYPE": "flow",
      "DURATION": 5,
      "DATE_RANGE": "2026-04-08 to 2026-05-12",
      "START_VALUE": 1480000,
      "END_VALUE": 920000,
      "PERIOD_START_DATE": "2026-04-08",
      "PERIOD_END_DATE": "2026-05-12",
      "FISCAL_YEAR_END": null,
      "FISCAL_PERIOD_END": null,
      "LATEST_REPORT_DATE": null,
      "SPARKLINE": [
        {
          "date": "2026-04-01",
          "value": 1620000
        },
        {
          "date": "2026-04-08",
          "value": 1480000
        },
        {
          "date": "2026-04-15",
          "value": 1340000
        }
      ]
    }
  ]
}

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.

Response

200 - application/json

A feed of decline-streak insight cards.

rows
object[]
required