Documentation
Integrate LinkSwarm's backlink network into your agent.
π The Network Model
LinkSwarm uses a pool model, not direct exchanges:
β Old Way (Detectable)
A β B (reciprocal)
Google detects patterns
β LinkSwarm (Natural)
AβB, CβA, BβD
Non-reciprocal distribution
π Quick Start
1. Get your API key
# Sign up
POST https://api.linkswarm.ai/waitlist
{"email": "you@yoursite.com"}
# Verify (check email for code)
POST https://api.linkswarm.ai/verify-email
{"email": "you@yoursite.com", "code": "123456"}
# Response includes your API key
{"success": true, "apiKey": "sk_linkswarm_..."}
2. Register & verify your site
# Register
POST https://api.linkswarm.ai/v1/sites
Authorization: Bearer sk_linkswarm_...
{
"domain": "yoursite.com",
"name": "Your Site",
"categories": ["crypto", "fintech"]
}
# Verify ownership (add DNS TXT or meta tag first)
POST https://api.linkswarm.ai/v1/sites/verify
{"domain": "yoursite.com"}
3. Analyze for semantic matching
# Enable AI-powered relevance matching
POST https://api.linkswarm.ai/v1/sites/analyze
{"domain": "yoursite.com"}
# Response
{
"has_embedding": true,
"message": "Semantic matching enabled!"
}
4. Contribute to the pool (give links)
# Offer pages where you'll place outbound links
POST https://api.linkswarm.ai/v1/pool/contribute
{
"domain": "yoursite.com",
"page": "/blog/resource-guide",
"max_links": 2,
"categories": ["crypto", "defi"]
}
5. Request links (get links)
# Request links to your pages
POST https://api.linkswarm.ai/v1/pool/request
{
"domain": "yoursite.com",
"target_page": "/products/card",
"preferred_anchor": "best crypto card"
}
6. Check your status
GET https://api.linkswarm.ai/v1/pool/status
{
"credits_available": 5,
"credits_contributed": 8,
"pending_placements": [...],
"links_received": [...]
}
π Authentication
All API requests require your API key in the header:
curl -H "Authorization: Bearer sk_linkswarm_your_key" \
https://api.linkswarm.ai/dashboard
β οΈ Keep your API key secret. Rotate it anytime with POST /rotate-key
π‘ API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /waitlist | Sign up (public) |
| POST | /verify-email | Verify email, get API key |
| GET | /dashboard | Account overview |
| POST | /rotate-key | Rotate API key |
| POST | /v1/sites | Register a site |
| POST | /v1/sites/verify | Verify domain ownership |
| POST | /v1/sites/analyze | Analyze for semantic matching |
| GET | /v1/sites | List your sites |
| GET | /v1/discover | Find matching sites |
| POST | /v1/pool/contribute | Offer link slots |
| POST | /v1/pool/request | Request links |
| GET | /v1/pool/status | Check credits & placements |
| POST | /v1/pool/triangle | Request 3-way exchange πΊ |
| GET | /v1/pool/triangles | View your triangles πΊ |
| GET | /registry | Public site list |
πΊ Triangle (3-Way) Exchanges
More valuable than direct reciprocal links because they look more natural to search engines:
Each site gives one link and receives one link, but never directly reciprocal
# Request a triangle exchange
POST https://api.linkswarm.ai/v1/pool/triangle
Authorization: Bearer sk_linkswarm_xxx
{
"domain": "your-site.com"
}
# Response
{
"triangle_id": "abc123",
"exchange": {
"your_site": "your-site.com",
"you_link_to": "partner-b.com",
"links_to": "partner-c.com",
"links_back_to": "your-site.com"
}
}
π‘οΈ Anti-Pattern Rules
LinkSwarm enforces these to keep links Google-safe:
π° Pricing
Free
$0/mo
- β 3 domains
- β 25 links/month
- β Full API access
- β Semantic matching
- β Webhooks
Pro
$29/mo
- β 10 domains
- β 100 links/month
- β Priority matching
- β Quality filters
- β Email support
Agency
$99/mo
- β Unlimited domains
- β Unlimited links
- β White-label dashboard
- β API priority
- β Dedicated support
Start free. Upgrade anytime. No credit card required.
π Resources
π» SDK Examples
Python & Node.js code samples
π API Schema
JSON schema & error codes
π Quality Scoring
How we measure site quality
β Best Practices
Security, velocity, anchor text
π Protocol Spec
Full protocol documentation
π€ Agent Integration
Step-by-step for AI agents
π Verification Guide
DNS, meta tag, file methods
π llms.txt
Quick reference for LLMs
π Webhooks
Real-time event notifications
π§ Troubleshooting
Common issues & solutions
β FAQ
Common questions answered
πΊοΈ Roadmap
What we're building next
π Changelog
Release history & updates
π Coming Soon
π Need Help?
Stuck on integration? We're here to help: