# Keyword research

> Request keyword search volume, competition, and cost-per-click data, and retrieve the completed report.

Canonical: https://docs.georanker.com/SERP-API/Keyword-Research

Request keyword metrics for a region and source. With `suggestions: false`, the API returns search volume, competition, and cost-per-click data for the keywords you supply.

## Create a keyword report

Set `HV_API_KEY` to your [HV API key](https://docs.georanker.com/SERP-API/Getting-Started). This cURL 7.87 or later example requests Google keyword data for `coffee roasters` in the United States.

```bash
curl --fail-with-body --silent --show-error \
  --request POST 'https://api.highvolume.georanker.com/keyword/new' \
  --url-query "apikey=$HV_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"keywords":["coffee roasters"],"region":"US","source":"google","asynchronous":true,"suggestions":false}'
```

HTTP `200` returns a report ID. Save it, then retrieve `GET /keyword/{id}` with the same HV key. A processing report has `ready: false` and can have `data: null`. Wait between checks, stop on failure or your integration's deadline, and read results when `ready` is `true` and `faulty` is `false`. [Keyword response fields](https://docs.georanker.com/SERP-API/Keyword-Research?fields=1#tag/keywords-api/GET/keyword/%7Bid%7D)

## Keyword request fields

| Field | How to use it |
| --- | --- |
| `keywords` | Send up to 20 keywords, each up to 80 characters. |
| `region` | Use a country code such as `US` or a supported canonical region. For a custom `regionSearch`, omit `region` so it does not take precedence. |
| `source` | Use `google` or `baidu`. |
| `asynchronous` | Set to `true` to submit first and retrieve later. |
| `suggestions` | Defaults to `false`. Set to `true` to request suggestions based on the keyword list. |
| `url` | With `source: "google"` and `suggestions: true`, provide a website URL to request suggestions based on that site. |
| `language` | Two-letter language code. An omitted or unsupported language leaves results unfiltered by language. |
| `priority` | Affects turnaround and cost. Review pricing before choosing a priority. |

Choose a [supported region](https://docs.georanker.com/SERP-API/Getting-Started?fields=1#tag/region/GET/region/list) for your market. [All keyword request fields and HTTP status codes](https://docs.georanker.com/SERP-API/Keyword-Research?fields=1#tag/keywords-api/POST/keyword/new)

## Read keyword metrics

The completed response contains `data.results`. Each result identifies its `keyword` and can include the following metrics.

| Field | Meaning |
| --- | --- |
| `competition` | Competition for the keyword. For Google Ads, the value ranges from 0 to 1. |
| `costPerClick` | Historical average CPC, in US dollars for Google Ads or Chinese yuan for Baidu. |
| `searchVolume` | Approximate search volume for the keyword. |
| `monthlySearchVolumes` | Up to 12 months of search volume, with `year`, `month`, and `searchVolume`. |
| `searchVolumeMobileRatio` | Mobile share of total search volume when the source distinguishes mobile and desktop. |

## Work with keyword batches

Use `POST /keyword/new/list` to submit an array of up to 1,000 keyword request objects. Each request has its own report ID and callback. Each object's `keywords` field follows the single-request limit. [Create a keyword batch](https://docs.georanker.com/SERP-API/Keyword-Research?fields=1#tag/keywords-api/POST/keyword/new/list)

Send an array of keyword report IDs to `POST /keyword/list` to retrieve several reports. Check `ready` and `faulty` on each returned report before reading its results. [Retrieve a keyword batch](https://docs.georanker.com/SERP-API/Keyword-Research?fields=1#tag/keywords-api/POST/keyword/list)

## Try keyword research

Select **Try API** on this page and connect your key. Check [pricing](https://docs.georanker.com/HV-API/Pricing) and [credits](https://docs.georanker.com/HV-API/Usage-and-Credits) before submitting. If submission times out before you receive an ID, check whether the report was created before sending it again.
