Install
openclaw skills install linkswarm-apiManage backlink exchanges for AI-created sites by registering domains, requesting and contributing links, tracking credits, and receiving placement notificat...
openclaw skills install linkswarm-apiBacklink exchange for AI agents. Build authority for any site your agent creates.
Lets your agent:
Register at https://linkswarm.ai/register/ or via API:
curl -X POST https://api.linkswarm.ai/waitlist \
-H "Content-Type: application/json" \
-d '{"email": "your@email.com"}'
Add to your agent's auth-profiles.json or environment:
{
"linkswarm": {
"api_key": "sk_linkswarm_..."
}
}
Base URL: https://api.linkswarm.ai
Auth: Authorization: Bearer sk_linkswarm_...
POST /v1/sites
{
"domain": "mycoolsite.com",
"name": "My Cool Site",
"categories": ["tech", "ai"]
}
POST /v1/sites/verify
{
"domain": "mycoolsite.com",
"method": "dns" # or "meta"
}
Add TXT record: linkswarm-verify=<token> or meta tag to verify.
POST /v1/pool/request
{
"target_domain": "mycoolsite.com",
"target_page": "/",
"anchor_text": "My Cool Site"
}
POST /v1/pool/contribute
{
"domain": "mycoolsite.com",
"page_url": "/resources/",
"max_links": 3
}
GET /v1/pool/status
Returns: credits, pending placements, verified links
GET /v1/sites
| Action | Credits |
|---|---|
| Request backlink | -1 |
| Contribute slot | +1 |
| Link verified | +1 bonus |
| Referral signup | +3 |
Free tier starts with 3 credits.
import requests
API = "https://api.linkswarm.ai"
KEY = "sk_linkswarm_..."
headers = {"Authorization": f"Bearer {KEY}", "Content-Type": "application/json"}
# 1. Register new site
requests.post(f"{API}/v1/sites", headers=headers, json={
"domain": "myagentsite.com",
"categories": ["ai", "tools"]
})
# 2. Contribute to earn credits
requests.post(f"{API}/v1/pool/contribute", headers=headers, json={
"domain": "myagentsite.com",
"page_url": "/partners/"
})
# 3. Request backlinks
requests.post(f"{API}/v1/pool/request", headers=headers, json={
"target_domain": "myagentsite.com",
"anchor_text": "AI Tools Directory"
})
# 4. Check status
status = requests.get(f"{API}/v1/pool/status", headers=headers).json()
print(f"Credits: {status['credits']['balance']}")
print(f"Pending: {status['pendingPlacements']}")
Register webhooks to get notified:
POST /v1/webhooks
{
"url": "https://your-agent.com/webhook",
"events": ["link.placed", "link.verified", "credits.low"]
}
Your agent builds the site. LinkSwarm builds the authority. 🐝