All 25+ endpoints
Link graph, domain intelligence, page & site, batch, dashboard
Python
Official Python SDK. Sync and async clients via httpx. Single runtime dependency. Works with pandas, FastAPI, LangChain, and any Python 3.9+ environment.
pip install rankparse
Requires Python 3.9+. Single runtime dependency: httpx.
Sync client for scripts and notebooks. Async client for FastAPI and asyncio workloads.
from rankparse import RankParseClient
client = RankParseClient(api_key="rp_...")
# Domain authority
result = client.domain_authority("stripe.com")
print(result["data"]["score"]) # 91
print(result["credits_remaining"]) # 9999
# Backlinks
backlinks = client.backlinks("stripe.com", limit=10)
for link in backlinks["data"]:
print(link["from_url"], "→", link["anchor_text"])
# Pandas enrichment
import pandas as pd
df = pd.read_csv("domains.csv")
df["score"] = df["domain"].apply(
lambda d: client.domain_authority(d)["data"]["score"]
)
df.sort_values("score", ascending=False).to_csv("enriched.csv")Features
Link graph, domain intelligence, page & site, batch, dashboard
RankParseClient and AsyncRankParseClient
with / async with for connection reuse
AuthError, InsufficientCreditsError, RateLimitError, NotFoundError
Apply any method across a DataFrame column
httpx only, no Pydantic or other heavy deps
See the Python SDK docs for the complete method reference, error handling guide, pagination, and async examples. Source on GitHub (opens in a new tab).
Start free
100 free credits. No credit card. First request in 5 minutes.