Skip to main content
GET
/
v1
/
accounts
/
{accountId}
/
links
/
{linkId}
/
sources
/
{sourceId}
/
stats
Fetch link source by ID
curl --request GET \
  --url https://api.sakari.io/v1/accounts/{accountId}/links/{linkId}/sources/{sourceId}/stats \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "pagination": {
    "limit": 123,
    "offset": 123,
    "hasNext": true
  },
  "data": [
    {
      "date": "2023-11-07T05:31:56Z",
      "value": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
string
required

Account to apply operations to

ID of link to return

sourceId
string
required

Source to analyse

Response

200 - application/json

successful operation

data
object[]
required
success
boolean
required
pagination
object
required