---
title: SERP Rank Checker API
slug: serp-rankings-for-keyword
url: https://apyhub.com/apyhub/service/serp-rankings-for-keyword
provider: ApyHub
categories: [Retrieval Kit]
tags: [seo, serp, rank]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 250
mcp: true
alias: serp-rank
---

# SERP Rank Checker API

Rank tracker API for Google: send a keyword, country and language, get each result's position, URL and title as JSON. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/apyhub/serp-rankings-for-keyword` | What it does Retrieves SERP rankings for a keyword and returns the matching results in the response… | 250 |

## Endpoint reference

### Get SERP rankings for a keyword

`POST https://api.eu.apyhub.com/apyhub/serp-rankings-for-keyword` · 250 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `size` | body | integer | no | Number of results to return. Default: `10`. Example: `10`. |
| `keyword` | body | string | yes | Search keyword or phrase. Example: `fastapi python tutorial`. |
| `language` | body | string | no | ISO 639-1 language code (e.g. en, de, fr, ja, zh-cn). Default: `en`. Example: `en`. |
| `location` | body | string | no | ISO 3166-1 alpha-2 country code (e.g. us, gb, de, in, au). Default: `us`. Example: `us`. |

#### Quickstart

Search SERP rankings for a keyword with the required keyword plus the default locale settings.

```bash
curl -X POST "https://api.eu.apyhub.com/apyhub/serp-rankings-for-keyword" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "FastAPI python"
  }'
```

#### What you'll get back

Returns a JSON object with a `data` array field.`data` is an array of result objects, each with fields like `url`, `rank`, `type`, `title`, `domain`, `breadcrumb`, and `description`.

```json
{
  "data":  [
      {
        "url": "https://fastapi.tiangolo.com",
        "rank": 1,
        "type": "organic",
        "title": "FastAPI - Modern Python Web Framework",
        "domain": "fastapi.tiangolo.com",
        "breadcrumb": "fastapi.tiangolo.com",
        "description": "FastAPI framework, high performance, easy to learn, fast to code."
      }
    ]
}
```

## About

## What it does
The **Rank Tracker API** shows where pages rank on Google for any keyword. Send a `keyword`, and optionally a `location` (country code), `language`, and `size` (number of results). You get back a JSON `data` array with each result's `rank`, `url`, `title`, `domain`, `breadcrumb`, and `description`. Each result is labeled by `type`, so organic and sponsored listings stay separate.

To track keyword rankings over time, call the rank tracker API on a schedule, daily or weekly, and store the positions. Find your domain in the results to get your position, and see which competitors rank above you. Change `location` and `language` to check the same keyword in other markets.

Teams use it as a keyword ranking API and SEO rank API behind rank tracking dashboards, client reports, and alerts when a page drops. It returns the top results for a query; for larger result sets and SERP features, use the [SE Ranking SERP API](https://apyhub.com/se-ranking/service/serp-results-classic).

To understand why rankings move, pair it with the [Backlinks API](https://apyhub.com/se-ranking/service/backlinks) and the [Keyword Research API](https://apyhub.com/se-ranking/service/keyword-research), and read the pages that outrank you with the [Extract Text from Webpage API](https://apyhub.com/apyhub/service/extract-visible-text-from-a-webpage). AI agents can also call it through ApyHub MCP.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/serp-rankings-for-keyword
