api_v3_direct_link_stats
Direct link stats
Returns direct link statistics for the given period. Grouped by direct link by default; optionally by country.
get/api/v3/direct-links/stats
Request
- Base URL: https://api.richads.com (the document declares no server; this is the origin it was published from)
- URL: https://api.richads.com/api/v3/direct-links/stats
- Auth: HTTP bearer
Query parameters
date_fromstring date required
Example:2025-01-01
Start date (YYYY-MM-DD). Date range cannot exceed one month.
date_tostring date required
Example:2025-01-07
End date (YYYY-MM-DD). date_to must be >= date_from; range cannot exceed one month.
group_bystring
Example:direct_link,country
Comma-separated groupings: direct_link, country. Defaults to direct_link.
direct_link_idinteger
Example:42
Filter by direct link ID
Response
Stats
Example response
{
"data": [
{
"direct_link_id": 42,
"country": "USA",
"impressions": 12000,
"accepted_clicks": 340,
"conversions": 12,
"CR": 3.53,
"EPC": 0.1344,
"publisher_profit": 45.67
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.