curl --request POST \
--url https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"sourceDomainId": "01234567-89ab-cdef-0123-456789abcdef",
"startDate": "2025-01-01",
"endDate": "2025-01-31",
"countries": [
"BE",
"FR"
],
"languages": [
"en",
"fr"
],
"models": [
"gpt-4o",
"claude-3-5-sonnet"
],
"queryIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryTagIds": [
"42"
],
"execTagIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryTagGroupIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"execTagGroupIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryTypes": [],
"timezone": "UTC",
"groupByEntityGroup": false,
"showAllEntities": false,
"page": 1,
"pageSize": 50,
"entityIds": [
"01234567-89ab-cdef-0123-456789abcdef"
],
"sort": [
{
"field": "citationCount",
"direction": "desc"
}
]
}
'import requests
url = "https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls"
payload = {
"sourceDomainId": "01234567-89ab-cdef-0123-456789abcdef",
"startDate": "2025-01-01",
"endDate": "2025-01-31",
"countries": ["BE", "FR"],
"languages": ["en", "fr"],
"models": ["gpt-4o", "claude-3-5-sonnet"],
"queryIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"queryTagIds": ["42"],
"execTagIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"queryTagGroupIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"execTagGroupIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"queryTypes": [],
"timezone": "UTC",
"groupByEntityGroup": False,
"showAllEntities": False,
"page": 1,
"pageSize": 50,
"entityIds": ["01234567-89ab-cdef-0123-456789abcdef"],
"sort": [
{
"field": "citationCount",
"direction": "desc"
}
]
}
headers = {
"x-project-id": "<x-project-id>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-project-id': '<x-project-id>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sourceDomainId: '01234567-89ab-cdef-0123-456789abcdef',
startDate: '2025-01-01',
endDate: '2025-01-31',
countries: ['BE', 'FR'],
languages: ['en', 'fr'],
models: ['gpt-4o', 'claude-3-5-sonnet'],
queryIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
queryTagIds: ['42'],
execTagIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
queryTagGroupIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
execTagGroupIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
queryTypes: [],
timezone: 'UTC',
groupByEntityGroup: false,
showAllEntities: false,
page: 1,
pageSize: 50,
entityIds: ['01234567-89ab-cdef-0123-456789abcdef'],
sort: [{field: 'citationCount', direction: 'desc'}]
})
};
fetch('https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'sourceDomainId' => '01234567-89ab-cdef-0123-456789abcdef',
'startDate' => '2025-01-01',
'endDate' => '2025-01-31',
'countries' => [
'BE',
'FR'
],
'languages' => [
'en',
'fr'
],
'models' => [
'gpt-4o',
'claude-3-5-sonnet'
],
'queryIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'queryTagIds' => [
'42'
],
'execTagIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'queryTagGroupIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'execTagGroupIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'queryTypes' => [
],
'timezone' => 'UTC',
'groupByEntityGroup' => false,
'showAllEntities' => false,
'page' => 1,
'pageSize' => 50,
'entityIds' => [
'01234567-89ab-cdef-0123-456789abcdef'
],
'sort' => [
[
'field' => 'citationCount',
'direction' => 'desc'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-project-id: <x-project-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls"
payload := strings.NewReader("{\n \"sourceDomainId\": \"01234567-89ab-cdef-0123-456789abcdef\",\n \"startDate\": \"2025-01-01\",\n \"endDate\": \"2025-01-31\",\n \"countries\": [\n \"BE\",\n \"FR\"\n ],\n \"languages\": [\n \"en\",\n \"fr\"\n ],\n \"models\": [\n \"gpt-4o\",\n \"claude-3-5-sonnet\"\n ],\n \"queryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagIds\": [\n \"42\"\n ],\n \"execTagIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"execTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTypes\": [],\n \"timezone\": \"UTC\",\n \"groupByEntityGroup\": false,\n \"showAllEntities\": false,\n \"page\": 1,\n \"pageSize\": 50,\n \"entityIds\": [\n \"01234567-89ab-cdef-0123-456789abcdef\"\n ],\n \"sort\": [\n {\n \"field\": \"citationCount\",\n \"direction\": \"desc\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-project-id", "<x-project-id>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls")
.header("x-project-id", "<x-project-id>")
.header("Content-Type", "application/json")
.body("{\n \"sourceDomainId\": \"01234567-89ab-cdef-0123-456789abcdef\",\n \"startDate\": \"2025-01-01\",\n \"endDate\": \"2025-01-31\",\n \"countries\": [\n \"BE\",\n \"FR\"\n ],\n \"languages\": [\n \"en\",\n \"fr\"\n ],\n \"models\": [\n \"gpt-4o\",\n \"claude-3-5-sonnet\"\n ],\n \"queryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagIds\": [\n \"42\"\n ],\n \"execTagIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"execTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTypes\": [],\n \"timezone\": \"UTC\",\n \"groupByEntityGroup\": false,\n \"showAllEntities\": false,\n \"page\": 1,\n \"pageSize\": 50,\n \"entityIds\": [\n \"01234567-89ab-cdef-0123-456789abcdef\"\n ],\n \"sort\": [\n {\n \"field\": \"citationCount\",\n \"direction\": \"desc\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-project-id"] = '<x-project-id>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sourceDomainId\": \"01234567-89ab-cdef-0123-456789abcdef\",\n \"startDate\": \"2025-01-01\",\n \"endDate\": \"2025-01-31\",\n \"countries\": [\n \"BE\",\n \"FR\"\n ],\n \"languages\": [\n \"en\",\n \"fr\"\n ],\n \"models\": [\n \"gpt-4o\",\n \"claude-3-5-sonnet\"\n ],\n \"queryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagIds\": [\n \"42\"\n ],\n \"execTagIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"execTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTypes\": [],\n \"timezone\": \"UTC\",\n \"groupByEntityGroup\": false,\n \"showAllEntities\": false,\n \"page\": 1,\n \"pageSize\": 50,\n \"entityIds\": [\n \"01234567-89ab-cdef-0123-456789abcdef\"\n ],\n \"sort\": [\n {\n \"field\": \"citationCount\",\n \"direction\": \"desc\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"totalResponses": 720,
"globalTotalCitations": 712,
"globalTotalBrandCitations": 200,
"urls": [
{
"url": "https://www.reddit.com/r/technology/comments/abc123/title",
"title": "Best tools for project management - Reddit",
"citationCount": 15,
"citationShare": 2.1,
"brandCitationCount": 6,
"brandCitationShare": 3.4,
"successCount": 12,
"failureCount": 3,
"entities": [
{
"entityId": "01234567-89ab-cdef-0123-456789abcdef",
"entityName": "Acme Corp",
"isOwned": true,
"isPrimary": true,
"isCompetitor": false
}
]
}
],
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
}
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Per-URL drill-down for a specific domain
Returns a paginated list of the individual URLs cited from the given domain with their citation metrics; the path domain id overrides any body value, and an unknown domain returns an empty page.
curl --request POST \
--url https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"sourceDomainId": "01234567-89ab-cdef-0123-456789abcdef",
"startDate": "2025-01-01",
"endDate": "2025-01-31",
"countries": [
"BE",
"FR"
],
"languages": [
"en",
"fr"
],
"models": [
"gpt-4o",
"claude-3-5-sonnet"
],
"queryIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryTagIds": [
"42"
],
"execTagIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryTagGroupIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"execTagGroupIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"queryTypes": [],
"timezone": "UTC",
"groupByEntityGroup": false,
"showAllEntities": false,
"page": 1,
"pageSize": 50,
"entityIds": [
"01234567-89ab-cdef-0123-456789abcdef"
],
"sort": [
{
"field": "citationCount",
"direction": "desc"
}
]
}
'import requests
url = "https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls"
payload = {
"sourceDomainId": "01234567-89ab-cdef-0123-456789abcdef",
"startDate": "2025-01-01",
"endDate": "2025-01-31",
"countries": ["BE", "FR"],
"languages": ["en", "fr"],
"models": ["gpt-4o", "claude-3-5-sonnet"],
"queryIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"queryTagIds": ["42"],
"execTagIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"queryTagGroupIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"execTagGroupIds": ["3fa85f64-5717-4562-b3fc-2c963f66afa6"],
"queryTypes": [],
"timezone": "UTC",
"groupByEntityGroup": False,
"showAllEntities": False,
"page": 1,
"pageSize": 50,
"entityIds": ["01234567-89ab-cdef-0123-456789abcdef"],
"sort": [
{
"field": "citationCount",
"direction": "desc"
}
]
}
headers = {
"x-project-id": "<x-project-id>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-project-id': '<x-project-id>', 'Content-Type': 'application/json'},
body: JSON.stringify({
sourceDomainId: '01234567-89ab-cdef-0123-456789abcdef',
startDate: '2025-01-01',
endDate: '2025-01-31',
countries: ['BE', 'FR'],
languages: ['en', 'fr'],
models: ['gpt-4o', 'claude-3-5-sonnet'],
queryIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
queryTagIds: ['42'],
execTagIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
queryTagGroupIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
execTagGroupIds: ['3fa85f64-5717-4562-b3fc-2c963f66afa6'],
queryTypes: [],
timezone: 'UTC',
groupByEntityGroup: false,
showAllEntities: false,
page: 1,
pageSize: 50,
entityIds: ['01234567-89ab-cdef-0123-456789abcdef'],
sort: [{field: 'citationCount', direction: 'desc'}]
})
};
fetch('https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'sourceDomainId' => '01234567-89ab-cdef-0123-456789abcdef',
'startDate' => '2025-01-01',
'endDate' => '2025-01-31',
'countries' => [
'BE',
'FR'
],
'languages' => [
'en',
'fr'
],
'models' => [
'gpt-4o',
'claude-3-5-sonnet'
],
'queryIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'queryTagIds' => [
'42'
],
'execTagIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'queryTagGroupIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'execTagGroupIds' => [
'3fa85f64-5717-4562-b3fc-2c963f66afa6'
],
'queryTypes' => [
],
'timezone' => 'UTC',
'groupByEntityGroup' => false,
'showAllEntities' => false,
'page' => 1,
'pageSize' => 50,
'entityIds' => [
'01234567-89ab-cdef-0123-456789abcdef'
],
'sort' => [
[
'field' => 'citationCount',
'direction' => 'desc'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-project-id: <x-project-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls"
payload := strings.NewReader("{\n \"sourceDomainId\": \"01234567-89ab-cdef-0123-456789abcdef\",\n \"startDate\": \"2025-01-01\",\n \"endDate\": \"2025-01-31\",\n \"countries\": [\n \"BE\",\n \"FR\"\n ],\n \"languages\": [\n \"en\",\n \"fr\"\n ],\n \"models\": [\n \"gpt-4o\",\n \"claude-3-5-sonnet\"\n ],\n \"queryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagIds\": [\n \"42\"\n ],\n \"execTagIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"execTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTypes\": [],\n \"timezone\": \"UTC\",\n \"groupByEntityGroup\": false,\n \"showAllEntities\": false,\n \"page\": 1,\n \"pageSize\": 50,\n \"entityIds\": [\n \"01234567-89ab-cdef-0123-456789abcdef\"\n ],\n \"sort\": [\n {\n \"field\": \"citationCount\",\n \"direction\": \"desc\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-project-id", "<x-project-id>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls")
.header("x-project-id", "<x-project-id>")
.header("Content-Type", "application/json")
.body("{\n \"sourceDomainId\": \"01234567-89ab-cdef-0123-456789abcdef\",\n \"startDate\": \"2025-01-01\",\n \"endDate\": \"2025-01-31\",\n \"countries\": [\n \"BE\",\n \"FR\"\n ],\n \"languages\": [\n \"en\",\n \"fr\"\n ],\n \"models\": [\n \"gpt-4o\",\n \"claude-3-5-sonnet\"\n ],\n \"queryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagIds\": [\n \"42\"\n ],\n \"execTagIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"execTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTypes\": [],\n \"timezone\": \"UTC\",\n \"groupByEntityGroup\": false,\n \"showAllEntities\": false,\n \"page\": 1,\n \"pageSize\": 50,\n \"entityIds\": [\n \"01234567-89ab-cdef-0123-456789abcdef\"\n ],\n \"sort\": [\n {\n \"field\": \"citationCount\",\n \"direction\": \"desc\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mentionlab.io/api/v1/analytics/sources/domains/{sourceDomainId}/urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-project-id"] = '<x-project-id>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"sourceDomainId\": \"01234567-89ab-cdef-0123-456789abcdef\",\n \"startDate\": \"2025-01-01\",\n \"endDate\": \"2025-01-31\",\n \"countries\": [\n \"BE\",\n \"FR\"\n ],\n \"languages\": [\n \"en\",\n \"fr\"\n ],\n \"models\": [\n \"gpt-4o\",\n \"claude-3-5-sonnet\"\n ],\n \"queryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagIds\": [\n \"42\"\n ],\n \"execTagIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"execTagGroupIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"queryTypes\": [],\n \"timezone\": \"UTC\",\n \"groupByEntityGroup\": false,\n \"showAllEntities\": false,\n \"page\": 1,\n \"pageSize\": 50,\n \"entityIds\": [\n \"01234567-89ab-cdef-0123-456789abcdef\"\n ],\n \"sort\": [\n {\n \"field\": \"citationCount\",\n \"direction\": \"desc\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"totalResponses": 720,
"globalTotalCitations": 712,
"globalTotalBrandCitations": 200,
"urls": [
{
"url": "https://www.reddit.com/r/technology/comments/abc123/title",
"title": "Best tools for project management - Reddit",
"citationCount": 15,
"citationShare": 2.1,
"brandCitationCount": 6,
"brandCitationShare": 3.4,
"successCount": 12,
"failureCount": 3,
"entities": [
{
"entityId": "01234567-89ab-cdef-0123-456789abcdef",
"entityName": "Acme Corp",
"isOwned": true,
"isPrimary": true,
"isCompetitor": false
}
]
}
],
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
}
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request"
}Headers
Project ID to specify the project context
Path Parameters
Identifier of the source domain whose cited URLs are returned. Overrides any value in the request body.
"d1f8c3a2-9b4e-4c7a-8f21-6e0a5b2c9d10"
Body
Source domain ID to drill down into.
"01234567-89ab-cdef-0123-456789abcdef"
Start date (inclusive)
"2025-01-01"
End date (inclusive)
"2025-01-31"
Filter by country codes
["BE", "FR"]
Filter by language codes
["en", "fr"]
Filter by AI models
["gpt-4o", "claude-3-5-sonnet"]
Filter by query IDs
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
Filter by source presence: "sources" (only with sources), "no_sources" (only without), "all" (no filter). Legacy true/false values are still accepted.
all, sources, no_sources Filter by shopping presence: "shopping" (only with shopping), "no_shopping" (only without), "all" (no filter). Legacy true/false values are still accepted.
all, shopping, no_shopping Filter by sponsored-ad presence: "ads" (only with ads), "no_ads" (only without), "all" (no filter). Legacy true/false values are still accepted.
all, ads, no_ads Filter by query tag IDs (numeric — bigint column)
["42"]
Filter by execution tag IDs
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
Filter by query tag group IDs — matches rows carrying any tag filed under a selected group. Combines with queryTagIds per queryTagMode.
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
Filter by execution tag group IDs — matches rows carrying any tag filed under a selected group. Combines with execTagIds per execTagMode.
["3fa85f64-5717-4562-b3fc-2c963f66afa6"]
Filter by query type. Include "untyped" to also match queries without a type. Results from since-deleted queries are excluded when this filter is set.
comparative, informative, perception, untyped Query tag matching mode: "or" matches ANY tag (default), "and" matches ALL tags.
and, or Execution tag matching mode: "or" matches ANY tag (default), "and" matches ALL tags.
and, or Deprecated and ignored. Date bounds and buckets are always UTC. Accepted for backward compatibility only.
"UTC"
Row grouping level for entity results. "none" = one row per entity, "division" = one row per division (entities not in a division get their own row), "group" = one row per top-level group (divisions roll up into their group). Defaults to "none".
none, division, group Deprecated — use groupBy instead. true is equivalent to groupBy="group".
false
Include entities that have only ever been seen in a single AI response. These are mostly one-off extraction noise and are hidden by default.
false
Page number (1-based).
1
Items per page (max 200).
50
Entity IDs to compute brand metrics for (defaults to primary non-blacklisted).
["01234567-89ab-cdef-0123-456789abcdef"]
Sorting instructions for the result set. Allowed fields are url, citationCount, citationShare, brandCitationCount, brandCitationShare, successCount and failureCount.
Show child attributes
Show child attributes
[ { "field": "citationCount", "direction": "desc" } ]
Response
Total number of AI responses in the filtered scope.
720
Sum of per-domain citation counts across ALL domains. Denominator for citationShare. Consistent with totalCitations in all-domains.
712
Sum of per-domain brand citation counts across ALL domains. Denominator for brandCitationShare.
200
Per-URL statistics ordered by citationCount descending (unless sorted).
Show child attributes
Show child attributes
Pagination metadata.
Show child attributes
Show child attributes