Track rankings from every market you compete in.
For SEO teams that report rank by city and country. The search API runs your keyword from the place you name and returns each result's position, title, URL and description as JSON, so a daily job can store the rank and chart the change.
Search bills pay as you go, from $1 per GB plus $0.0001 per minute. The rate card puts a typical /search call at $0.001. Cost varies by site. Proxies in 199+ countries.
{"search": "kubernetes pod disruption budget explained", "search_limit": 10, "fetch_page_content": true, "return_format": "markdown"}ten results, 4.5 s, $0.0041 with all ten pages read
{
"url": "https://kubernetes.io/docs/tasks/run-application/configure-pdb/",
"status": 200,
"error": null,
"content": "Specifying a Disruption Budget for your Application | Kubernetes\n[** Edit this page](https://github.com/kubernetes/website/edit/main/content/en/docs/tasks/run-application/configure-pdb.md)\n ...",
"duration_elasped_ms": 1963,
"costs": { "total_cost": 0.0008062928166666666 }
}Same keyword, different position per market.
Six request fields decide which results page you see. Change one and the same keyword can rank somewhere else.
| Field | Example | What it does |
|---|---|---|
| location | "San Diego, CA" | The place the search originates from. |
| country | "us" | Two-letter country code to prioritize results from. |
| language | "en" | Two-letter language code for the results. |
| tbs | "qdr:w" | Holds results to a time window, here the past week. |
| num | 10 | Results requested per search page. The default is 10. |
| page | 2 | The results page to fetch, with num, to read past page one. |
Loop one keyword list over every location you sell in, one call per keyword per place. The proxy locations page lists every country. For news and industry research, see market research.
The position is the index plus one.
Name the city in location and the results come back in the order a searcher there sees them. Store each URL's index with the date, and the change from one day to the next is your report. Set fetch_page_content to true, as in the call at the top, and each result also carries the competing page's text.
2,500 free credits, worth $0.25, if your signup passes our checks. No card required. Run the San Diego, CA request with three location values and compare the positions.
{"search": "latest sports news", "search_limit": 5, "language": "en", "country": "us", "location": "San Diego, CA"}- espn.com Visit ESPN for live scores, highlights and sports news. Stream exclusive games on ESPN+ and play fantasy sports.
- si.com SI.com provides sports news, expert analysis, highlights, stats and scores for the NFL, NBA, MLB, NHL, college football, soccer...
rank = [r["url"] for r in results].index("https://www.si.com/") + 1 si.com at 2The request and the array are the documented examples in the search guide, not a dated run.