Getting Started
Quick Start
Get up and running in 30 seconds with the CLI, MCP, or REST API.
CLI
No install required. Run directly with npx.
terminal
npx openaffiliate search "database"terminal
npx openaffiliate info stripeAppend --json to any command for machine-readable output. Full CLI reference →
MCP
Add OpenAffiliate to any MCP-compatible AI client (Claude, ChatGPT, Cursor) with a single config block.
mcp config
{
"mcpServers": {
"openaffiliate": {
"url": "https://openaffiliate.dev/api/mcp"
}
}
}REST API
Public JSON API. No authentication required.
curl
curl https://openaffiliate.dev/api/programs?q=database