API Documentation

Backlink API: Parameters and Response

Reference for domain input, backlink summary fields, selected link records, and billing.

Test API

Need to judge whether this data fits your audit? Explore the Backlink API product page to test a domain and read the limits of selected link records. The current credit rate appears below.

Explore the Backlink API product page →

Endpoint

GET https://api.goanyapi.com/api/v1/backlink

With the current configuration, each successful request costs 4 credits.

Authentication

Authorization: Bearer YOUR_API_KEY

Request Parameters

ParameterTypeRequiredDescription
domainstringYesTarget domain, for example sitedata.dev

Example

GET /api/v1/backlink?domain=sitedata.dev
Authorization: Bearer YOUR_API_KEY

Response Example

{
  "code": "ok",
  "message": "ok",
  "data": {
    "endpoint": "backlink",
    "remainingCredits": 97,
    "query": {
      "domain": "sitedata.dev"
    },
    "domain": "sitedata.dev",
    "backlinks": 884,
    "dofollowBacklinks": 14,
    "dofollowRefdomains": 12,
    "domainRating": 18,
    "refdomains": 388,
    "topBacklinks": [
      {
        "anchor": "SiteData",
        "domainRating": 97,
        "inRaw": false,
        "inRendered": true,
        "redirectChain": [],
        "textPost": "domain intelligence tools",
        "textPre": "Explore",
        "title": "Example developer resources",
        "urlFrom": "https://example.org/resources",
        "urlTo": "https://sitedata.dev/"
      }
    ]
  }
}

Response Fields

FieldDescription
data.endpointFixed value: backlink
data.costCreditsCredits consumed by this request, read from the current API configuration
data.remainingCreditsRemaining credits after deduction
data.query.domainNormalized queried domain
data.domainTarget domain
data.backlinksTotal number of backlinks
data.dofollowBacklinksNumber of dofollow backlinks
data.dofollowRefdomainsReferring domains with dofollow links
data.domainRatingDomain Rating of the target domain
data.refdomainsTotal number of referring domains
data.topBacklinksSelected top backlink records, not a complete export
FieldDescription
anchorAnchor text
domainRatingDomain Rating of the referring domain
inRawWhether the link exists in raw HTML
inRenderedWhether the link exists in the rendered page
redirectChainRedirect chain; each item contains url and redirectCode
textPre / textPostText context before and after the link
titleReferring page title
urlFromReferring page URL
urlToDestination URL

Billing

The current request cost follows the API configuration shown on this page.

  • The Tester and this page display the active cost for a successful non-empty result.
  • Invalid parameters, failed requests and empty results do not consume credits.