For developers and data teams
Every affiliate network, one API
Stop writing a client for each network API. Read every sale, click and payout in one shape, and get a webhook for each change. Make your first call in 5 minutes, with no network account.
Free for 14 days. No card needed. Cancel any time.
Request
curl -g "https://api.afffast.com/v1/stats?group_by=network\
&date[gte]=2026-11-01&date[lte]=2026-11-30" \
-H "Authorization: Bearer $AFFFAST_API_KEY"Response · sample data
{
"object": "stats",
"group_by": ["network"],
"currency": "EUR",
"rows": [
{
"keys": { "network": "awin" },
"conversions": 88,
"commission": "1204.10"
},
{
"keys": { "network": "adtraction" },
"conversions": 61,
"commission": "862.40"
},
...
]
}GET /v1/stats
01 / How it works
Three steps to your data.
- 1
Make a test key
Make an API key in the dashboard. A test key starts with sk_test_ and reads test data only.
- 2
Connect the Sandbox Network
It makes fake sales and clicks, and it needs no credentials. Call the API and see the data.
- 3
Go live
Connect a real network and use a live key. The same calls read live data. Add a webhook endpoint for events.
Free for 14 days. No card needed. Cancel any time.
02 / What you get
What matters to you.
An API with clear rules
Prefixed IDs, cursor pagination, an Idempotency-Key header, a dated Api-Version header, rate-limit headers and typed errors.
Signed webhooks
Get an event when a sale arrives or changes. Each request follows the Standard Webhooks signature.
MCP server
Each API operation is a tool for your AI client. The key decides what the client can read and write.
Test mode and the Sandbox Network
Build against fake data with a test key. Test data is never counted or billed. Test helpers make conversions on demand.
BigQuery and Google Sheets
Send each change of a conversion, a payout and a program to BigQuery. Or send them to a sheet.
CSV export that streams
Send Accept: text/csv to get all matching conversions or stats rows. The file streams from the database, so a large export needs little memory.
03 / The API
Real calls, real data.
The paths and the parameters below are in the API reference. Use a test key to try them.
Revenue by page, one month
curl -g "https://api.afffast.com/v1/stats?group_by=page\
&date[gte]=2026-11-01&date[lte]=2026-11-30" \
-H "Authorization: Bearer $AFFFAST_API_KEY"All conversions as a CSV file
curl -g "https://api.afffast.com/v1/conversions?bom=true" \
-H "Accept: text/csv" \
-H "Authorization: Bearer $AFFFAST_API_KEY" \
-o conversions.csvPlans from €15 a month.
Every plan has the API, webhooks and MCP. Start with a free trial of 14-day.
See the plansQuestions
Questions that you may have.
Is there a free plan for the API?
No. AffFast has no free plan. Every plan has the API, webhooks and MCP. Test mode is free and needs no plan. Each user also gets one trial of 14-day.
How do I check the signature of a webhook?
Each request follows the Standard Webhooks specification. Use a Standard Webhooks library, or the code in the docs. The webhook-signature header holds an HMAC-SHA256 signature of the ID, the time and the body.
Can I test without a real network account?
Yes. Use a test key and connect the Sandbox Network. It makes fake programs, clicks and conversions, and it needs no credentials. A test key can also make test conversions with POST /v1/test/conversions.
How do I use it with my AI tools?
The API has a hosted MCP server. Claude, ChatGPT, VS Code and Cursor connect with a sign-in. A script or another client can use an API key. A read-only key gets no write tools, and a test key reads test data only.
How large can a CSV export be?
A CSV export streams from the database. It starts at once and needs little memory, also for a large export. Use the filters of the endpoint to narrow it.
Will the API change under my code?
The URL has a major version, /v1. You can set a dated version with the Api-Version header. The changelog lists each dated version.
Build on one API.
Start with a test key and the Sandbox Network.
Free for 14 days. No card needed. Cancel any time.

