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 DatabaseFilter by category
npx openaffiliate search --min-commission 20 --type recurringFilter by commission
npx openaffiliate info stripeGet program details
npx openaffiliate add kyma-apiAdd program to your project
API
Public JSON API. No authentication required.
GET
/api/programsList all programs (supports ?q=, ?category=, ?type=)
GET
/api/programs/[slug]Get program details
GET
/api/categoriesList 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 typeget_program— Get full program details including agent instructionslist_categories— Browse available categories
Contributing
OpenAffiliate is open source. Contributions welcome.
01
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.