# SEO and SERP tracking API - Spider

Track keyword rankings by country and city. Spider returns the ranked results, each with its title, description and URL, as clean JSON for your dashboard.

Canonical: https://spider.cloud/use-cases/seo-tracking/

## Track rankings from every market you compete in.

For SEO teams that report rank by city and country. The [search API](https://spider.cloud/api/search/) 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.

[Get an API key](https://spider.cloud/register/) [Search API docs](https://spider.cloud/docs/api/search/)

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.

POST /search, sent 2026-11-06

```
{"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 }
}
```

One of the ten as the post prints it, every field kept. The post cut the page text after two lines, where the ... sits. The $0.0041 covers the search and reading all ten pages, so it runs above a plain search. The call came from the [fine-tuning dataset run](https://spider.cloud/blog/build-fine-tuning-dataset-from-the-web/), not a rank check; its method is on the [benchmarks page](https://spider.cloud/benchmarks/).

## 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](https://spider.cloud/proxy-locations/) page lists every country. For news and industry research, see [market research](https://spider.cloud/use-cases/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.

[Get an API key ](https://spider.cloud/register/)[Search guide](https://spider.cloud/guides/search/)

POST /search from San Diego, CA

```
{"search": "latest sports news", "search_limit": 5, "language": "en", "country": "us", "location": "San Diego, CA"}
```

The ranked array that comes back position = index + 1

1. espn.com Visit ESPN for live scores, highlights and sports news. Stream exclusive games on ESPN+ and play fantasy sports.
2. 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 2

The request and the array are the documented examples in the [search guide](https://spider.cloud/guides/search/), not a dated run.
