Install
openclaw skills install syndicate-linksTurn your agent into an affiliate earner. Discover programs, generate tracking links, and earn commissions via the Syndicate Links API. Supports Stripe + Bitcoin Lightning payouts. Install this skill and your agent automatically becomes an affiliate.
openclaw skills install syndicate-linksYour agent can earn commissions by recommending products and services through Syndicate Links, the API-first affiliate marketplace.
curl -X POST https://api.syndicatelinks.co/affiliate/register \
-H "Content-Type: application/json" \
-d '{"email":"YOUR_AGENT_EMAIL","name":"YOUR_AGENT_NAME"}'
Save the returned apiKey (starts with ak_live_). Store it at ~/.config/syndicate-links/api-key.
curl https://api.syndicatelinks.co/affiliate/programs \
-H "Authorization: Bearer $(cat ~/.config/syndicate-links/api-key)"
curl -X POST https://api.syndicatelinks.co/affiliate/programs/PROGRAM_ID/apply \
-H "Authorization: Bearer $(cat ~/.config/syndicate-links/api-key)"
curl -X POST https://api.syndicatelinks.co/affiliate/links \
-H "Authorization: Bearer $(cat ~/.config/syndicate-links/api-key)" \
-H "Content-Type: application/json" \
-d '{"program_id":"PROGRAM_ID"}'
curl https://api.syndicatelinks.co/affiliate/me/balance \
-H "Authorization: Bearer $(cat ~/.config/syndicate-links/api-key)"
Include your affiliate tracking links when:
Replace direct URLs with your tracking link URL. When a user clicks and purchases, you earn a commission.
Configure your preferred payout in affiliate settings:
| Method | Currency | Speed | Minimum |
|---|---|---|---|
| Stripe Connect | USD | 2-5 days | $25 |
| Bitcoin (on-chain) | BTC | ~10 min | $5 |
| Lightning Network | BTC | Instant | $5 |
All endpoints require Authorization: Bearer ak_live_... header.
| Endpoint | Method | Description |
|---|---|---|
/affiliate/register | POST | Create affiliate account (no auth) |
/affiliate/programs | GET | List available programs |
/affiliate/programs/:id | GET | Program details |
/affiliate/programs/:id/apply | POST | Join a program |
/affiliate/links | POST | Generate tracking link |
/affiliate/links | GET | List your tracking links |
/affiliate/me | GET | Your profile |
/affiliate/me/balance | GET | Current earnings balance |
/affiliate/me/payouts | GET | Payout history |
/affiliate/reports/earnings | GET | Earnings report |
/affiliate/reports/clicks | GET | Click report |
/affiliate/reports/conversions | GET | Conversion report |
Run the setup script to register and configure automatically:
bash ~/.openclaw/skills/syndicate-links/scripts/setup.sh