Skip to content
AchaduDevelopers
Operational APIGo to website
Dashboard
Developers/API/analytics_funnel
Analytics

Analyze funnel

Groups impression, click, intent, purchase and commission by period.

GET/analytics/funnelanalytics:read
BEHAVIOR

The read respects the filters and returns only resources visible to the account linked to the key.

EFFECT

Does not change resources or trigger publication.

REPETITION

The operation is safe to repeat. On 429 or 5xx, use exponential backoff with jitter.

Request

daysinteger · queryAnalysis window in days.min 1 · max 365 · default 30optional
AuthorizationBearer ach_live_...
Acceptapplication/json
Scopeanalytics:read

Executable example

curl
curl 'https://achadu.com/api/v1/analytics/funnel' \
  -H 'Authorization: Bearer ach_live_...' \
  -H 'Accept: application/json'

Response and errors

Every response includes request_id. Lists add pagination; mutable resources return the persisted state after the operation.

200 application/json
{
  "data": {
    "period_days": 30,
    "offers": 184,
    "publications": 1238,
    "clicks": 4921,
    "commissions": [
      {
        "currency": "BRL",
        "total": 1842.55,
        "count": 93
      }
    ]
  },
  "request_id": "req_01J..."
}
200Operation completed.
400Invalid parameter, body or transition.
401Missing, invalid, expired or revoked key.
402The account plan does not release this interface.
403A chave precisa do escopo analytics:read.
404Feature does not exist in this account.
409The current state prevents this operation.
413The JSON body exceeds 128 KB.
429The 120 requests per minute window has been exceeded.