Browse developer documentation
Attriboo for developers
Attriboo developer documentation
Choose REST API, MCP or CLI to read revenue reports and build with Attriboo. Find every public REST operation, MCP tool and terminal command with inputs, outputs and examples.
https://www.attriboo.com/api/v1Every endpoint, authentication, pagination and cURL, JavaScript and Python examples.
MCPConnect an assistant and explore all 15 tools, arguments and tool-call examples.
CLIInstall the official CLI and find every command, flag, environment setting and example.
Start with the right access
Reports accept a workspace API key or an approved OAuth token. Server-side event, payment and crawler writes use a workspace key. Website creation, script retrieval and verification require OAuth setup permission from a workspace owner or admin.
REST API endpoint reference
Paths below are relative to the REST base URL. Each page explains the accepted credential and the exact response shape. Examples use illustrative values; replace example IDs with the IDs returned by your workspace.
Websites
| Endpoint | What it does |
|---|---|
GET/sites | Find real website IDs and currencies in the authorized workspace. |
POST/sites | Add a website, or reuse its existing domain, within the workspace's current plan. |
GET/sites/{site}/script | Retrieve an installation snippet for the actual website and its saved privacy choices. |
GET/sites/{site}/verification | Check whether Attriboo has received tracking activity for this website. |
Reports
| Endpoint | What it does |
|---|---|
GET/stats/overview | Read headline revenue, traffic, conversion and advertising metrics with comparison changes. |
GET/stats/timeseries | Read traffic and revenue over daily, weekly, monthly or quarterly buckets. |
GET/stats/sources | Compare recorded marketing sources and their attributed revenue. |
GET/stats/channels | Compare channel groups such as Organic Search, Paid Ads and AI Referral. |
GET/stats/campaigns | Read campaign revenue, recorded costs and return on ad spend. |
GET/stats/pages | Read landing-page visits, AI referrals, crawler activity and revenue credit. |
GET/stats/hostnames | Group visitors by the hostname where they first arrived. |
GET/stats/countries | Read countries audience counts, conversion and revenue. |
GET/stats/cities | Read cities audience counts, conversion and revenue. |
GET/stats/devices | Read devices audience counts, conversion and revenue. |
GET/stats/browsers | Read browsers audience counts, conversion and revenue. |
GET/stats/os | Read operating systems audience counts, conversion and revenue. |
GET/stats/goals | Read goal completion counts and the revenue of visitors who completed each goal. |
GET/stats/realtime | Read visitors active in the last five minutes. |
GET/stats/sales | Read recorded payments and refunds, newest first, with observed attribution details. |
GET/stats/funnels | Read independent standard stages, list saved definitions, or inspect an ordered saved funnel. |
GET/stats/ai-search | Keep crawler activity, referred human visitors and revenue credit separate for each AI engine. |
GET/stats/time-to-purchase | Group purchases by time since a preceding recorded entry visit. |
Data collection
| Endpoint | What it does |
|---|---|
POST/events | Record a named goal or identify an existing browser visitor from your server. |
POST/webhooks/payment | Send a normalized server-side payment with a stable provider transaction ID. |
POST/crawls | Report server-observed AI crawler requests as a batch of daily bot/page/status counts. |
Browser tracking
| Endpoint | What it does |
|---|---|
POST/collect | The standard tracker transport for pageviews, goals and identity calls. Prefer the official t.js installation. |
POST/cookieless | The c.js transport for a website already configured for aggregate measurement. |
POST/poll | The tracker transport for a post-checkout self-reported source answer. |
Public resources
| Endpoint | What it does |
|---|---|
GET/changelog | Read public release notes, newest first, without authentication. |
GET/integrations/wordpress-plugin | Download the current WordPress plugin as attriboo.zip. |
Find the supported integration path
The tracker and integration route inventory also explains dashboard-only endpoints and provider-managed callbacks. For ordinary website installation, follow the platform setup guides.
For applications, use the OAuth connection guide. For report exports and terminal workflows, use the complete CLI reference. No signup or payment-provider approval is performed silently by the API.