Analytics and traffic API

Google Search Console data

Here you can find the popular queries from the Google Search Console.

Request format

GET /analytics/{site_id}/google/

Result

NameDescription
queryQuery
impressionsNumber of impressions
ctrCTR
avgAverage position
clicksNumber of clicks

Response example

[
“query”: “text”,
“impressions”: 100,
“clicks”: 10,
“ctr”: 10,
“avg”: 5,

]

Errors

HTTP codeError message
400 Your site is not shared with our account

Yandex.Webmaster data

Here you can find popular queries from Yandex.Webmaster.

Request format

GET /analytics/{site_id}/yandex/

Result

NameDescription
fromBeginning of time period
toEnd of time period
clicks Total number of clicks for the time period
shows Total number of impressions (shows) for the time period
queriesQuery array
queryQuery
total_showsTotal number of impression (shows)
total_clicksTotal number of clicks
avg_show_position Average impression (show) position
avg_click_positionAverage click position
ctrCTR

Response example

{
“from”: “2018-09-20”,
“to”: “2018-09-26”,
“clicks”: 39,
“shows”: 3458,
“queries”: {
“fbb3b45664acd1de”: {
“query”: “query text”,
“total_shows”: 58,
“total_clicks”: 0,
“avg_show_position”: 41.81,
“avg_click_position”: 0,
“ctr”: 0
},

}

Errors

HTTP codeError message
400 Yandex.Webmaster API is not connected
400 Error getting data from Yandex.Webmaster API

SEO potential

This tool enables you to assess the:

  • potential traffic volume;
  • potential cost of traffic, if acquired from Google Ads;
  • potential number of new customers.

Request format

GET  /analytics/{$site_id}/potential/?top_n=10&lead_price=50&conversion_rate=100

Request parameters

NameDescription
top_n If the request is delivered, then it calculates the potential traffic volume if all queries make it to the TOP. Otherwise, it returns the current traffic estimate for queries added to the system.
lead_price Estimated income from one client
conversion_rateConversion to sales

Result

NameDescription
site_engine_idSerch engine ID
trafficTraffic forecast
traffic_valueTraffic cost
leads_qtyNumber of clients
leads_priceEstimated profit

Response example

[
{
“site_engine_id”: 586,
“traffic”: 1,
“traffic_value”: 5.85,
“leads_qty”: 0,
“leads_price”: 0
},

]