Monetization API
Affiliate infrastructure for developers and AI agents. One API to discover campaigns across 100+ networks, convert any URL into an affiliate link, track conversions in real time, and pull earnings reports — all programmatically.
https://developers.cuelinks.com/pub_api/v3JSON responses. Token auth on every request. Authentication →
1. Get an API key from your publisher dashboard. Select read:campaigns and write:links scopes.
2. Find a campaign — search by name or browse by category.
3. Convert a URL — pass any merchant URL and get back a trackable affiliate link. Share it, embed it, or pass it to your users.
4. Track earnings — pull transactions in real time or aggregate with performance reports.
Every endpoint works as an MCP tool. Connect your AI agent to the Cuelinks API and let it discover campaigns, generate links, and pull reports autonomously.
See Authentication for full key setup, or jump straight to API Reference.
curl https://developers.cuelinks.com/pub_api/v3/campaigns \ -H "Authorization: Token YOUR_API_KEY" \ -G -d "q=flipkart"
curl -X POST https://developers.cuelinks.com/pub_api/v3/links/convert \ -H "Authorization: Token YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url":"https://www.flipkart.com/iphone"}'
curl https://developers.cuelinks.com/pub_api/v3/reports/performance \ -H "Authorization: Token YOUR_API_KEY"