Developers
SEO Portals API
SEO Portals API आपको हमारे अपने link index (authority, referring domains, spam risk और link gap) और quick on-page SEO checks तक programmatic access देता है। यह एक simple JSON REST API है जो API key से authenticated है।
मुझे API key कैसे मिलेगी?
API Pro (1,000 calls प्रतिदिन) और Agency (10,000 calls प्रतिदिन) plans में शामिल है। Sign in करें, Account → API keys खोलें और एक key बनाएँ। Keys एक बार दिखाई जाती हैं, इसलिए उन्हें सुरक्षित रखें।
Authentication
हर request पर अपना key Authorization header में भेजें:
Authorization: Bearer sp_your_api_key
Base URL: https://seoportals.com/api/v1/। सभी responses JSON हैं। Errors non-2xx status और {"error": "message"} लौटाते हैं।
GET /api/v1/domain
किसी भी domain के लिए Authority (0–100), referring domains और link spam risk, साथ ही उसकी सबसे मजबूत linking sites।
curl -H "Authorization: Bearer sp_..." "https://seoportals.com/api/v1/domain?domain=example.com&limit=10"
{
"domain": "example.com", "found": true, "authority": 71,
"referring_domains": 18342, "quality_referring_domains": 9120,
"spam_risk": { "score": 12, "level": "low", "reasons": [] },
"top_referring_domains": [{ "domain": "wikipedia.org", "authority": 99 }],
"index_release": "cc-main-2026-sep-oct-nov"
}
GET /api/v1/linkgap
वे websites जो आपके competitors को link करती हैं लेकिन आपको नहीं, इस आधार पर ranked कि वे कितने competitors को link करती हैं।
curl -H "Authorization: Bearer sp_..." "https://seoportals.com/api/v1/linkgap?domain=yoursite.com&competitors=rival1.com,rival2.com"
GET /api/v1/page
एक URL के लिए On-page SEO data: title, meta description, canonical, robots, headings, structured data types और pass/fail checks, साथ ही domain की authority।
curl -H "Authorization: Bearer sp_..." "https://seoportals.com/api/v1/page?url=https://example.com/pricing"
GET /api/v1/usage
आपके plan की daily limit और आज आपने कितनी calls उपयोग की हैं। Limit में count नहीं होता।
Rate limits क्या हैं?
- Plan के अनुसार daily calls: Pro 1,000, Agency 10,000 (midnight UTC पर reset)।
- प्रति minute 120 requests तक।
- Limit से अधिक जाने पर HTTP 429 लौटता है।
Data कहाँ से आता है?
Authority, referring domains और link gap web के links के हमारे अपने index से आते हैं, जो Common Crawl's web graph (लगभग 145 million websites) से बनाया गया है और नया graph publish होने पर refresh होता है। Page data SEOPortalsBot द्वारा live fetch किया जाता है।
क्या कोई browser extension है?
हाँ। SEO Portals Bar Chrome extension इस API का उपयोग करके browse करते समय किसी भी page की authority और on-page SEO दिखाता है। इसे अपने dashboard में Account → API keys के अंतर्गत download करें।