GET
/
api
/
v1
/
ranking
curl --request GET \
  --url https://www.fetchserp.com/api/v1/ranking \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "keyword": "<string>",
    "domain": "<string>",
    "search_engine": "<string>",
    "country": "<string>",
    "results": [
      {
        "url": "<string>",
        "ranking": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

A bearer token that will be supplied within an Authorization header as bearer <token>.

Query Parameters

keyword
string
required

The keyword to search

domain
string
required

The domain to search

search_engine
string

The search engine to use. Supported values: google, bing, yahoo and duckduckgo. Default to google.

country
string

The country to search from. Default to us.

pages_number
integer

The number of pages to search (1-30). Default to 10.

Response

200
application/json

success

The response is of type object.