
AI Agents Can Generate Income for Their Owners
The AI agent economy is here. Agents are no longer just tools that answer questions — they call APIs, execute trades, scrape data, and make purchases on behalf of their owners. Every time an OpenClaw agent pays for an API call on SerenDB, that transaction creates an opportunity for someone to earn a commission. That someone is you.
Seren Affiliates is an agent-to-agent affiliate commission system. You register as an affiliate, get a referral code, and when another agent makes a purchase using your code, you earn a percentage. No cookies. No browser tracking. Just a referral code in the API header — deterministic, transparent, and built for machines. If you run OpenClaw agents, manage fleets, or build tools that other agents use, this is a new revenue stream you can activate today.
The full Seren Affiliates documentation covers every endpoint. This post walks you through the system from registration to your first USDC withdrawal.
Seren Affiliates Features
Seren Affiliates is not a toy referral program. It is a production-grade commission engine with features designed for the scale and speed of agent-to-agent commerce:
- Four commission types: Percentage, fixed, capped percentage, and tiered fixed — publishers choose what fits their business model
- Dynamic commissions: High-performing affiliates earn multipliers between 0.8x and 1.5x based on transaction volume, referral recency, and reputation score
- Multi-level overrides: Earn 5% on your direct referrals' purchases (tier 1) and 2% on their referrals' purchases (tier 2) — two levels of passive income from your network
- Reputation tiers: Bronze, Silver, Gold, Platinum, and Diamond — your tier upgrades automatically as your reputation score improves, unlocking higher commission multipliers
- 90-day hold period: Commissions are held for 90 days to protect against chargebacks, then released for payout
- $100 minimum payout: Once your earned commissions clear the hold period and hit $100, you can withdraw
- Dual payout: Receive earnings as SerenBucks (platform credits) or withdraw to USDC stablecoin via your registered EVM or Solana wallet
- Budget controls: Programs have optional budget caps that auto-pause when exhausted — publishers never overspend
Every feature is accessible via REST API. The full API reference is available at the SerenDB documentation site.

How to Search for Affiliate Offerings and Register
Getting started takes two API calls. First, discover which publishers are offering affiliate programs:
1# Discover available affiliate programs (no auth required)
2curl -X GET https://affiliates.serendb.com/programs/discoverThis returns every active program with its commission type, rate, and how many affiliates are already earning. Pick the programs that align with agents you interact with or tools you recommend.
Next, register as an affiliate. You will need your SerenDB user ID (your agent ID) and an API key — both are available in your account settings at serendb.com. Your agent ID is the UUID assigned to your account when you sign up. Your API key starts with seren_ and works as a bearer token in the Authorization header:
1# Register as a Seren Affiliate
2# YOUR_AGENT_ID = your SerenDB user ID (UUID from account settings)
3# YOUR_API_KEY = your SerenDB API key (starts with seren_)
4curl -X POST https://affiliates.serendb.com/affiliates \
5 -H "Authorization: Bearer $YOUR_API_KEY" \
6 -H "x-seren-agent-id: $YOUR_AGENT_ID" \
7 -H "Content-Type: application/json" \
8 -d '{
9 "agent_id": "your-agent-id",
10 "wallet_address": "0xYourEVMWalletAddress",
11 "payout_preference": "serenbucks"
12 }'You will receive a unique referral_code. Embed this code in any API calls your agent makes, or share it with other agent operators. When someone uses your referral code and makes a purchase through any Seren-enabled publisher, you earn a commission automatically.
Want to build your network? Share your referral code with the parent_referral_code parameter when other affiliates register — they become your downline and you earn tier 1 overrides on their sales.
Read the full registration guide at the Seren Affiliates documentation.
How to Track Affiliate Performance
Seren gives you full visibility into your earnings, conversions, and network:
1# Get your affiliate stats
2curl -X GET https://affiliates.serendb.com/affiliates/me/stats \
3 -H "Authorization: Bearer $YOUR_API_KEY" \
4 -H "x-seren-agent-id: $YOUR_AGENT_ID"This returns your total conversions, lifetime earnings, current balance, 30-day earnings, referred agent count, network size, and breakdowns of tier 1 and tier 2 override earnings.
1# View your downline network
2curl -X GET https://affiliates.serendb.com/affiliates/me/network \
3 -H "Authorization: Bearer $YOUR_API_KEY" \
4 -H "x-seren-agent-id: $YOUR_AGENT_ID"The network endpoint shows your level 1 referrals (agents you referred directly), level 2 referrals (agents your referrals referred), and how much override income each level is generating.
You can also list individual commissions, conversions, and payouts with filtering by status and date range:
1# List your commissions (filter by status)
2curl -X GET "https://affiliates.serendb.com/affiliates/me/commissions?status=payable&limit=50" \
3 -H "Authorization: Bearer $YOUR_API_KEY" \
4 -H "x-seren-agent-id: $YOUR_AGENT_ID"Full tracking endpoint documentation is available at the SerenDB docs.

Payouts, Rates, and Withdrawals
Hold period: Every commission enters a 90-day hold period after the underlying purchase. This protects the ecosystem against chargebacks and fraud. After 90 days, commissions transition from "held" to "payable."
Payout rates: The standard SerenBucks Affiliate Program pays 20% commission on direct referral purchases. With dynamic commissions enabled, high-performing affiliates earn multipliers between 0.8x and 1.5x based on their reputation score, transaction volume, and referral quality.
Parent and grandparent overrides: This is where passive income gets interesting. When you refer Agent B, and Agent B refers Agent C, here is what happens when Agent C makes a $100 purchase:
- Agent B (direct affiliate) earns 20% = $20 commission
- You (parent / tier 1 override) earn 5% = $5 override commission
- Your referrer (grandparent / tier 2 override) earns 2% = $2 override commission
Override commissions require a qualification gate: you must have at least 5 direct referral commissions before you start earning overrides. This prevents empty network positions from earning passive income.
Reputation boosts: As your affiliate activity grows, your reputation score (1.0–5.0) drives automatic tier upgrades: Bronze (1.0x) → Silver (1.05x) → Gold (1.2x) → Platinum (1.4x) → Diamond (1.5x). Higher tiers mean higher commission multipliers on every sale.
Crypto withdrawals: Affiliate-earned SerenBucks can be withdrawn 1:1 to USDC stablecoin on any supported network — Base, Ethereum, Avalanche, or Solana. Register an EVM or Solana wallet in your SerenDB account, and once your earnings clear the hold period, withdraw to real stablecoin. No exchange rate fees, no conversion spread.
How to Create Your Own Affiliate Program and Generate Publisher Revenue
You do not need to be just an affiliate — you can also be a publisher and create your own pay-per-call API endpoints that agents pay to use. Here is the complete flow:
Step 1: Register as a publisher on SerenDB
If you are running in SerenDesktop and already have a SerenDB account, you can create your publisher without providing an upstream API key here. Seren handles the account/auth layer for the publisher registration flow. Only add upstream_api_key and api_key_header if your upstream API itself requires them.
1# Create your publisher (SerenDesktop + SerenDB account: no upstream key needed here)
2curl -X POST https://api.serendb.com/organizations/$YOUR_ORG_ID/publishers \
3 -H "Authorization: Bearer $YOUR_API_KEY" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "name": "My Weather API",
7 "slug": "my-weather-api",
8 "wallet_address": "0xYourWalletAddress",
9 "wallet_network_id": "eip155:8453",
10 "publisher_category": "integration",
11 "integration_type": "api",
12 "api_url": "https://api.myweather.com",
13 "auth_type": "static",
14 "price_per_call": "0.01",
15 "billing_model": "x402_per_request"
16 }'If your API does not require an upstream key, omit upstream_api_key and api_key_header. Seren will proxy requests to your api_url and charge agents per call.
Step 2: Set your endpoint fees
1# Set per-method pricing
2curl -X PUT https://api.serendb.com/organizations/$YOUR_ORG_ID/publishers/$PUB_ID/pricing \
3 -H "Authorization: Bearer $YOUR_API_KEY" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "billing_model": "x402_per_request",
7 "price_per_get": "0.005",
8 "price_per_post": "0.015"
9 }'Step 3: Create an affiliate program so others promote your publisher
1# Create an affiliate program for your publisher
2curl -X POST https://affiliates.serendb.com/programs \
3 -H "Authorization: Bearer $YOUR_API_KEY" \
4 -H "x-seren-publisher-id: $YOUR_PUBLISHER_ID" \
5 -H "Content-Type: application/json" \
6 -d '{
7 "publisher_id": "your-publisher-id",
8 "publisher_slug": "my-weather-api",
9 "name": "Weather API Affiliate Program",
10 "commission_type": "percentage",
11 "commission_rate": 15,
12 "override_commission_rate": 5,
13 "tier2_override_rate": 2,
14 "hold_period_days": 90,
15 "min_payout_cents": 10000,
16 "dynamic_commissions": true,
17 "budget_cents": 5000000
18 }'Now affiliates can discover your program, register, and start driving agent traffic to your API. Every API call made with a referral code generates a commission for the referring affiliate — funded from your publisher revenue. You set the rates, the budget, and the hold period.
This is permissionless revenue for AI agents. Any OpenClaw agent can call your API, any affiliate can promote it, and the entire cycle runs on deterministic referral attribution via API headers. No sales team. No ad spend. Just code referring code.
Full publisher setup documentation is available at docs.serendb.com.
Need Help?
We are building the agentic economy in public and we want to hear from you:
- Twitter/X: Mention @SerenAISoft — we respond to every mention
- Discord: Join our community at discord.serendb.com for live support, feature requests, and affiliate strategy discussions
- Email: Reach us directly at hello@serendb.com — we read and reply to every email
- Documentation: Full API reference, guides, and examples at docs.serendb.com
- Affiliates API: affiliates.serendb.com — the live API for all affiliate operations
Whether you are an agent operator looking to earn passive income, a publisher looking to grow your API's reach, or a developer building the next generation of agentic tools — we are here to help.
About SerenAI
SerenAI is building the infrastructure for the AI agent economy. Our platform lets AI agents discover, pay for, and use APIs autonomously — and now, earn income by referring other agents to those APIs.
SerenDB is the database and marketplace where publishers list their APIs with pay-per-call pricing, agents discover and pay for those APIs using SerenBucks or on-chain USDC (via the x402 payment protocol), and affiliates earn commissions on every transaction they help create. From data APIs to AI model endpoints to blockchain tools, the Seren marketplace is where agents go to work — and where their owners go to earn.
We believe that in the agentic future, every API call is a micro-transaction, every referral is a revenue event, and every agent owner should have a path from agent activity to real income. Seren Affiliates is that path.
Start earning today at serendb.com.


About Taariq Lewis
Exploring how to make developers faster and more productive with AI agents
Related Posts

How-To Use Seren's Upgraded Polymarket Trading Bot to Find Trading Edge of 10% or More
The March 30 Polymarket bot upgrade adds calibration-driven thresholds, edge-to-spread gating, depth-constrained sizing, iterative scanning, and seren-cron scheduling. Open source, dry-run first.

How-To Use Seren's Upgraded Polymarket Trading Bot to Find 10%+ Trading Edge
The upgraded Polymarket Trading Bot fixes stale prices, duplicate markets, bad ranking, thin books, and sloppy sizing. New calibration-driven thresholds, edge-to-spread gating, and depth-constrained sizing make it a real system for finding 10%+ edge opportunities.

Crypto Recovery With SerenAI: A Local-First Way to Diagnose Wallet Access Loss Without Falling for Scams
The new key-recovery-diagnosis skill gives crypto holders a structured, local-first way to classify wallet access loss across 8 scenarios — without seed phrase exposure, upfront fees, or scam recovery shops.
