Backlink API: Parameters and Response
Reference for domain input, backlink summary fields, selected link records, and billing.
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/backlinkWith the current configuration, each successful request costs 4 credits.
Authentication
Authorization: Bearer YOUR_API_KEYRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Target domain, for example sitedata.dev |
Example
GET /api/v1/backlink?domain=sitedata.dev
Authorization: Bearer YOUR_API_KEYResponse 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
| Field | Description |
|---|---|
data.endpoint | Fixed value: backlink |
data.costCredits | Credits consumed by this request, read from the current API configuration |
data.remainingCredits | Remaining credits after deduction |
data.query.domain | Normalized queried domain |
data.domain | Target domain |
data.backlinks | Total number of backlinks |
data.dofollowBacklinks | Number of dofollow backlinks |
data.dofollowRefdomains | Referring domains with dofollow links |
data.domainRating | Domain Rating of the target domain |
data.refdomains | Total number of referring domains |
data.topBacklinks | Selected top backlink records, not a complete export |
topBacklinks Fields
| Field | Description |
|---|---|
anchor | Anchor text |
domainRating | Domain Rating of the referring domain |
inRaw | Whether the link exists in raw HTML |
inRendered | Whether the link exists in the rendered page |
redirectChain | Redirect chain; each item contains url and redirectCode |
textPre / textPost | Text context before and after the link |
title | Referring page title |
urlFrom | Referring page URL |
urlTo | Destination 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.