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
Name | Description |
query | Query |
impressions | Number of impressions |
ctr | CTR |
avg | Average position |
clicks | Number of clicks |
Response example
[
“query”: “text”,
“impressions”: 100,
“clicks”: 10,
“ctr”: 10,
“avg”: 5,
…
]
Errors
HTTP code | Error 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
Name | Description |
from | Beginning of time period |
to | End of time period |
clicks | Total number of clicks for the time period |
shows | Total number of impressions (shows) for the time period |
queries | Query array |
query | Query |
total_shows | Total number of impression (shows) |
total_clicks | Total number of clicks |
avg_show_position | Average impression (show) position |
avg_click_position | Average click position |
ctr | CTR |
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 code | Error 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
Name | Description |
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_rate | Conversion to sales |
Result
Name | Description |
site_engine_id | Serch engine ID |
traffic | Traffic forecast |
traffic_value | Traffic cost |
leads_qty | Number of clients |
leads_price | Estimated profit |
Response example
[
{
“site_engine_id”: 586,
“traffic”: 1,
“traffic_value”: 5.85,
“leads_qty”: 0,
“leads_price”: 0
},
…
]