⌘K
API Access & Gateway
HEADLESS GATEWAY SUITE V3

Headless Search & SEO APIs

Direct, low-latency programmatic access to Ahrefs, Semrush, Majestic, and Keys.so. Compatible with Claude Code, Cursor, MCP servers, and custom Python ETL bots.

Ahrefs v3 API Gateway

Site Explorer, Domain Rating & Keywords
Available

Drop-in proxy for the official Ahrefs v3 REST API. Fully compatible with Claude Code CLI, Cursor IDE skills, and custom automated crawlers without session blocks.

RATE 1 credit / row
AVG LATENCY 12 ms
UPTIME 99.98%
https://ahrefs-api.hubskit.com/v3/site-explorer/...

Semrush API Gateway

Official domain_organic & phrase reports
Available

Full binary parity with the Semrush standard HTTP API. Supports domain_organic, domain_ranks, phrase_this, and raw CSV/JSON export columns.

RATE $0.000060 / cr
AVG LATENCY 201 ms
UPTIME 100.00%
https://api-semrush.hubskit.com/?type=domain_organic...

Majestic SEO API

Trust Flow, Citation Flow & RefDomains
Available

High-volume link intelligence queries. Retrieve Trust Flow, Citation Flow, topical topical categorizations, and comprehensive backlink anchors at ultra-scale.

RATE $0.000002 / cr
AVG LATENCY 284 ms
UPTIME 99.95%
https://api-majestic.hubskit.com/?cmd=GetIndexItemInfo...

Keys.so Gateway

Search analytics & competitor semantics
Available

Premier Runet & CIS regional search analytics engine. Extract competitor organic gaps, semantic core clustering, and SERP visibility distributions.

RATE $0.000200 / cr
AVG LATENCY 320 ms
UPTIME 99.80%
https://api-keys-so.hubskit.com/report/site/organic/...
Active API Keys
3
● All endpoints operational
Requests Today
28,421
+14.2% vs yesterday
Total Spend (Today)
$14.28
From $770.00 wallet
Gateway Latency
201 ms
99.98% Success Rate
Name & Products Key Token Rate Limit Usage Spend Last Used Status Actions
Suraj API Key
Ahrefs v3 Semrush
hk_live_8f93...4b12
120 req/min $9.24 (184k reqs) 22/10/2026, 05:39:28 Active
Production Data Crawler
Semrush
hk_live_41c0...9e88
300 req/min $25.20 (420k reqs) 19/10/2026, 13:56:15 Active
Claude Code Local Agent
Ahrefs v3
hk_live_77d1...ff20
60 req/min $0.62 (12.4k reqs) 16/10/2026, 15:25:38 Active
Total Credits Allocated
26,500,000
Across Semrush, Ahrefs, Majestic & Keys.so
Total Credits Consumed
600
0.002% of total bundle pool
Active Wallet Balance
$770.00 USD

Service Micro-Credit Schedules

SERVICE UNIT RATE MINIMUM BUNDLE PER-QUERY COSTING PURCHASE
Semrush USD 0.000060 per credit from 50,000 credits ($3.00) 1 credit per row returned
Ahrefs v3 USD 0.000050 per unit from 100,000 credits ($5.00) max(50, per_row_cost × rows), 10 for metrics
Majestic USD 0.000002 per credit from 5,000,000 credits ($10.00) 1 credit per index lookup
Keys.so USD 0.000200 per credit from 50,000 credits ($10.00) 1 credit per semantic keyword
Total Logged Queries
8 Requests
Exported telemetry window
Credits Deducted
600
Exact query deduction
Avg Execution Time
201 ms
Edge cache enabled
Error Rate
0.00%
100% 200 OK
DATE PRODUCT METHOD HOST / PATH CREDITS LATENCY STATUS
22/10/2026, 05:39:28 Semrush GET api-semrush.hubskit.com/?type=domain_organic&domain=vlsisystemdesign.com&database=in&display_limit=15&export_columns=Ph,Po,Nq,Ur&display_sort=tr_desc 150 439 ms 200 OK
22/10/2026, 05:39:27 Semrush GET api-semrush.hubskit.com/?type=domain_organic&domain=vlsiguru.com&database=in&display_limit=15&export_columns=Ph,Po,Nq,Ur&display_sort=tr_desc 150 509 ms 200 OK
22/10/2026, 05:39:26 Semrush GET api-semrush.hubskit.com/?type=domain_organic&domain=chipedge.com&database=in&display_limit=15&export_columns=Ph,Po,Nq,Ur&display_sort=tr_desc 150 459 ms 200 OK
22/10/2026, 05:39:26 Semrush GET api-semrush.hubskit.com/?type=domain_organic&domain=maven-silicon.com&database=in&display_limit=15&export_columns=Ph,Po,Nq,Ur&display_sort=tr_desc 150 983 ms 200 OK
19/10/2026, 19:26:15 Ahrefs GET ahrefs-api.hubskit.com/v3/subscription-info/limits-and-usage 0 12 ms 200 OK
16/10/2026, 20:55:38 Ahrefs GET ahrefs-api.hubskit.com/v3/public/domain-rating-free?target=gbseo.ru 10 513 ms 200 OK
16/10/2026, 18:45:10 Majestic GET api-majestic.hubskit.com/?cmd=GetIndexItemInfo&item=apple.com&datasource=fresh 25 284 ms 200 OK
15/10/2026, 11:20:04 Keys.so GET api-keys-so.hubskit.com/report/site/organic/keywords?site=yandex.ru&limit=50 50 320 ms 200 OK
Ahrefs v3 REST API v3.0
Semrush Gateway REST
Majestic SEO API
Keys.so Gateway
AI Agent Skill (Claude/Cursor)
⚡ Interactive Playground
A

Ahrefs API v3

ahrefs ● Enabled
Full REST mirror of official Ahrefs v3 endpoints with sub-second residential routing
Available Credits 1,250,000 units
Active Keys 3 live
Cost Rate 10 units / base call
✨ Use with AI Agents (Claude Code, Cursor, Codex & AGY)
AGENT SKILL READY

Install the production Ahrefs skill bundle to grant your coding agent native tools to query backlinks, evaluate domain ratings, analyze search keywords, and inspect ranking velocity.

npx skills add https://skills.hubskit.com --skill ahrefs-api
Credit Purchase Price & Comparison
Pay-as-you-go credit consumption vs official Ahrefs enterprise subscription pricing
78% Savings Over Official API
GATEWAY / PROVIDER PRICE PER 10K CREDITS UNIT COST MINIMUM CONTRACT PAYMENT MODEL
HubsKit Headless Gateway $1.00 USD $0.000100 / unit $0 (None) Instant Prepaid Wallet
Official Ahrefs API (Enterprise) ~$4.50 USD $0.000450 / unit $1,000 / month Annual Enterprise Contract
The 5 Golden Rules that Prevent 99% of API Failures
  • 1. `select` parameter is MANDATORY: Tabular endpoints do NOT support wildcard * or blank select. You must explicitly list requested fields comma-separated (e.g. select=keyword,best_position,volume).
  • 2. Top-level response is always an OBJECT: Data is never returned as a raw JSON array. It is nested inside an object named after the endpoint resource (e.g. {"keywords": [...]}, {"metrics": {...}}).
  • 3. Historical & country endpoints require `date` or `date_from`: Date strings must strictly follow the ISO YYYY-MM-DD format. Invalid or missing dates will throw HTTP 400 Bad Request.
  • 4. Concurrency cap is 3 requests per second: Submitting more than 3 simultaneous queries on a single API token will trigger HTTP 429 Too Many Requests. Implement automatic backoff retry logic.
  • 5. Pricing formula: Single-metric lookups (Domain Rating, Metrics) cost flat 10 units. Multi-row tabular endpoints cost max(50, returned_rows × sum(field_weights)).
Authentication & Base URL
Pass your secret key in the standard HTTP Authorization header
BEARER AUTH
Base URL
https://ahrefs-api.hubskit.com/v3
Header
Authorization: Bearer <YOUR_API_KEY>
Content-Type
application/json; charset=utf-8
cURL Quickstart
curl -X GET 'https://ahrefs-api.hubskit.com/v3/site-explorer/domain-rating?target=apple.com' \ -H 'Authorization: Bearer hk_live_8f93...4b12' \ -H 'Accept: application/json'
Keywords history
Returns historical ranking and traffic volume trends across time for the target domain
GET /v3/site-explorer/keywords-history
Endpoint
/v3/site-explorer/keywords-history
Status
ACTIVE MIRROR
Response Key
keywords_history (Array of daily or monthly objects)
Cost Formula
max(50, rows × 1) units
PARAMETER REQUIRED TYPE DESCRIPTION
target Yes string Target domain, subdomain, or prefix (e.g. ahrefs.com)
date_from Yes string (YYYY-MM-DD) Start date for historical trend inspection
select Yes string Comma-separated fields to return (see valid fields below)
date_to No string (YYYY-MM-DD) End date for history range (defaults to current date)
history_grouping No string daily (default), weekly, or monthly
volume_mode No string monthly (default) or average
country No string 2-letter ISO country code (e.g. us, gb, de)
mode No string exact, prefix, domain, subdomains
Valid `select` Fields (Click to copy)
date org_cost org_traffic paid_cost paid_traffic
Sample Response JSON
{ "keywords_history": [ { "date": "2026-10-01", "org_traffic": 12450820, "org_cost": 8432100, "paid_traffic": 420100 }, { "date": "2026-10-02", "org_traffic": 12491200, "org_cost": 8461500, "paid_traffic": 419800 } ] }
Metrics by country
Organic and paid search performance broken down by geographic market
GET /v3/site-explorer/metrics-by-country
Endpoint
/v3/site-explorer/metrics-by-country
Response Key
metrics (Array of country distribution records)
Cost Formula
10 units flat
PARAMETER REQUIRED TYPE DESCRIPTION
target Yes string Target domain or URL
date Yes string (YYYY-MM-DD) Date for country distribution calculation
select No string Comma-separated column fields
mode No string exact, domain, subdomains
Valid `select` Fields
country org_cost org_keywords org_keywords_1_3 org_traffic paid_cost paid_keywords paid_traffic total_traffic
Domain rating & Ahrefs rank
Official backlink authority score on a logarithmic 0–100 scale and global rank
GET /v3/site-explorer/domain-rating
Endpoint
/v3/site-explorer/domain-rating
Response Key
domain_rating (Object containing rating and rank)
Cost Formula
10 units flat
PARAMETER REQUIRED TYPE DESCRIPTION
target Yes string Target root domain (e.g. stripe.com)
date No string (YYYY-MM-DD) Historical date (defaults to current live score)
Sample Response JSON
{ "domain_rating": { "domain_rating": 92.4, "ahrefs_rank": 148 } }
Metrics overview
Aggregated high-level overview: organic traffic, backlinks, referring domains, organic keywords
GET /v3/site-explorer/metrics
Endpoint
/v3/site-explorer/metrics
Response Key
metrics (Single high-level overview object)
Cost Formula
10 units flat
PARAMETER REQUIRED TYPE DESCRIPTION
target Yes string Target domain or URL
mode No string subdomains (default), exact, domain, prefix
Sample Response JSON
{ "metrics": { "org_traffic": 54201800, "org_cost": 38400190, "org_keywords": 4180290, "paid_traffic": 1204000, "paid_cost": 2190000, "backlinks": 148209340, "refdomains": 492040 } }
All backlinks
Live backlink profile including source URLs, anchor texts, dofollow status, and page authority
GET /v3/site-explorer/all-backlinks
Endpoint
/v3/site-explorer/all-backlinks
Response Key
backlinks (Array of inbound link objects)
Cost Formula
max(50, returned_rows × 1) units
PARAMETER REQUIRED TYPE DESCRIPTION
target Yes string Target domain or URL
select Yes string Comma-separated field names to extract
limit No integer (max 1000) Number of results per page (defaults to 100)
order_by No string Format: field:asc or field:desc (e.g. domain_rating_source:desc)
where No string (JSON) Structured filter condition (e.g. {"field":"is_dofollow","is":["equals",true]})
Valid `select` Fields
url_from url_to title anchor domain_rating_source traffic_source is_dofollow first_seen last_visited
Organic keywords
Search terms that the target domain ranks for in Google Top 100 organic search
GET /v3/site-explorer/organic-keywords
Endpoint
/v3/site-explorer/organic-keywords
Response Key
keywords (Array of ranking keyword objects)
Cost Formula
max(50, returned_rows × sum(field_weights)) units
PARAMETER REQUIRED TYPE DESCRIPTION
target Yes string Target root domain or URL
select Yes string Comma-separated field selection (weights apply to cost)
country No string 2-letter ISO country code (e.g. us)
limit No integer (max 1000) Number of keyword records to retrieve
Valid `select` Fields (Cost Weights in Brackets)
keyword (1) best_position (1) volume (10) difficulty (10) cpc (1) traffic (10) sum_traffic (10) url (1)
Advanced Filtering & Sorting (`where` / `order_by`)
JSON filter syntax specification for building complex server-side analytical filters
FILTER SPEC

The where parameter accepts URL-encoded JSON objects. Multiple filter conditions are combined with boolean and or or operators.

OPERATOR SYNTAX EXAMPLE
equals {"field": "country", "is": ["equals", "us"]} Filter records strictly from the United States
greater_than {"field": "org_traffic", "is": ["greater_than", 1000]} Filter keywords delivering over 1,000 monthly visits
less_than_or_equal {"field": "best_position", "is": ["less_than_or_equal", 10]} Find all Page 1 rankings (Positions 1 to 10)
contains {"field": "keyword", "is": ["contains", "pricing"]} High intent buyer queries containing "pricing"

Create API Key

Wallet & API Balance

CURRENT ACTIVE BALANCE
$770.00 USD
Instant Auto-Debit
$ USD
Estimated Buying Power:
Semrush API: 1,666,666 credits
Ahrefs v3: 2,000,000 rows
Majestic: 50,000,000 units
Workstations: ~21 Days Claude Max

Buy API Micro-Credits

ALLOCATION AMOUNT
500,000
~10,000 Full Queries
Selected Service: Ahrefs v3 REST API
Unit Micro-Rate: $0.000050 / credit
Package Volume: 500,000 credits
Total Due: $25.00 USD
Deducted automatically from your active $770.00 wallet balance