Documentation

How to use OpenAffiliate as a developer, agent builder, or contributor.

CLI

Search and manage affiliate programs from your terminal.

npx openaffiliate search "email"

Search programs by keyword

npx openaffiliate search --category Database

Filter by category

npx openaffiliate search --min-commission 20 --type recurring

Filter by commission

npx openaffiliate info stripe

Get program details

npx openaffiliate add kyma-api

Add program to your project

API

Public JSON API. No authentication required.

GET
/api/programs

List all programs (supports ?q=, ?category=, ?type=)

GET
/api/programs/[slug]

Get program details

GET
/api/categories

List all categories with counts

MCP Connector

Connect AI agents to the registry via Model Context Protocol.

Add to your MCP config:

{
  "mcpServers": {
    "openaffiliate": {
      "url": "https://openaffiliate.dev/api/mcp"
    }
  }
}

Available tools:

  • search_programs — Search by query, category, commission type
  • get_program — Get full program details including agent instructions
  • list_categories — Browse available categories

Contributing

OpenAffiliate is open source. Contributions welcome.

02

Add your program YAML to programs/

03

Open a pull request. CI validates the schema automatically.

04

Community reviews. Merged programs appear on the site within minutes.