BioFlow
API Reference

Get analytics summary

GET /v1/analytics/summary — Workspace analytics for the last 7/30/90 days: views, clicks, unique visitors, CTR, top links, top referrers, and tip revenue.

GET
/v1/analytics/summary

Workspace analytics for the last 7/30/90 days: views, clicks, unique visitors, CTR, top links, top referrers, and tip revenue.

Requires scope: analytics:read. Plan entitlement: public_api (Creator and Pro).

Authorization

AuthorizationBearer <token>

API key (bf_live_… / bf_test_…) as a Bearer token.

In: header

Query Parameters

range_days?integer
Range-9007199254740991 <= value <= 9007199254740991
Default30

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/analytics/summary"
{  "range_days": -9007199254740991,  "totals": {    "views": -9007199254740991,    "clicks": -9007199254740991,    "unique_visitors": -9007199254740991,    "ctr_percent": 0  },  "top_links": [    {      "label": "string",      "url": "string",      "clicks": -9007199254740991,      "page_title": "string"    }  ],  "top_referrers": [    {      "label": "string",      "views": -9007199254740991    }  ],  "tips": {    "count": -9007199254740991,    "total_gross_cents": -9007199254740991,    "refunded_count": -9007199254740991,    "unique_fans": -9007199254740991,    "currency": "string"  }}