GET
/
projects
/
analytics
curl --request GET \
  --url https://api.beyondwords.io/v1/projects/analytics \
  --header 'X-Api-Key: <api-key>'
[
  {
    "id": 1456,
    "title": "Project title",
    "listens": 29103,
    "avg_listen_time": 243,
    "avg_listen_duration": 86.52,
    "created": "2099-12-31 23:59:59 UTC"
  }
]

Authorizations

X-Api-Key
string
header
required

Query Parameters

media_variants[]
enum<string>[]

The media variants to fetch data for

Available options:
article,
summary
time_range[start]
string

The start date of the aggregation period. The value of this property should be a string in the format yyyy-mm-dd according to ISO 8601.

time_range[end]
string

The end date of the aggregation period. The value of this property should be a string in the format yyyy-mm-dd according to ISO 8601.

pagination[limit]
integer

'limit' sets the number of results to return in each page.

pagination[offset]
integer

'offset' sets the first position to return from the results of the query. The default is 0, which starts the page at the first result.

order[by]
enum<string>

This is used to order analytics by number of listens or average listen time or average listen duration

Available options:
listens,
avg_listen_time,
avg_listen_duration
order[dir]
enum<string>

This is used to order analytics in the ascending or descending order

Available options:
asc,
desc
filter[title]
string

Response

200 - application/json
OK
id
string
title
string
listens
integer
avg_listen_time
integer
avg_listen_duration
number
created
string