Skip to main content
GET
/
v0
/
revenue_timeseries
Get per-event revenue and volume trend for a single wallet
curl --request GET \
  --url https://api.formo.so/v0/revenue_timeseries \
  --header 'Authorization: Bearer <token>'
{
  "meta": [
    {
      "name": "date",
      "type": "Date"
    },
    {
      "name": "event",
      "type": "String"
    },
    {
      "name": "page_path",
      "type": "String"
    },
    {
      "name": "referrer",
      "type": "String"
    },
    {
      "name": "utm_source",
      "type": "String"
    },
    {
      "name": "revenue",
      "type": "Float32"
    },
    {
      "name": "volume",
      "type": "Float32"
    }
  ],
  "data": [
    {
      "date": "2025-10-15",
      "event": "swap",
      "page_path": "/trade",
      "referrer": "google.com",
      "utm_source": "organic",
      "revenue": 215.3,
      "volume": 68000
    },
    {
      "date": "2025-10-15",
      "event": "stake",
      "page_path": "/earn",
      "referrer": "",
      "utm_source": "",
      "revenue": 42.1,
      "volume": 12500
    },
    {
      "date": "2025-10-16",
      "event": "swap",
      "page_path": "/trade",
      "referrer": "twitter.com",
      "utm_source": "twitter",
      "revenue": 318.75,
      "volume": 102400
    }
  ],
  "rows": 3,
  "rows_before_limit_at_least": 3
}

Documentation Index

Fetch the complete documentation index at: https://docs.formo.so/llms.txt

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

Wallet-scoped: address is required. For project-wide revenue trends, use revenue-overview instead.

Authorizations

Authorization
string
header
required

Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.

Query Parameters

address
string
required

Wallet address to scope the timeseries to. Required.

date_from
string<date>

Inclusive start date (YYYY-MM-DD). Defaults to 7 days before date_to.

date_to
string<date>

Inclusive end date (YYYY-MM-DD). Defaults to today.

Response

Per-event revenue/volume time-series for the requested wallet

Analytics endpoint response. The data array contains the rows; the exact row shape depends on the endpoint. meta carries column type information for rendering, rows is the row count, and statistics holds query timing metadata.

data
object[]
meta
object[]
rows
integer
rows_before_limit_at_least
integer
statistics
object