Summary
Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.
Guided setup
Connect Awin to Claude, ChatGPT or Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Awin in the guided setup, then add your MCP URL to your AI assistant. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Awin
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Awin, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Awin
Awin affiliate network API for publishers and advertisers: accounts, programmes and commission groups, transactions and transaction queries, offers and vouchers, tracking links, and advertiser, publisher, campaign and creative performance reports. Validating transactions installed switched off. API token.
Setup
Setting up takes about 2 minutes.
- Sign in at https://ui.awin.com with a user that has admin access to the publisher or advertiser account (publishers: Account, User Permissions; advertisers: Account, Account Permissions).
- Open API Credentials in the user menu (top right) or go to https://ui.awin.com/awin-api, enter your password and click Show my API token.
- Copy the token into
AWIN_API_TOKEN.
The token belongs to your user, not to one account: it reaches every publisher and advertiser account your user can open. Advertiser APIs are only available on the Awin Accelerate and Advanced plans. A new or removed account access takes up to 10 minutes to reach the API.
Where to start: awin_list_accounts lists your accounts. Pass the accountId of a publisher account as publisher_id, of an advertiser account as advertiser_id. Publishers then use awin_list_programmes (relationship joined) and awin_list_publisher_transactions; advertisers use awin_list_advertiser_transactions and awin_get_publisher_performance_report.
Publishers: programmes with awin_list_programmes, awin_get_programme_details (EPC, conversion and approval rate, validation days, commission range) and awin_list_commission_groups. Sales with awin_list_publisher_transactions, awin_get_publisher_transactions (by id) and awin_list_transaction_queries. Reports: awin_get_advertiser_performance_report, awin_get_publisher_campaign_report, awin_get_publisher_creative_report (all need a region). Offers and vouchers: awin_list_offers. Links: awin_generate_tracking_link (pass clickref to recognise the sale later) and awin_get_link_builder_quota.
Advertisers: awin_list_advertiser_transactions, awin_get_advertiser_transactions, awin_get_publisher_performance_report, awin_get_advertiser_campaign_report, awin_list_publishers and awin_list_validation_jobs.
Validating transactions (installed switched off): awin_validate_transactions approves, declines or amends sales. Approving releases commission that the advertiser pays, so turn it on only for workspaces that run validation, and confirm every batch with the user. It answers a job id; awin_list_validation_jobs shows the result.
Dates and limits: transaction lists take yyyy-MM-ddThh:mm:ss (no time zone suffix) plus timezone, and at most 31 days per call: split longer periods. Reports take YYYY-MM-DD. commissionStatus is pending until the advertiser validates, then approved or declined; approved commission is paid out later. Awin allows 20 calls per minute per user: avoid loops over many accounts or days. Ids are numbers; several ids in one filter are comma-separated.
Prerequisites: AWIN_API_TOKEN
Install the connector locally
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Open http://localhost:3000/connectors/store, pick Awin and paste in the env vars listed under Prerequisites.
Available tools
| Tool | What it does |
|---|---|
awin_list_accounts | List the Awin accounts your user can reach with this token: accountId, accountName (programme name for an advertiser, company name for a… |
awin_list_programmes | Publisher: list advertiser programmes with your relationship to them: id (advertiser id), name, description, displayUrl, clickThroughUrl… |
awin_get_programme_details | Publisher: one programme's details and KPIs: programmeInfo (name, description, deeplinkEnabled, membershipStatus, validDomains), kpi… |
awin_list_commission_groups | Publisher: the commission groups of one programme you are joined to, with what you earn in each: groupId, groupCode, groupName, type… |
awin_list_publisher_transactions | Publisher: transactions (sales and leads) in a date range of at most 31 days: id, advertiserId, commissionStatus (pending, approved… |
awin_get_publisher_transactions | Publisher: read transactions by their Awin ids (same fields as awin_list_publisher_transactions). Read-only |
awin_list_transaction_queries | Publisher: transaction queries (claims for untracked or wrongly declined sales) in a range of at most 31 days: id, advertiserId, status… |
awin_get_advertiser_performance_report | Publisher: performance per advertiser for a period and region: advertiserId, advertiserName, impressions, clicks, pending, approved… |
awin_get_publisher_campaign_report | Publisher: clicks, transactions, commission and sale amounts per campaign (the campaign= click parameter) and advertiser, by commission… |
awin_get_publisher_creative_report | Publisher: performance per creative (banner, text link, product link) for a period and region: creativeId, creativeName, advertiser… |
awin_list_offers | Publisher: published offers (promotions and voucher codes): promotionId, type, advertiser, title, description, terms, voucher code, url and… |
awin_generate_tracking_link | Publisher: build an Awin tracking link (deeplink) to an advertiser page you may promote: url, and shortUrl when shorten is true. Nothing is… |
awin_get_link_builder_quota | Publisher: the link builder quota Awin applies to your publisher account (links you may still generate). Read-only |
awin_list_advertiser_transactions | Advertiser: transactions in a date range of at most 31 days: id, publisherId, commissionStatus, commissionAmount, saleAmount, orderRef… |
awin_get_advertiser_transactions | Advertiser: read transactions by their Awin ids (same fields as awin_list_advertiser_transactions). Read-only |
awin_get_publisher_performance_report | Advertiser: performance per publisher for a period: publisherId, publisherName, impressions, clicks, pending, approved, declined and total… |
awin_get_advertiser_campaign_report | Advertiser: clicks, transactions, commission and sale amounts per publisher campaign value, by commission status, optionally per day, month… |
awin_list_publishers | Advertiser: the publishers in your programme: id, name, primaryRegion, salesRegions and primaryType (promotion type such as cashback… |
awin_list_validation_jobs | Advertiser: your transaction validation batch jobs (from awin_validate_transactions) with their status and per-transaction outcome.… |
awin_validate_transactions | Advertiser: approve, decline or amend transactions in one batch. Approving releases the publisher's commission, which your account pays; a… |
Example prompts
- "Which Awin programmes have we joined, and what are their commission rates?"
- "Show last month's pending and approved transactions for our publisher account."
- "Create a tracking link for advertiser 1234 to the page of their winter sale."
- "Which publishers drove the most sales for our advertiser account in October?"
- "Which open transaction queries are still waiting for an answer?"
Next steps
Was this guide helpful?