Endpoints
All responses share one envelope:
{
"request_id": "b04a3642b67546fc",
"data": { … },
"meta": { "credits_charged": 300, "cached": false, "provider": "semrushapi", "rows": 1 }
}
GET /v1/serp
Organic results for one query.
q | Query string. Required. |
depth | 10–100 results. Default 20. |
location | Location code, default 2840 (US). |
language | Two-letter code, default en. |
provider | Optional upstream override. |
curl "https://api.seorows.com/v1/serp?q=running+shoes&depth=20" \
-H "X-API-Key: sk_live_…"
{"data": {"keyword": "running shoes", "items": [
{"rank": 1, "url": "https://www.nike.com/…", "domain": "www.nike.com", "title": "…"}
]}}
GET /v1/keywords/volume
Search volume, CPC and competition for up to 20 comma-separated terms, in one upstream round trip.
curl "https://api.seorows.com/v1/keywords/volume?keywords=running+shoes,trail+running" \
-H "X-API-Key: sk_live_…"
{"data": {"keywords": [
{"keyword": "running shoes", "volume": 246000, "cpc": 0.76, "competition": "HIGH"}
]}}
GET /v1/keywords/difficulty
0–100 difficulty per term, same batching rules.
GET /v1/domain/overview
Authority, backlinks and organic footprint for one domain.
{"data": {"domain": "semrush.com", "rank": 1340, "organic_keywords": 479166,
"organic_traffic": 1747309, "backlinks": 112621948, "referring_domains": 470673}}
GET /v1/domain/competitors
Domains sharing keywords with the target. limit 1–100, default 20.
GET /v1/apps/search
App store search. store is apple or google; limit 1–50.
GET /v1/apps/{id}
Listing detail. Runs upstream in standard mode: 5–45s.
GET /v1/apps/{id}/reviews
Newest reviews with ratings. limit 1–100.
GET /v1/apps/{id}/estimates
Modelled download and revenue bands with a confidence level. These are estimates from public signals, not audited figures — present them as bands, never as exact revenue.
{"data": {"app_id": "544007664", "confidence": "medium",
"downloads": {"low": 2379, "mid": 62408, "high": 349256, "period": "30d"},
"revenue": {"low": 4288, "mid": 20999, "high": 76034, "period": "30d"}}}
POST /v1/batch
Up to 20 operations in one request. Each op is billed independently; one failing op does not fail the batch.
curl -X POST https://api.seorows.com/v1/batch \
-H "X-API-Key: sk_live_…" -H "content-type: application/json" \
-d '{"ops":[{"endpoint":"domain.overview","params":{"domain":"a.com"}},
{"endpoint":"keywords.volume","params":{"keywords":"x,y"}}]}'