Retrieve Campaign Stats
Changed onRetrieve statistics for a specific campaign over a defined time period. Use frequency, start_period, and end_period to control how the campaign performance data is grouped and returned.
:::info Requires the campaigns:read OAuth2 scope. :::
Request
- Base URLhttps://api.leadfeeder.com
- URLhttps://api.leadfeeder.com/v1/campaigns/{id}/stats
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.leadfeeder.com/v1/oauth/authorizeToken URL: https://api.leadfeeder.com/v1/oauth/token scopes: campaigns:read
Path parameters
The campaign ID.
Query parameters
The Leadfeeder Account ID. The Account ID can be retrieved using the List Accounts endpoint.
Bucket granularity for the returned stats series.
Inclusive start of the reporting window (ISO 8601 calendar date, YYYY-MM-DD). Must be on or before end_period.
Inclusive end of the reporting window (ISO 8601 calendar date, YYYY-MM-DD). Must be on or after start_period.
Page of results to fetch.
The number of items per page. Maximum is 100.
Response
Success
Example response
{
"data": [
{
"attributes": {
"currency": "EUR",
"date": "2026-04-15",
"ecpm": 12340,
"ecpv": 53.65,
"impressions": 100,
"influenced_count": 1,
"reached_count": 1,
"total_cost": 1234,
"visits": 23,
"vtr": 23
},
"id": "MTIzNHwyMDI2LTA0LTE1fDIwMjYtMDQtMTU=",
"type": "campaign_stats"
}
],
"meta": {
"pagination": {
"page_count": 1,
"page_num": 1,
"total_count": 1
},
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info