Contact SerpHunt
[email protected]
Headquarters
6 Mustaqillik Ave
Tashkent, Uzbekistan

REST API methods for rankings and search visibility

Use these methods to export rankings, tag-level metrics, and visibility trends for your project or its competitors.

GET: api/v1/projects/visibility?{ops}

Returns data in the context of a project or competitor.

Input parameters
Parameter Description Default value Required
project_id Project ID no yes
date_from Start date in YYYY-MM-DD format no yes
date_to End of range in YYYY-MM-DD format date no
serp_engine Search engine ID. If omitted, returns data for all configured search engines. Not specified no
rival_id Competitor ID. If omitted, returns data for the project. Not specified no
Response

The data field contains an array of objects with the following fields.

{
    freq_type: number
    check_date: string
    serp_engine_id: number
    visibility: number
}

GET: api/v1/keywords?{ops}

Returns keywords with rankings and search volume. Supply a date range to retrieve more than one day. The maximum range is 30 days.

Input parameters
Parameter Description Default value Required
project_id Project ID no yes
date_from Start date in YYYY-MM-DD format no yes
date_to End of range in YYYY-MM-DD format date no
serp_engine Search engine ID. If omitted, returns data for all configured search engines. Not specified no
Response

The data field contains an array of objects with the following fields.

{
    id: number,
    key: string,
    page: number,
    positions: {
        date: string,
        position: number,
        rel_page: string,
        serp_engine: number,
    }[],
    frequency: {
        date: string,
        frequency: number,
        freq_type: number,
        serp_engine: number,
    }[],
    yandexAIResponse: string | null,
    googleAIResponse: string | null
}

GET: api/v1/keywords/by-tags?{ops}

Input parameters
Parameter Description Default value Required
project_id Project ID no yes
date Specific date in YYYY-MM-DD format no yes
serp_engine Search engine ID no yes
tag_ids Array of tag IDs. If omitted, includes all project tags. All tags no
frequency_type Search volume match type ID Not specified no
limit Number of records per page Not specified no
offset Pagination offset Not specified no
Response

The data field contains an array of objects with the following fields.

{
    id: number,
    name: string,
    top3: number,
    top10: number,
    top30: number,
    top3_pcnt: number,
    top10_pcnt: number,
    top30_pcnt: number,
    ws_data: [
        {
            ws_type: number,
            ws_value: number,
            alfa_traf: number
        }
    ]
}

GET: api/v1/metrics?{ops}

Returns site metrics by date.

Input parameters
Parameter Description Default value Required
metric Metric code. Acceptable values: visibility, alfaTraf, top1, top3, top5, top10, top20, top100, keywordStat no yes
project_id Site (project) ID no yes
dates[] Date range in YYYY-MM-DD format. The first element is the start date, the second is the end date. no yes
serp_engine_id Search engine ID no yes
page_id Page ID for filtering no no
section_id Section ID for filtering no no
stat_type_id Statistics type ID no no
do_not_project Disable projection of out-of-range data onto the endpoints of the date range no no
Response

The data field contains an array of objects.

{
    status: ok,
    data: [
        {
            date: 2026-01-01,
            value: 42.5
        },
        {
            date: 2026-01-15,
            value: 45.1
        },
        {
            date: 2026-01-31,
            value: 43.8
        }
    ]
}
Example request
    GET /api/v1/metrics?metric=visibility&project_id=1&serEngineId=1&dates[]=2026-01-01&dates[]=2026-01-31
  

This website stores cookies on your computer.