RankParse Link Graph API
The Link Graph API from RankParse — 5 operation(s) for link graph.
The Link Graph API from RankParse — 5 operation(s) for link graph.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/rankparse-com:rankparse-com-link-graph-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: RankParse Link Graph API
version: 1.0.0
description: 'SEO data API for developers and AI agents, powered by pre-processed public web data served on Cloudflare''s edge.
**20 data endpoints across 5 categories:**
- **Link graph** — backlinks, referring domains, outbound links, anchor text, top pages - **Domain metrics** — authority score (0-100), domain rank, crawl history - **Real-time page analysis** — full SEO audit, site health, sitemap discovery, tech stack, Core Web Vitals - **Cross-domain intelligence** — domain overlap, link intersect, competitor gap, similar domains - **Power endpoints** — link audit, site explorer, batch backlinks (up to 50 domains)
Billed per call — no subscription, no monthly floor. From $0.01/credit, down to $0.006/credit at volume. Credits never expire.
REST API and MCP server available. Base URL: `https://api.rankparse.com`
This specification covers the billable data endpoints and the multi-engine rank tracking reads. Dashboard and account management, the OAuth integration callbacks (Search Console, Google Ads, Gmail, Bing, Yandex), the outreach and Zeekeo surfaces, and the free unauthenticated tools under `/v1/tools/` are intentionally out of scope.'
contact:
name: RankParse Support
url: https://rankparse.com
license:
name: Proprietary
url: https://rankparse.com/terms
servers:
- url: https://api.rankparse.com
description: Production
security:
- ApiKeyAuth: []
tags:
- name: Link Graph
paths:
/v1/backlinks:
get:
operationId: getBacklinks
summary: Get backlinks for a domain
description: Returns backlinks pointing to the specified domain from public web data. Default `sort=importance` returns aggregated referrer rows ordered by domain authority. `sort=recent` returns URL-level backlink rows ordered by crawl recency. Costs 2 credits (or 3 credits with `score=true`).
tags:
- Link Graph
parameters:
- $ref: '#/components/parameters/domain'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/score'
- $ref: '#/components/parameters/backlinksSort'
- $ref: '#/components/parameters/backlinksFromDomain'
- $ref: '#/components/parameters/backlinksLinkType'
responses:
'200':
description: Backlinks for the domain
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/EnvelopeFields'
- type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/BacklinkRow'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
/v1/referring-domains:
get:
operationId: getReferringDomains
summary: Get referring domains
description: Returns domains that link to the specified domain with dofollow/nofollow link counts. Costs 2 credits (or 3 credits with score=true).
tags:
- Link Graph
parameters:
- $ref: '#/components/parameters/domain'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/score'
responses:
'200':
description: Referring domains
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/EnvelopeFields'
- type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/ReferringDomainRow'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
/v1/outbound-links:
get:
operationId: getOutboundLinks
summary: Get outbound links from a domain
description: Returns external links going out from the specified domain with anchor text and link type. Costs 2 credits.
tags:
- Link Graph
parameters:
- $ref: '#/components/parameters/domain'
- $ref: '#/components/parameters/limit'
responses:
'200':
description: Outbound links
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/EnvelopeFields'
- type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/OutboundLinkRow'
summary:
$ref: '#/components/schemas/OutboundSummary'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
/v1/anchor-text:
get:
operationId: getAnchorText
summary: Get anchor text distribution
description: Returns anchor text phrases used in links pointing to the domain, with link and domain counts. Costs 2 credits.
tags:
- Link Graph
parameters:
- $ref: '#/components/parameters/domain'
- $ref: '#/components/parameters/limit'
responses:
'200':
description: Anchor text distribution
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/EnvelopeFields'
- type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/AnchorTextRow'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
/v1/top-pages:
get:
operationId: getTopPages
summary: Get top pages by inbound links
description: 'Returns pages on the domain ranked by number of inbound links. If the complete URL aggregate cannot finish, the response may contain a degraded raw fallback marked with `partial: true`. Costs 2 credits.'
tags:
- Link Graph
parameters:
- $ref: '#/components/parameters/domain'
- $ref: '#/components/parameters/limit'
responses:
'200':
description: Top pages
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/EnvelopeFields'
- type: object
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/TopPageRow'
partial:
type: boolean
description: When true, data contains a degraded raw fallback and is not a complete URL aggregate.
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'429':
$ref: '#/components/responses/RateLimited'
components:
parameters:
score:
name: score
in: query
required: false
schema:
type: boolean
default: false
description: Enable derived score enrichment on each row (adds extra credit cost)
backlinksFromDomain:
name: from_domain
in: query
required: false
schema:
type: string
description: Optional source-domain filter (exact domain).
domain:
name: domain
in: query
required: true
schema:
type: string
description: The domain to query (e.g. "example.com")
backlinksSort:
name: sort
in: query
required: false
schema:
type: string
enum:
- importance
- recent
default: importance
description: 'Backlink ranking mode. `importance` (default) returns aggregated referrer rows; `recent` returns freshest URL-level backlinks.
'
backlinksLinkType:
name: link_type
in: query
required: false
schema:
type: string
description: Optional link type filter, e.g. `hyperlink` or `image`.
limit:
name: limit
in: query
required: false
schema:
type: integer
default: 100
minimum: 1
maximum: 1000
description: Maximum number of results to return (default 100, max 1000)
responses:
BadRequest:
description: Invalid request parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit exceeded (60 requests/minute)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
PaymentRequired:
description: Insufficient credits
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
AnchorTextRow:
type: object
required:
- anchor_text
- link_count
- domain_count
properties:
anchor_text:
type: string
link_count:
type: integer
minimum: 1
domain_count:
type: integer
minimum: 1
OutboundLinkRow:
type: object
required:
- to_domain
- to_url
- link_type
- edge_count
properties:
to_domain:
type: string
to_url:
type: string
anchor_text:
type:
- string
- 'null'
link_type:
type: string
edge_count:
type: integer
minimum: 1
TopPageRow:
type: object
required:
- url
- inbound_links
- referring_domains
properties:
url:
type: string
inbound_links:
type: integer
minimum: 1
referring_domains:
type: integer
minimum: 1
status_code:
type:
- integer
- 'null'
description: Always null. Not populated by the v1 pipeline.
mime:
type:
- string
- 'null'
description: Always null. Not populated by the v1 pipeline.
OutboundSummary:
type: object
required:
- unique_destinations
- top_domain
- top_domain_concentration
properties:
unique_destinations:
type: integer
minimum: 0
top_domain:
type:
- string
- 'null'
top_domain_concentration:
type: number
minimum: 0
maximum: 1
BacklinkRow:
type: object
required:
- from_domain
- from_url
- to_url
- link_type
- crawled_at
properties:
from_domain:
type: string
from_url:
type: string
to_url:
type: string
anchor_text:
type:
- string
- 'null'
rel:
type:
- string
- 'null'
link_type:
type: string
domain_host_count:
type:
- number
- 'null'
minimum: 0
crawled_at:
type: string
from_domain_score:
type: integer
minimum: 0
maximum: 100
anchor_type:
type: string
enum:
- branded
- partial
- naked
- generic
- image
link_quality:
type: string
enum:
- high
- medium
- low
EnvelopeFields:
type: object
required:
- credits_used
- credits_remaining
properties:
domain:
type: string
url:
type: string
total:
type: integer
limit:
type: integer
offset:
type: integer
credits_used:
type: integer
minimum: 0
credits_remaining:
type: integer
minimum: 0
ReferringDomainRow:
type: object
required:
- from_domain
- dofollow_links
- nofollow_links
- total_links
properties:
from_domain:
type: string
dofollow_links:
type: integer
minimum: 0
description: 'Always 0. The public web domain graph this table is built from carries no rel attribute, so dofollow/nofollow cannot be distinguished.
'
nofollow_links:
type: integer
minimum: 0
description: 'Always 0. See dofollow_links.
'
total_links:
type: integer
minimum: 0
from_domain_score:
type: integer
minimum: 0
maximum: 100
Error:
type: object
required:
- error
- code
- message
properties:
error:
type: string
code:
type: string
message:
type: string
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key