API & MCP
Let Claude, ChatGPT / OpenAI or any MCP client run backlink cost queries inside their tasks.
MCP endpoint
https://your-site/api/mcp
Streamable HTTP · MCP 2025-06-18 / 2026-07-28
Authentication
Use an invite code (Bearer token or the key URL parameter), or your own DataForSEO account via the X-DFS-Login / X-DFS-Password headers.
Your invite code: — · Add an invite code in Settings and the examples below will include it.
Client setup
claude mcp add --transport http linkcost https://your-site/api/mcp \ --header "Authorization: Bearer YOUR_INVITE_CODE"
Tools
estimate_query_costCount the target's referring domains and estimate DataForSEO cost per fetch size (≈ $0.024)
analyze_linkcostdocs.toolDesc.analyze_linkcost
batch_analyze_linkcostdocs.toolDesc.batch_analyze_linkcost
get_reportRead a saved report, optionally filtered to matched / free / unmatched domains
lookup_domain_priceAll inventory offers for one domain (no credit used)
check_creditRemaining invite-code credit
REST API
POST /api/estimate
curl -X POST https://your-site/api/estimate \
-H "content-type: application/json" \
-H "x-invite-code: YOUR_INVITE_CODE" \
-d '{"target":"example.com"}'POST /api/analyze
curl -X POST https://your-site/api/analyze \
-H "content-type: application/json" \
-H "x-invite-code: YOUR_INVITE_CODE" \
-d '{"target":"example.com","limit":1000}' # limit: 10–100000 or "all"GET /api/invite
curl https://your-site/api/invite -H "x-invite-code: YOUR_INVITE_CODE"