Skip to main content
POST
/
api
/
ubersuggest
/
keywords
/
serp
/ubersuggest/keywords/serp
curl --request POST \
  --url https://api.anysite.io/api/ubersuggest/keywords/serp \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 50,
  "timeout": 300,
  "lang": "en",
  "loc_id": 2840
}
'
[
  {
    "url": "<string>",
    "@type": "@ubersuggest_serp_entry",
    "title": "<string>",
    "domain": "<string>",
    "position": 123,
    "type": "<string>",
    "clicks": 123,
    "domain_authority": 123,
    "facebook_shares": 123,
    "pinterest_shares": 123,
    "reddit_shares": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Keyword to analyze the search results page for

Minimum string length: 1
Examples:

"coffee maker"

"best laptop"

count
integer
required

Max number of ranking results to return

Required range: 1 <= x <= 100
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
lang
enum<string>
default:en

Keyword language

Available options:
en,
es,
de,
fr,
it,
pt,
nl,
pl,
ru,
ja,
hi
loc_id
integer
default:2840

Location id (resolve via the locations search endpoint, e.g. 2840 for the United States)

Required range: x >= 1
Example:

2840

Response

Successful Response

url
string
required
@type
string
default:@ubersuggest_serp_entry
title
string | null
domain
string | null
position
integer | null
type
string | null
clicks
integer | null
domain_authority
integer | null
facebook_shares
integer | null
pinterest_shares
integer | null
reddit_shares
integer | null