Keyword Rank API
Keyword Rank API — one term, one position
Send a keyword, get back the live ranked SERP, and read any domain's exact position. A lightweight keyword rank API at $0.30 per 1,000 queries with sub-second responses.
{ "searchTime": 0.17, "totalResults": 85000, "page": 1, "organic": [ { "position": 1, "title": "31.10. Connection Pools and Data Sources", "link": "www.postgresql.org/docs/…", "domain": "postgresql.org", "snippet": "For an environment without an application se…" }, { "position": 2, "domain": "medium.com", … }, { "position": 3, "domain": "stackoverflow.blog", … } ], "credits": 1}The keyword rank API is the simplest possible ranking primitive: in goes a keyword and a market, out comes the ordered list of results with positions. Locate your domain and you have its keyword rank — no scrapers, no proxies, no parsing.
It is designed to be embedded anywhere you need a quick, reliable rank lookup: a tool, a script, a scheduled job. Pricing is flat at $0.30 per 1,000 queries, so it stays cheap whether you check one keyword or millions.
Features
Direct position read
Each result carries its rank, so a keyword's position is a one-line lookup.
Any keyword
Works for any term, including long-tail and competitor-brand keywords.
Market targeting
Country and language parameters return locale-accurate positions.
Embeds anywhere
A single GET request fits scripts, cron jobs, and product features alike.
Get started in one request
The keyword rank API is one request; find the domain in the results to read its rank.
curl "https://api.searlo.tech/api/v1/search/web?q=noise%20cancelling%20headphones&num=10" \
-H "x-api-key: YOUR_API_KEY"import requests
r = requests.get(
"https://api.searlo.tech/api/v1/search/web",
params={"q": "noise cancelling headphones", "num": 10},
headers={"x-api-key": "YOUR_API_KEY"},
)
results = r.json()["organic"]
# position of your domain in the SERP
rank = next(
(o["position"] for o in results
if "yourdomain.com" in o["domain"]),
None,
)
print("rank:", rank)const res = await fetch(
"https://api.searlo.tech/api/v1/search/web?q=" +
encodeURIComponent("noise cancelling headphones") + "&num=10",
{ headers: { "x-api-key": "YOUR_API_KEY" } },
);
const { organic } = await res.json();
const rank = organic.find(o =>
o.domain.includes("yourdomain.com"))?.position ?? null;
console.log("rank:", rank);Searlo vs Keyword.com
Keyword.com is a rank-tracking dashboard. Searlo's keyword rank API gives you the position data directly to build with.
| Capability | Searlo | Keyword.com |
|---|---|---|
| Delivery | REST API | Dashboard |
| Price | $0.30 / 1,000 queries | Per-keyword plans |
| Caps | None | Plan-limited |
| Competitor data | Included | Included |
| Free credits | 3,000 | Trial |
A primitive you build on
Because the keyword rank API is so simple, it composes cleanly into larger systems. Wrap it in a function for a one-off lookup, loop it over a keyword list for bulk checks, or schedule it to build ranking history. The endpoint never changes — only how you orchestrate it.
Every call also returns the surrounding results, so a single keyword lookup doubles as a snapshot of the competitive field.
- Single lookups or bulk loops
- Scheduled history collection
- Competitor positions for free
- Locale-accurate ranking
Where it fits
- Quick rank lookups in scripts and tools
- Bulk keyword rank checks
- Scheduled keyword ranking history
- Competitor keyword position snapshots
- Localized keyword rank verification
- Backends for rank-checking features
FAQ
Frequently asked questions
What is a keyword rank API?
An API that returns the ranked results for a keyword so you can read any domain's exact position programmatically.
How do I read the rank?
Scan the organic array for your domain; its position field is the keyword rank. The code samples above show this in three languages.
Can I do bulk keyword rank checks?
Yes. Each keyword is one query; run them concurrently with no per-keyword caps.
Does it support localized ranks?
Yes. Pass country and language parameters for market-accurate positions.
What is the price?
$0.30 per 1,000 queries, with 3,000 free credits to start.