API

Keyword Research

Keyword Research API provides programmatic access to keyword metrics and discovery. Data is refreshed on a monthly basis.

Using the API, you can:

  • retrieve keyword metrics such as search volume, CPC, competition, difficulty, and historical trends
  • discover similar keywords with the same user intent
  • find related keywords based on overlapping search results
  • get question keywords associated with a seed keyword
  • discover long-tail keywords that are lower-volume and more specific

Get Keyword Metrics (Bulk)

POST https://api.seranking.com/v1/keywords/export
Cost: 100 credits per request

Retrieves various data points for a list of specified keywords within a given regional database. It’s designed for bulk analysis and returns metrics like search volume, CPC, competition, keyword difficulty, search intent, and historical search volume trends for each submitted keyword.

By default, the returned history_trend covers the 12 most recent months, ending at the current month. Use the optional history_to parameter to end the window at an earlier month, and history_from to start it later — together they return a custom date range (e.g. to reconstruct a keyword’s seasonality as of a past date). The window is always capped at 12 months.

Request

Send source in the query string and all other inputs in a JSON request body (Content-Type: application/json).

Note: The source parameter must be provided as a query parameter in the endpoint URL.

Query parameters

ParameterTypeRequiredDefaultDescription
sourceStringYesCountry code of the regional keyword database (e.g., us). For acceptable values, see Regional database codes.

Body parameters

ParameterTypeRequiredDefaultDescription
keywordsString[]YesArray of keywords to analyze, e.g. ["seo platform", "seranking.com"]. Between 1 and 5,000 keywords per request.
sortStringNocpcField the results are sorted by: volume, cpc, difficulty, or competition.
sort_orderStringNodescSorting order: asc (ascending) or desc (descending).
history_fromStringNoStart month of the history_trend window, YYYY-MM-DD (the day is ignored). Only takes effect together with history_to — sent on its own it is ignored. The window then runs from history_from through history_to inclusive, capped at the most recent 12 months. Must not be later than history_to.
history_toStringNoCurrent monthEnd month of the history_trend window, YYYY-MM-DD (the day is ignored). On its own it returns the 12 months ending at this month — e.g. 2024-05-01 returns 2023-06-01 through 2024-05-01. Combine with history_from for a shorter range. Must not be a future month.

Request example

Copy
curl -X POST 'https://api.seranking.com/v1/keywords/export?source=us' \
-H 'Authorization: Token YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"keywords": ["seo platform", "seranking.com"],
"sort": "cpc",
"sort_order": "desc"
}'

Request example — custom history window

Copy
curl -X POST 'https://api.seranking.com/v1/keywords/export?source=us' \
-H 'Authorization: Token YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"keywords": ["seo platform"],
"history_from": "2024-01-01",
"history_to": "2024-05-01"
}'

Omit history_from to get the full 12 months ending at history_to.

Response parameters

If successful, the server returns a JSON array. Each object in this array corresponds to one of the keywords submitted in the request and contains the requested data points.

ParameterTypeDescription
is_data_foundBooleanIndicates whether data was successfully found and retrieved for this specific keyword: true (found) / false (otherwise).
keywordStringKeyword phrase as submitted in the request.
volumeIntegerAverage monthly search volume for this keyword in the specified source database.
cpcFloatAverage Cost Per Click for this keyword.
competitionFloatPaid-search competition level for this keyword, on a 0–1 scale (higher = more competition).
difficultyIntegerKeyword difficulty — how hard it is to rank organically for this keyword, on a 0–100 scale (higher = harder).
intentsArrayArray of search intent codes. Possible values: I (Informational — user is looking for information), C (Commercial — user is investigating products, services, or brands), T (Transactional — user wants to complete an action or purchase), L (Local — user is looking for a location or something nearby), N (Navigational — user is looking for a specific website or page).
history_trendObjectObject containing historical search volume data for the keyword. Each key is a YYYY-MM-DD string representing the first day of a month, and the value is the search volume for that month. By default the window covers the 12 months ending at the current month; it is shifted by history_to and narrowed by history_from (see Request).

Response example

Copy
[
{
"is_data_found": true,
"keyword": "seo platform",
"volume": 160,
"cpc": 3.87,
"competition": 0.06,
"difficulty": 31,
"intents": ["C", "I"],
"history_trend": {
"2024-06-01": 70,
"2024-07-01": 70,
"2024-08-01": 80,
"2024-09-01": 140,
"2024-10-01": 140,
"2024-11-01": 140,
"2024-12-01": 110,
"2025-01-01": 160,
"2025-02-01": 200,
"2025-03-01": 240,
"2025-04-01": 240,
"2025-05-01": 300
}
},
{
"is_data_found": true,
"keyword": "seranking.com",
"volume": 480,
"cpc": 2,
"competition": 0.01,
"difficulty": 16,
"intents": ["C", "I"],
"history_trend": {
"2024-06-01": 30,
"2024-07-01": 50,
"2024-08-01": 40,
"2024-09-01": 70,
"2024-10-01": 20,
"2024-11-01": 30,
"2024-12-01": 40,
"2025-01-01": 260,
"2025-02-01": 1300,
"2025-03-01": 1600,
"2025-04-01": 1300,
"2025-05-01": 880
}
}
]

Get similar keywords

GET https://api.seranking.com/v1/keywords/similar
Cost: 10 credits per returned keyword

Retrieves keywords similar to a specified seed keyword within a regional database. Semantically similar keywords include synonyms, close variations, or different phrasings with the same intent. The method returns metrics such as search volume, CPC, competition, keyword difficulty, search intent, and historical trends.

Request parameters

ParameterTypeRequiredDefaultDescription
sourceStringYesN/ACountry code of the regional keyword database (e.g., us). For acceptable values, see Regional database codes.
keywordStringYesN/ASeed keyword used to find similar keywords (e.g., avocado).
limitIntegerNo100Maximum number of keywords to return per page (e.g., 10). Positive integer.
offsetIntegerNo0Starting offset for pagination (e.g., 0). Non-negative integer.
sortStringNoN/AField by which keywords are sorted:
• keyword
• volume
• cpc
• difficulty
• competition
sort_orderStringNodescSorting order:
• asc – ascending
• desc – descending
history_trendBooleanNoFALSEIndicates whether to include historical search volume trend data in the response:
• true
• false
filter[volume][from]IntegerNoN/AMinimum monthly search volume (e.g., 50). Non-negative integer.
filter[volume][to]IntegerNoN/AMaximum monthly search volume (e.g., 5000). Non-negative integer.
filter[difficulty][from]IntegerNoN/AMinimum keyword difficulty score. Integers from 0 to 100.
filter[difficulty][to]IntegerNoN/AMaximum keyword difficulty score. Integers from 0 to 100.
filter[cpc][from]FloatNoN/AMinimum Cost Per Click (e.g., 0.1). Non-negative float.
filter[cpc][to]FloatNoN/AMaximum Cost Per Click (e.g., 3). Non-negative float.
filter[competition][from]FloatNoN/AMinimum competition score (e.g., 0.2). Floats from 0.0 to 1.0.
filter[competition][to]FloatNoN/AMaximum competition score (e.g., 0.7). Floats from 0.0 to 1.0.
filter[keyword_count][from]IntegerNoN/AMinimum number of words in the keyword (e.g., 3). Positive integer.
filter[keyword_count][to]IntegerNoN/AMaximum number of words in the keyword (e.g., 5). Positive integer.
filter[characters_count][from]IntegerNoN/AMinimum character length of the keyword (e.g., 20). Positive integer.
filter[characters_count][to]IntegerNoN/AMaximum character length of the keyword (e.g., 50). Positive integer.
filter[serp_features]StringNoN/AComma-separated list of SERP features to filter results (e.g., sge, images, top_stories). For acceptable values, see SERP features.
filter[intents]StringNoN/AComma-separated list of intent codes:
• I – informational
• N – navigational
• T – transactional
• C – commercial
• L – local
filter[multi_keyword_included]ArrayNoN/AKeywords to include based on specific patterns. Each element is an array of objects with type (begins, contains, ends, exact) and value (string to match).
filter[multi_keyword_excluded]ArrayNoN/AKeywords to exclude based on specific patterns. Each element is an array of objects with type (begins, contains, ends, exact) and value (string to match).

Request example

Copy
curl --location 'https://api.seranking.com/v1/keywords/similar?source=us&keyword=avocado&limit=10&offset=0&sort=keyword&sort_order=asc&history_trend=true&filter[volume][from]=50&filter[volume][to]=5000&filter[difficulty][from]=18&filter[difficulty][to]=40&filter[cpc][from]=0.10&filter[cpc][to]=3.00&filter[competition][from]=0.2&filter[competition][to]=0.7&filter[keyword_count][from]=3&filter[keyword_count][to]=5&filter[characters_count][from]=20&filter[characters_count][to]=50&filter[serp_features]=featured_snippets,images&filter[intents]=I,C&filter[multi_keyword_included]=[[{"type":"contains","value":"oil"}],[{"type":"exact","value":"avocado recipes"}]]' \
--header 'Authorization: Token YOUR_API_KEY'

Response parameters

If successful, the server returns a JSON object containing the total count of available similar keywords and an array of keyword objects.

ParameterTypeDescription
totalIntegerTotal number of similar keywords matching the criteria (ignoring limit and offset).
keywordsArrayArray of objects, each representing a similar keyword with its metrics.

Each object in the keywords array has the following structure:

ParameterTypeDescription
keywordStringSimilar keyword phrase.
volumeIntegerAverage monthly search volume for this keyword in the specified source database.
cpcFloatAverage Cost Per Click for this keyword.
difficultyIntegerScore indicating the keyword’s ranking difficulty (0-100).
competitionFloatScore indicating the level of competition for this keyword (0.0-1.0).
intentsArrayArray of search intent codes.
serp_featuresArrayArray of SERP features associated with the keyword.
history_trendObjectIf history_trend=true is included in the request, the object contains the historical search volume for the keyword:
• Each key is a date string in YYYY-MM-DD format (the first day of the month).
• Each value is the search volume for that month.
• Can be null if historical data is unavailable.

Response example

Copy
{
"total": 35,
"keywords": [
{
"keyword": "can you cook with avocado oil",
"volume": 480,
"cpc": 1.20,
"difficulty": 6,
"competition": 0.4,
"intents": ["I"],
"serp_features": ["featured_snippets", "videos"],
"history_trend": {
"2024-05-01": 400,
"2024-06-01": 450,
"2024-07-01": 480,
"2024-08-01": 500,
"2024-09-01": 520,
"2024-10-01": 480,
"2024-11-01": 460,
"2024-12-01": 440,
"2025-01-01": 500,
"2025-02-01": 550,
"2025-03-01": 600,
"2025-04-01": 0
}
},
{
"keyword": "avocado recipes",
"volume": 1000,
"cpc": 0.80,
"difficulty": 12,
"competition": 0.3,
"intents": ["I", "C"],
"serp_features": ["recipes", "images"],
"history_trend": {
"2024-05-01": 900,
"2024-06-01": 950,
"2024-07-01": 1000,
"2024-08-01": 1050,
"2024-09-01": 1100,
"2024-10-01": 1000,
"2024-11-01": 950,
"2024-12-01": 900,
"2025-01-01": 1050,
"2025-02-01": 1100,
"2025-03-01": 1200,
"2025-04-01": 0
}
}
]
}

GET https://api.seranking.com/v1/keywords/related
Cost: 10 credits per returned keyword

Retrieves keywords that are topically related to a specified seed keyword within a regional database. Topically related keywords are based on having a high degree of overlapping URLs in their search results. The method returns metrics such as search volume, CPC, competition, keyword difficulty, search intent, relevance score, and optional historical search volume trends.

Request parameters

ParameterTypeRequiredDefaultDescription
sourceStringYesN/ACountry code of the regional keyword database (e.g., us, uk). For acceptable values, see Regional database codes.
keywordStringYesN/ASeed keyword used to find related keywords (e.g., avocado).
limitIntegerNo100Maximum number of keywords to return per page (e.g., 10). Positive integer.
offsetIntegerNo0Starting offset for pagination (e.g., 0). Non-negative integer.
sortStringNoN/AField by which keywords are sorted:
• keyword
• volume
• cpc
• difficulty
• competition
sort_orderStringNodescSorting order:
• asc – ascending
• desc – descending
history_trendBooleanNoFALSEIndicates whether to include historical search volume trend data in the response:
• true
• false
filter[volume][from]IntegerNoN/AMinimum monthly search volume (e.g., 50). Non-negative integer.
filter[volume][to]IntegerNoN/AMaximum monthly search volume (e.g., 5000). Non-negative integer.
filter[difficulty][from]IntegerNoN/AMinimum keyword difficulty score. Integers from 0 to 100.
filter[difficulty][to]IntegerNoN/AMaximum keyword difficulty score. Integers from 0 to 100.
filter[cpc][from]FloatNoN/AMinimum Cost Per Click (e.g., 0.1). Non-negative float.
filter[cpc][to]FloatNoN/AMaximum Cost Per Click (e.g., 3). Non-negative float.
filter[competition][from]FloatNoN/AMinimum competition score (e.g., 0.2). Floats from 0.0 to 1.0.
filter[competition][to]FloatNoN/AMaximum competition score (e.g., 0.7). Floats from 0.0 to 1.0.
filter[keyword_count][from]IntegerNoN/AMinimum number of words in the keyword (e.g., 3). Positive integer.
filter[keyword_count][to]IntegerNoN/AMaximum number of words in the keyword (e.g., 5). Positive integer.
filter[characters_count][from]IntegerNoN/AMinimum character length of the keyword (e.g., 20). Positive integer.
filter[characters_count][to]IntegerNoN/AMaximum character length of the keyword (e.g., 50). Positive integer.
filter[serp_features]StringNoN/AComma-separated list of SERP features to filter results (e.g., sgeimagestop_stories).
For acceptable values, see SERP features.
filter[intents]StringNoN/AComma-separated list of intent codes:
• I – informational
• N – navigational
• T – transactional
• C – commercial
• L – local
filter[multi_keyword_included]ArrayNoN/AKeywords to include based on specific patterns. Each element is an array of objects with type (begins, contains, ends, exact) and value (string to match).
filter[multi_keyword_excluded]ArrayNoN/AKeywords to exclude based on specific patterns. Each element is an array of objects with type (begins, contains, ends, exact) and value (string to match).

Request example

Copy
curl --location 'https://api.seranking.com/v1/keywords/related?source=us&keyword=avocado&limit=10&offset=0&sort=keyword&sort_order=asc&history_trend=true&filter[volume][from]=50&filter[volume][to]=5000&filter[difficulty][from]=18&filter[difficulty][to]=40&filter[cpc][from]=0.10&filter[cpc][to]=3.00&filter[competition][from]=0.2&filter[competition][to]=0.7&filter[keyword_count][from]=3&filter[keyword_count][to]=5&filter[characters_count][from]=20&filter[characters_count][to]=50&filter[serp_features]=featured_snippets,images&filter[intents]=I,C&filter[multi_keyword_included]=[[{"type":"contains","value":"oil"}],[{"type":"exact","value":"avocado recipes"}]]' \
--header 'Authorization: Token YOUR_API_KEY'

Response parameters

If successful, the server returns a JSON object containing the total count of available related keywords and an array of keyword objects.

ParameterTypeDescription
totalIntegerTotal number of related keywords matching the criteria (ignoring limit and offset).
keywordsArrayArray of objects, each representing a related keyword with its metrics.

Each object in the keywords array has the following structure:

ParameterTypeDescription
keywordStringRelated keyword phrase.
volumeIntegerAverage monthly search volume for this keyword in the specified source database.
cpcFloatAverage Cost Per Click for this keyword.
difficultyIntegerScore indicating the keyword’s ranking difficulty (0-100).
competitionFloatScore indicating the level of competition for this keyword (0.0-1.0).
serp_featuresArrayArray of SERP features associated with the keyword.
relevanceIntegerRelevance score of the returned keyword in relation to the queried keyword.
intentsArrayArray of search intent codes.
history_trendObjectIf history_trend=true is included in the request, the object contains the historical search volume for the keyword:
• Each key is a date string in YYYY-MM-DD format (the first day of the month).
• Each value is the search volume for that month.
• Can be null if historical data is unavailable.

Response example

Copy
{
"total": 21,
"keywords": [
{
"keyword": "avocado anbauen deutschland",
"cpc": 0,
"difficulty": 9,
"volume": 140,
"competition": 0.06,
"serp_features": [
"images",
"sge",
"related_searches"
],
"relevance": 6,
"intents": [
"I"
],
"history_trend": {
"2024-06-01": 140,
"2024-07-01": 170,
"2024-08-01": 140,
"2024-09-01": 140,
"2024-10-01": 110,
"2024-11-01": 90,
"2024-12-01": 110,
"2025-01-01": 170,
"2025-02-01": 140,
"2025-03-01": 260,
"2025-04-01": 140,
"2025-05-01": 170
}
},
{
"keyword": "avocado baum deutschland",
"cpc": 0,
"difficulty": 9,
"volume": 110,
"competition": 0.09,
"serp_features": [
"featured_snippets",
"reviews",
"images",
"sge",
"related_searches"
],
"relevance": 6,
"intents": [
"I"
],
"history_trend": {
"2024-06-01": 90,
"2024-07-01": 110,
"2024-08-01": 110,
"2024-09-01": 110,
"2024-10-01": 110,
"2024-11-01": 90,
"2024-12-01": 90,
"2025-01-01": 70,
"2025-02-01": 110,
"2025-03-01": 170,
"2025-04-01": 140,
"2025-05-01": 140
}
}
]
}

Get question keywords

GET https://api.seranking.com/v1/keywords/questions
Cost: 10 credits per returned keyword

Retrieves keywords phrased as common user questions related to a specified seed keyword within a regional database. The method returns metrics such as search volume, CPC, competition, keyword difficulty, search intent, and optional historical search volume trends.

Request parameters

ParameterTypeRequiredDefaultDescription
sourceStringYesN/ACountry code of the regional keyword database (e.g., us). For acceptable values, see Regional database codes.
keywordStringYesN/ASeed keyword to retrieve question-style keywords (e.g., avocado).
limitIntegerNo100Maximum number of keywords to return per page (e.g., 10). Positive integer.
offsetIntegerNo0Starting offset for pagination (e.g., 0). Non-negative integer.
sortStringNoN/AField by which keywords are sorted:
• keyword
• volume
• cpc
• difficulty
• competition
sort_orderStringNodescSorting order:
• asc – ascending
• desc – descending
history_trendBooleanNoFALSEIndicates whether to include historical search volume trend data in the response:
• true
• false
filter[volume][from]IntegerNoN/AMinimum monthly search volume (e.g., 50). Non-negative integer.
filter[volume][to]IntegerNoN/AMaximum monthly search volume (e.g., 5000). Non-negative integer.
filter[difficulty][from]IntegerNoN/AMinimum keyword difficulty score. Integers from 0 to 100.
filter[difficulty][to]IntegerNoN/AMaximum keyword difficulty score. Integers from 0 to 100.
filter[cpc][from]FloatNoN/AMinimum Cost Per Click (e.g., 0.1). Non-negative float.
filter[cpc][to]FloatNoN/AMaximum Cost Per Click (e.g., 3). Non-negative float.
filter[competition][from]FloatNoN/AMinimum competition score (e.g., 0.2). Floats from 0.0 to 1.0.
filter[competition][to]FloatNoN/AMaximum competition score (e.g., 0.7). Floats from 0.0 to 1.0.
filter[keyword_count][from]IntegerNoN/AMinimum number of words in the keyword (e.g., 3). Positive integer.
filter[keyword_count][to]IntegerNoN/AMaximum number of words in the keyword (e.g., 5). Positive integer.
filter[characters_count][from]IntegerNoN/AMinimum character length of the keyword (e.g., 20). Positive integer.
filter[characters_count][to]IntegerNoN/AMaximum character length of the keyword (e.g., 50). Positive integer.
filter[serp_features]StringNoN/AComma-separated list of SERP features to filter results (e.g., sgeimagestop_stories). For acceptable values, see SERP features.
filter[intents]StringNoN/AComma-separated list of intent codes:
• I – informational
• N – navigational
• T – transactional
• C – commercial
• L – local
filter[multi_keyword_included]ArrayNoN/AKeywords to include based on specific patterns. Each element is an array of objects with type (begins, contains, ends, exact) and value (string to match).
filter[multi_keyword_excluded]ArrayNoN/AKeywords to exclude based on specific patterns. Each element is an array of objects with type (begins, contains, ends, exact) and value (string to match).

Request example

Copy
curl --location --globoff 'https://api.seranking.com/v1/keywords/questions?source=us&keyword=avocado&limit=10&offset=0&sort=keyword&sort_order=asc&history_trend=true&filter[volume][from]=100&filter[volume][to]=100000&filter[difficulty][from]=0&filter[difficulty][to]=30&filter[cpc][from]=0&filter[cpc][to]=100&filter[competition][from]=0&filter[competition][to]=0.1&filter[keyword_count][from]=3&filter[keyword_count][to]=8&filter[characters_count][from]=15&filter[characters_count][to]=50&filter[serp_features]=sge,images&filter[intents]=I,C&filter[multi_keyword_included]=[[{"type":"contains","value":"oil"}],[{"type":"exact","value":"avocado recipes"}]]' \
--header 'Authorization: Token YOUR_API_KEY'

Response parameters

If successful, the server returns a JSON object containing the total count of available question keywords and an array of keyword objects.

ParameterTypeDescription
totalIntegerTotal number of question keywords matching the criteria (ignoring limit and offset).
keywordsArrayArray of objects, each representing a question keyword with its metrics.

Each object in the keywords array has the following structure:

ParameterTypeDescription
keywordStringQuestion keyword phrase.
volumeIntegerAverage monthly search volume for this keyword in the specified source database.
cpcFloatAverage Cost Per Click for this keyword.
difficultyIntegerScore indicating the keyword’s ranking difficulty (0-100).
competitionFloatScore indicating the level of competition for this keyword (0.0-1.0).
serp_featuresArrayArray of SERP features associated with the keyword.
intentsArrayArray of search intent codes.
history_trendObjectIf history_trend=true is included in the request, the object contains the historical search volume for the keyword:
• Each key is a date string in YYYY-MM-DD format (the first day of the month).
• Each value is the search volume for that month.
• Can be null if historical data is unavailable.

Response example

Copy
{
"total": 3,
"keywords": [
{
"keyword": "für welche organe sind avocados gut",
"cpc": 0,
"difficulty": 11,
"volume": 140,
"competition": 0,
"serp_features": [
"images",
"sge",
"related_searches"
],
"intents": [
"I"
],
"history_trend": null
},
{
"keyword": "how are avocados grown",
"cpc": 0,
"difficulty": 24,
"volume": 110,
"competition": 0.03,
"serp_features": [
"featured_snippets",
"reviews",
"images",
"related_searches"
],
"intents": [
"I"
],
"history_trend": {
"2024-06-01": 140,
"2024-07-01": 140,
"2024-08-01": 110,
"2024-09-01": 90,
"2024-10-01": 140,
"2024-11-01": 90,
"2024-12-01": 70,
"2025-01-01": 110,
"2025-02-01": 90,
"2025-03-01": 110,
"2025-04-01": 90,
"2025-05-01": 140
}
},
{
"keyword": "how to ripen avocados fast",
"cpc": 0,
"difficulty": 19,
"volume": 170,
"competition": 0.01,
"serp_features": [
"featured_snippets",
"people_also_ask",
"sge",
"related_searches"
],
"intents": [
"I"
],
"history_trend": {
"2024-06-01": 210,
"2024-07-01": 170,
"2024-08-01": 140,
"2024-09-01": 110,
"2024-10-01": 170,
"2024-11-01": 170,
"2024-12-01": 140,
"2025-01-01": 210,
"2025-02-01": 140,
"2025-03-01": 140,
"2025-04-01": 210,
"2025-05-01": 210
}
}
]
}

Get longtail keywords

GET https://api.seranking.com/v1/keywords/longtail
Cost: 1 credit per returned keyword

Retrieves long-tail keywords related to a specified seed keyword within a regional database. Long-tail keywords have a lower search volume, often indicating more specific user intent and less competition.

Request parameters

ParameterTypeRequiredDefaultDescription
sourceStringYesN/ACountry code of the regional keyword database (e.g., us). For acceptable values, see Regional database codes.
keywordStringYesN/ASeed keyword used to find longtail keywords (e.g., avocado).
limitIntegerNo100Maximum number of keywords to return per page (e.g., 10). Positive integer.
offsetIntegerNo0Starting offset for pagination (e.g., 0). Non-negative integer.

Request example

Copy
curl --location --globoff 'https://api.seranking.com/v1/keywords/longtail?source=us&keyword=avocado&limit=10&offset=0' \
--header 'Authorization: Token YOUR_API_KEY'

Response parameters

If successful, the server returns a JSON object containing the total count of available longtail keywords and an array of keyword strings.

ParameterTypeDescription
totalIntegerTotal number of longtail keywords matching the criteria (ignoring limit and offset).
keywordsArrayArray of longtail keyword strings.

Response example

Copy
{
"total": 40717,
"keywords": [
"1 1/2 oz avocado",
"1 1/2 oz of avocado",
"1 2 medium avocado protein",
"1 8 avocado calories",
"1 avocado brownies",
"1 avocado dip recipe",
"1 avocado eiweiß",
"1 avocado fett",
"1 avocado gewicht ohne kern",
"1 avocado guacamole calories"
]
}

Learn how SE Ranking’s API can boost your SEO!

Hi! Meet our product experts!

One of them will walk you through the API and show you how to get the most out of it.

  • Enjoy a tailored demo on integrating rich, structured SEO data into your stack.
  • Pin down every tech detail live—auth, endpoints, rate limits, data formats.
  • Compare usage tiers and pricing so you can unlock maximum data value.

Request a free demo to see our tools and integrations in action

By clicking this button, you agree to SE Ranking’s
Terms of Service and Privacy Policy.