URL for a request
Method
GET
Incoming Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| date_from | string | No | Date from [Y-m-d] |
| date_to | string | No | Date to [Y-m-d] |
| link_id | int | No | Link ID |
Return values
The server returns a response in JSON format. The list of parameters depends on the server response code:
Request example
curl 'https://firelinks.cc/api/out/stat/days?api_token=W9DtD7JtyHI7nPj8eEWul2pVkcobE62IHaHi3n8ClQdogBGZe6n70fIgTH3u'
Response example 200
{
"success": true,
"data": [
{
"date": "2022-07-16",
"clicks": 100,
"visits": 100,
"bot_clicks": 0,
"bot_proc": 0,
"pay_clicks": 0,
"money": 0,
"quality": 0,
"clicks_out": 100,
"uniq_proc": 100,
"out_proc": 100,
"click_proc": 100
}
]
}
Response example 422
{
"success": false,
"errors": "Validation errors",
"data": {
"date_from": [
"The date from field is not a date."
]
}
}