Skip to main content
GET
/
v1
/
analytics
/
referrer
/
performance
Get referrer performance
curl --request GET \
  --url https://api.oneofnone.io/v1/analytics/referrer/performance \
  --header 'x-api-key: <api-key>'
{
  "meta": [
    {
      "name": "<string>",
      "type": "<string>"
    }
  ],
  "data": [
    {
      "referrer": "<string>",
      "pageviews": 1,
      "sessions": 1,
      "unique_visitors": 1,
      "registrations": 1,
      "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.

device
enum<string>

Filter by device type.

Available options:
mobile,
tablet,
desktop,
all
country_code
string

Filter by country code.

limit
integer

Number of results per page.

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

Offset for pagination.

Required range: x >= 0

Response

Successfully retrieved referrer performance data.

Tinybird response envelope for referrer/performance.

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

Query execution statistics returned in every Tinybird API response.