AI Responses
Changed onRequests to this endpoint consume API units based on the prompts parameter: requests returning only custom prompt data are free, while requests including Ahrefs prompt data follow standard API unit pricing.
Request
- Base URLhttps://api.ahrefs.com/v3
- URLhttps://api.ahrefs.com/v3/brand-radar/ai-responses
- AuthHTTP bearer
Request body
Example request
{
"select": [
"field_a",
"field_b"
],
"brands": [
{
"names": [
"ahrefs",
"ahrefs seo"
],
"url_groups": [
{
"target": "ahrefs.com"
}
]
}
],
"competitors": [
{
"names": [
"ahrefs",
"ahrefs seo"
],
"url_groups": [
{
"target": "ahrefs.com"
}
]
}
],
"tags_filter": {
"or": [
{
"field": "tag",
"is": [
"eq",
"branded"
]
},
{
"field": "tag",
"is": [
"eq",
"competitor"
]
}
]
},
"brand_filter": {
"and": [
{
"field": "brand_name",
"is": [
"eq",
"mentioned"
]
},
{
"or": [
{
"field": "page_status",
"is": [
"eq",
"cited"
]
},
{
"field": "page_status",
"is": [
"eq",
"found_but_not_cited"
]
}
]
}
]
},
"sentiment_filter": {
"or": [
{
"and": [
{
"field": "brand",
"is": [
"eq",
"Adidas"
]
},
{
"field": "sentiment",
"is": [
"eq",
"negative"
]
}
]
},
{
"and": [
{
"field": "brand",
"is": [
"eq",
"Nike"
]
},
{
"field": "sentiment",
"is": [
"eq",
"positive"
]
},
{
"field": "aspect",
"is": [
"eq",
"price_value"
]
}
]
}
]
}
}Response
OK
Changes
- breaking
removed the enum value
relevanceof the request property - breaking
removed the enum value
volumeof the request property - breaking
the
request property type changed fromstringto no type - info
added the new optional request property
- info
added the new optional request property
- info
added
subschema #1subschema #2to therequest propertyoneOflist - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/xml)
- breaking
- info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/xml) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/xml)
- info