What is OpenAffiliate?
OpenAffiliate is an open registry of 750+ affiliate programs with structured data - commission rates, cookie durations, payout terms, categories, and more. It provides a public API, CLI, and MCP server. Combined with Kyma API, you can build content pipelines that generate reviews, comparisons, and social posts grounded in real affiliate data.Try It Now
The fastest way to start is Content Lab - a ready-made tool that generates affiliate content using Kyma API and the OpenAffiliate registry.- Go to openaffiliate.dev/lab
- Search and select a program
- Pick a content type (Top List, How-to Guide, Review, or Social Pack)
- Paste your Kyma API key and hit Generate
Build Your Own Pipeline
Step 1: Fetch Program Data
OpenAffiliate’s API is public - no auth required.Step 2: Generate Content with Kyma API
Use the program data as context for content generation.Step 3: Batch Top Lists
Generate comparison articles by pulling multiple programs from the same category.JavaScript
Model Recommendations
| Use Case | Model | Why |
|---|---|---|
| Reviews & listicles | deepseek-v3 | Best quality-to-cost ratio for long-form |
| Social media packs | qwen-3.6-plus | Most creative, best short-form prose |
| High-volume batches | llama-3.3-70b | Fastest inference speed |
| Structured output (JSON) | deepseek-v3 | Reliable JSON mode |
Cost Estimate
| Content Type | Tokens (in/out) | Cost per piece |
|---|---|---|
| Product Review | ~800 / ~1,200 | ~$0.005 |
| Top 10 List | ~1,500 / ~2,000 | ~$0.009 |
| How-to Guide | ~600 / ~1,500 | ~$0.005 |
| Social Pack (4 platforms) | ~800 / ~2,000 | ~$0.007 |
deepseek-v3: roughly $15-25/month.
OpenAffiliate Resources
- Content Lab - Ready-made content generator
- REST API docs - Full API reference
- MCP Server - Connect AI agents to the registry
- Program registry - Browse 750+ programs
Next Steps
- Content Generation Pipeline - Advanced batch patterns
- Streaming - Handle real-time output
- Prompt Caching - Save 90% on repeated system prompts
- Structured Outputs - Get JSON responses for programmatic use