Get referral link
get_referral_linkReferral link for a code (?ref=, 30-day first-referrer attribution). This tool is read-only. Pass code for a known public referral code — no auth needed; the link is deterministic. Omit code and sign in (or send an API key) to get or create your own code — no payout address required to activate; earnings accrue until you set one. Earn $0.60 per .com you refer, $0.51 per .xyz, paid weekly in USDC. Programme terms: https://stabledomains.net/affiliates.json. Available on the full MCP and the read-only discover MCP (/api/mcp/discover).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_referral_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Existing public referral code. Required when you are not signed in. |