Skip to main content
GET
/
v1
/
analytics
/
tokens
Get token-level analytics
curl --request GET \
  --url https://api.oneofnone.io/v1/analytics/tokens \
  --header 'x-api-key: <api-key>'
{
  "meta": [
    {
      "name": "<string>",
      "type": "<string>"
    }
  ],
  "data": [
    {
      "token_id": "<string>",
      "collection_id": "<string>",
      "total_taps": 1,
      "unique_tap_users": 1,
      "total_registrations": 1,
      "unique_reg_users": 1,
      "avg_registration_time": 123,
      "conversion_rate": 123
    }
  ],
  "rows": 123,
  "statistics": {
    "elapsed": 123,
    "rows_read": 123,
    "bytes_read": 123
  }
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Query Parameters

collection_id
string<uuid>

Filter by collection ID.

collection_slug
string

Filter by collection slug.

date_from
string<date>

Start date in ISO 8601 format.

date_to
string<date>

End date in ISO 8601 format.

token_id
string

Filter by a specific token ID.

order
enum<string>

Sort order.

Available options:
asc,
desc
order_by
string

Field to sort by.

limit
integer

Number of results per page.

Required range: 1 <= x <= 1000
offset
integer

Offset for pagination.

Required range: x >= 0

Response

Successfully retrieved token-level analytics.

Tinybird response envelope for tokens/analytics.

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

Query execution statistics returned in every Tinybird API response.