Retrieve project, search engine, and other object IDs from the reference endpoints before requesting a report.
General information
The API provides reporting methods and reference endpoints.
For common request parameters and the full response envelope, see Working with the API.
All methods accept 2 optional parameters.
| Parameter | Description | Default value |
|---|---|---|
| limit | Number of results to return, up to 10,000 | 1000 |
| offset | Number of records to skip | 0 |
GET: api/v1/projects?{ops}
Returns the list of projects available to the user.
Input parameters
No special parameters are required.
Response
The data field contains an array of objects with the following fields.
{
id: number
name: string
url: string
}
GET: api/v1/rivals
api/v1/rivalsReturns project competitors and their search visibility as of the latest check. By default, only tracked competitors are returned, in descending order of visibility.
Input parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| projectId | number | yes | — | Project ID |
| limit | number | no | 1000 | Limit of records (1-10,000) |
| offset | number | no | 0 | Offset |
| fullList | boolean | no | false | true for all project competitors, false for tracked competitors only |
| neuralNetworkId | number | no | First enabled AI model in the project | Project AI model ID |
| order | string | no | [“visibility”,”desc”] | Sorting, JSON array (see below) |
Sorting
Parameter order Pass a two-element JSON array in the query string
["<field>", "<direction>"]. The direction is optional and defaults to
desc.
| Parameter | Format | Example |
|---|---|---|
| order | [“<field>”, “asc|desc”] | [“visibility”,”desc”],[“host”,”asc”] |
Allowed fields id, host, tracked, visibility. Unsupported fields or directions fall back to the default sort order (visibility desc). If order is omitted, the default sort applies. Invalid JSON or a value other than an array returns an error 400.
Response fields
| Field | Type | Description |
|---|---|---|
| id | number | Competitor |
| host | string | Competitor’s domain |
| tracked | boolean | Whether the competitor is tracked |
| visibility | number | Search visibility, % (0 if no data is available) |
| statTypeId | number | Frequency type ID; 0 if visibility data is not available |
| checkDate | string | null | Check date (YYYY-MM-DD), or null if there was no check on that date |
Example
curl -G "https://seo.serphunt.com/api/v1/rivals" \
--data-urlencode "projectId=1445" \
--data-urlencode "engineId=12" \
--data-urlencode "statTypeId=5" \
--data-urlencode 'order=["visibility","desc"]' \
-H "Authorization: Bearer: <token>"
Response
The data field contains an array of objects with the following fields.
{
"status": "ok",
"data": [
{"id": 481, "host": "rival.example.com", "tracked": true,
"visibility": 41.73, "statTypeId": 5, "checkDate": "2026-11-08"},
{"id": 482, "host": "another.example.com", "tracked": false,
"visibility": 17.02, "statTypeId": 5, "checkDate": "2026-11-08"}
]
}
GET: api/v1/pages?{ops}
Returns the list of pages of the project.
Input parameters
| Parameter | Description | Default value |
|---|---|---|
| project_id | Project ID | no |
Response
The data field contains an array of objects with the following fields.
{
id: number
name: string
url: string
categoryId: number
}
GET: api/v1/engines?{ops}
Returns the search engines configured for the project.
Input parameters
| Parameter | Description | Default value |
|---|---|---|
| project_id | Project ID | no |
Response
The data field contains an array of objects with the following fields.
{
id: number
searcher: 'Yandex'|'Google'
region: string
device: 'pc'|'mob'
fullName: string
resultType: 'search'|'product'|'insearch_ai'|'local_pack'
}
| Field | Description |
|---|---|
| fullName | The full name of the search network as displayed in the interface (e.g. Yandex Moscow PC, Google AI Overview Moscow Mob) |
Search result types
Field resultType Four values are supported.
| Type | Description |
|---|---|
| search | Standard organic results |
| product | Shopping results (Yandex Products or Google Merchant) |
| insearch_ai | AI answer (Alice or AI Overview) |
| local_pack | Google Local Pack |
Search volume match types
Four search volume values can be returned.
| Type | Description | Search engine |
|---|---|---|
| 1 | Frequency | |
| 5 | Frequency | Yandex |
| 6 | “Frequency” | Yandex |
| 8 | “!Frequency” | Yandex |
GET: api/v1/categories?{ops}
Returns the list of categories (sections) of the project.
Input parameters
| Parameter | Description | Default value |
|---|---|---|
| project_id | Project ID | no |
Response
The data field contains an array of objects with the following fields.
{
id: number
name: string
}
GET: api/v1/checks?{ops}
Returns the list of checks for the project.
Input parameters
| Parameter | Description | Default value |
|---|---|---|
| project_id | Project ID | no |
Response
The data field contains an array of objects with the following fields.
{
id: number
checkDate: string
serpEngineId: number
engineName: string
}
GET: api/v1/ai-visibility/networks?{ops}
Returns the AI models enabled for response monitoring in the project.
Input parameters
| Parameter | Description | Default value | Required |
|---|---|---|---|
| project_id | Project ID | no | yes |
| limit | Number of entries in response, maximum 10,000 | 1000 | no |
| offset | Number of records to skip | 0 | no |
Response
The data field contains an array of objects with the following fields.
{
id: number,
name: string,
code: string
}
| Field | Description |
|---|---|
| id | AI model ID |
| name | Name of neural network: ChatGPT, Alice AI, DeepSeek, Perplexity |
| code | Neural network code: chatgpt, alice, deepseek, perplexity |
GET: api/v1/ai-visibility/checks?{ops}
Returns the project’s completed AI visibility checks, most recent first.
Input parameters
| Parameter | Description | Default value | Required |
|---|---|---|---|
| project_id | Project ID | no | yes |
| limit | Number of entries in response, maximum 10,000 | 1000 | no |
| offset | Number of records to skip | 0 | no |
Response
The data field contains an array of objects with the following fields.
{
id: number,
date: string
}
| Field | Description |
|---|---|
| id | Check ID |
| date | Check date in YYYY-MM-DD format |
GET: api/v1/ai-rivals?{ops}
Returns competitor visibility in AI responses as of the latest check. By default, it includes only tracked competitors, in descending visibility order. Three groups of metrics cover the domain alone (unprefixed fields), the brand alone (fields prefixed with brand*), and either the brand or the domain (fields prefixed with total*).
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| projectId | number | yes | — | Project ID |
| limit | number | no | 1000 | Limit of records (1-10,000) |
| offset | number | no | 0 | Offset |
| fullList | boolean | no | false | true for all project competitors, false for tracked competitors only |
| neuralNetworkId | number | no | First enabled AI model in the project | Project AI model ID |
| order | string | no | [“visibility”,”desc”] | Sorting, JSON array (see below) |
Sorting
Format order matches /rivals:
["<field>", "asc|desc"]. The default direction is desc. Allowed fields id, host, brandNames, tracked, visibility, brandVisibility, brandPositiveCount, brandNegativeCount, brandNeutralCount, brandPositivePercent, brandNegativePercent, brandNeutralPercent, totalVisibility, totalPositiveCount, totalNegativeCount, totalNeutralCount, totalPositivePercent, totalNegativePercent, totalNeutralPercent.
| Parameter | Format | Example |
|---|---|---|
| order | [“<field>”, “asc|desc”] | [“visibility”,”desc”],[“host”,”asc”] |
Response fields
| Field | Type | Description |
|---|---|---|
| id | number | Competitor |
| host | string | Competitor’s domain |
| brandNames | string | null | Comma-separated competitor brand names |
| tracked | boolean | Whether the competitor is tracked |
| visibility | number | Visibility in neural network responses, % (0 – no data) |
| Brand visibility | ||
| brandVisibility | number | Visibility by brand mentions, % |
| brandPositiveCount | number | Number of positive brand mentions |
| brandNegativeCount | number | Number of negative brand mentions |
| brandNeutralCount | number | Number of neutral brand mentions |
| brandPositivePercent | number | Percentage of positive brand mentions, % |
| brandNegativePercent | number | Share of negative brand mentions, % |
| brandNeutralPercent | number | Share of neutral brand mentions, % |
| Total: brand or host | ||
| totalVisibility | number | Visibility for either the brand or the domain, % |
| totalPositiveCount | number | Number of positive mentions |
| totalNegativeCount | number | Number of negative mentions |
| totalNeutralCount | number | Number of neutral mentions |
| totalPositivePercent | number | Percentage of positive mentions, % |
| totalNegativePercent | number | Percentage of negative mentions, % |
| totalNeutralPercent | number | Percentage of neutral mentions, % |
Example
curl -G "https://seo.serphunt.com/api/v1/ai-rivals" \
--data-urlencode "projectId=1445" \
--data-urlencode "neuralNetworkId=1" \
--data-urlencode 'order=["visibility","desc"]' \
-H "Authorization: Bearer: <token>"
Response
The data field contains an array of objects with the following fields.
{
"status": "ok",
"data": [
{"id": 12, "host": "rival.example.com", "brandNames": "Example",
"tracked": true, "visibility": 34.21,
"brandVisibility": 40.5, "brandPositiveCount": 12, "brandNegativeCount": 2, "brandNeutralCount": 6,
"brandPositivePercent": 60.0, "brandNegativePercent": 10.0, "brandNeutralPercent": 30.0,
"totalVisibility": 38.4, "totalPositiveCount": 14, "totalNegativeCount": 2, "totalNeutralCount": 8,
"totalPositivePercent": 58.33, "totalNegativePercent": 8.33, "totalNeutralPercent": 33.34},
{"id": 13, "host": "another.example.com", "brandNames": "Another",
"tracked": false, "visibility": 12.05,
"brandVisibility": 15.2, "brandPositiveCount": 4, "brandNegativeCount": 1, "brandNeutralCount": 3,
"brandPositivePercent": 50.0, "brandNegativePercent": 12.5, "brandNeutralPercent": 37.5,
"totalVisibility": 16.8, "totalPositiveCount": 5, "totalNegativeCount": 1, "totalNeutralCount": 4,
"totalPositivePercent": 50.0, "totalNegativePercent": 10.0, "totalNeutralPercent": 40.0}
]
}
Error codes
| Code | Cause |
|---|---|
| 400 | Invalid parameters, such as a missing projectId, limit outside 1–10,000, negative offset, or an order value that is invalid JSON or is not an array |
| 401 | Unauthorized |
| 403 / 404 | Project missing or access denied. For /rivals, the search engine may be missing. For /ai-rivals, the model may be missing. A 404 can also mean there is no check data. |
| 429 | Too many requests (limit 5 requests/sec, 120/min) |
| 500 | Internal error |