One answer with its brand mentions and sources
curl --request GET \
--url https://api.seomator.com/v1/projects/{id}/answers/{answerId} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/answers/{answerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/answers/{answerId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"answer": {
"id": "<string>",
"promptId": "<string>",
"assistant": "chatgpt",
"runDate": "<string>",
"status": "<string>",
"outcome": "<string>",
"analysisStatus": "pending",
"model": "<string>",
"capturedAt": "<string>",
"failCode": "no_result",
"prompt": "<string>",
"text": "<string>",
"mentions": [
{
"brandId": "<string>",
"rank": 123,
"firstOffset": 123,
"spans": [
[
123,
123
]
],
"retrieved": true,
"cited": true,
"linked": true,
"verification": "not_needed",
"nearbyCitations": [
123
]
}
],
"citations": [
{
"position": 123,
"offset": 123,
"label": "<string>",
"url": "<string>",
"domain": "<string>"
}
],
"sources": [
{
"url": "<string>",
"title": "<string>",
"host": "<string>",
"domain": "<string>",
"position": 123,
"publishedAt": "<string>",
"retrieved": true,
"linked": true,
"citationRank": 123
}
],
"searchQueries": [
"<string>"
],
"products": [
{
"title": "<string>",
"url": "<string>",
"price": "<string>",
"merchant": "<string>"
}
],
"hasAds": true,
"hasMap": true
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}One answer with its brand mentions and sources
text is GFM Markdown. Mention spans are [start, end) UTF-16 offsets into text; render it without raw HTML and highlight from the spans.
GET
/
v1
/
projects
/
{id}
/
answers
/
{answerId}
One answer with its brand mentions and sources
curl --request GET \
--url https://api.seomator.com/v1/projects/{id}/answers/{answerId} \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/answers/{answerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/answers/{answerId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"answer": {
"id": "<string>",
"promptId": "<string>",
"assistant": "chatgpt",
"runDate": "<string>",
"status": "<string>",
"outcome": "<string>",
"analysisStatus": "pending",
"model": "<string>",
"capturedAt": "<string>",
"failCode": "no_result",
"prompt": "<string>",
"text": "<string>",
"mentions": [
{
"brandId": "<string>",
"rank": 123,
"firstOffset": 123,
"spans": [
[
123,
123
]
],
"retrieved": true,
"cited": true,
"linked": true,
"verification": "not_needed",
"nearbyCitations": [
123
]
}
],
"citations": [
{
"position": 123,
"offset": 123,
"label": "<string>",
"url": "<string>",
"domain": "<string>"
}
],
"sources": [
{
"url": "<string>",
"title": "<string>",
"host": "<string>",
"domain": "<string>",
"position": 123,
"publishedAt": "<string>",
"retrieved": true,
"linked": true,
"citationRank": 123
}
],
"searchQueries": [
"<string>"
],
"products": [
{
"title": "<string>",
"url": "<string>",
"price": "<string>",
"merchant": "<string>"
}
],
"hasAds": true,
"hasMap": true
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}