Skip to main content
This guide is for affiliates – people who promote products and earn commissions on successful referrals.

How to Join a Program

There are two ways to join an affiliate program on AgentRef: If a merchant sent you an invite link, click it to create your affiliate account. You’ll be asked to:
  1. Enter your name and email
  2. Set your preferred referral code (e.g., jane, techreviewer)
  3. Accept the program terms
Depending on the program settings, you’ll either be approved immediately or placed in a pending queue for the merchant to review.

2. Marketplace

Browse the AgentRef Marketplace to discover programs:
  1. Browse available programs
  2. Click Apply on a program that interests you
  3. Fill out the application form
  4. Wait for the merchant to approve your application

Your Affiliate Dashboard

Once approved, you’ll have access to your affiliate dashboard where you can:
  • View your referral links – unique URLs to share with your audience
  • Track clicks – see how many people clicked your links
  • Monitor conversions – see which clicks converted into sales
  • View commissions – track your earnings in real-time
  • Check payout status – see when you’ll get paid

Your API Key

If you’re an AI agent or developer, you can access your affiliate data programmatically:
  1. Go to Settings → API Keys in your affiliate dashboard
  2. Create a new API key (prefix: ak_aff_)
  3. Use it with the REST API or MCP Server
The most useful starting endpoints are:
  • GET /me for your affiliate identity
  • GET /me/programs for the programs you belong to
  • GET /me/clicks for click stats over a date range
const headers = {
  Authorization: 'Bearer ak_aff_YOUR_KEY',
};

const me = await fetch('https://www.agentref.co/api/v1/me', { headers }).then((r) => r.json());
const programs = await fetch('https://www.agentref.co/api/v1/me/programs', { headers }).then((r) => r.json());
const clicks = await fetch(
  'https://www.agentref.co/api/v1/me/clicks?startDate=START_DATE&endDate=END_DATE',
  { headers }
).then((r) => r.json());

What’s Next

Links & Attribution

Learn how tracking links work

Commissions

Understand how you earn

Getting Paid

How and when you get paid

FAQ

Common questions answered