AffiliateRail documentation
Run an affiliate program for your SaaS: the dashboard, the tracking script, the partner portal, the REST API and the MCP server.
AffiliateRail is affiliate program software for SaaS founders. Partners share links, referred customers pay you through Stripe, and the ledger works out who earned what. Payouts go from your own PayPal or Wise account straight to your partners: we never hold the money and take no cut of it.
Quickstart
From an empty account to an attributed test-mode sale in about fifteen minutes.
Platform guides
Program settings, commission flows, attribution, payouts, the partner portal, messaging, imports and safeguards.
API
A REST API over every object in your program, with an interactive reference generated from the OpenAPI document.
MCP
Ask Claude or ChatGPT about your program instead of opening the dashboard. Two minutes to connect.
Where people usually start
- Install the tracking script and prove it works
- Set up commission flows
- Connect PayPal or Wise for payouts
- Give partners a branded portal on your own domain
- Make your first API call
For machines
The API publishes its whole contract as text at api.affiliaterail.com/llms.txt, and this suite lists its pages at docs.affiliaterail.com/llms.txt. Point a model at either and it can answer questions about the platform without scraping HTML.