Brand evidence
Look up keywords
Looks up keywords in a saved dataset and lists any that are missing.
GET /v2/brands/{brand_id}/evidence/{kind}/{key}
- Path
kindiskeyword_dataset.
Authentication and access
- Authentication
- Bearer API key
- Scopes
- optimizations:read
- Roles
- approver, editor, owner, publisher, service, viewer
- Plans
- Optimizer
- Credits
- No credit charge.
Parameters
| Name | Where | Type | Required | Description |
|---|---|---|---|---|
brand_id | path | string (uuid) | Yes | |
key | path | string (uuid) | Yes | The dataset UUID. |
kind | path | "keyword_dataset" | Yes | |
country | query | string | Yes | |
language | query | string | Yes | |
keywords | query | array of string | Yes | |
source_revision | query | integer | null | No |
Request body
Send this request without a body.
Request examples
Set AEO_API_BASE_URL to https://api.aeoapi.dev and AEO_API_KEY to your server-side API key. Set the other environment variables to the values for your request.
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/keyword_dataset/$KEY" \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode "country=$COUNTRY" \
--data-urlencode "language=$LANGUAGE" \
--data-urlencode "keywords=$KEYWORDS"from os import environ
from aeo_sdk import AeoClient
with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
response = client.v2_get_brands_brand_id_evidence_kind_key(
brand_id=environ["BRAND_ID"],
key=environ["KEY"],
kind="keyword_dataset",
country=environ["COUNTRY"],
language=environ["LANGUAGE"],
keywords=[environ["KEYWORDS"]],
)
print(response.body)import { AeoClient } from "@aeoapi/aeo-sdk";
const client = new AeoClient(process.env.AEO_API_KEY!, {
baseUrl: process.env.AEO_API_BASE_URL!,
});
const response = await client.v2GetBrandsBrandIdEvidenceKindKey(
process.env.BRAND_ID!,
process.env.KEY!,
"keyword_dataset",
{
country: process.env.COUNTRY!,
language: process.env.LANGUAGE!,
keywords: [process.env.KEYWORDS!],
},
);
console.log(response.body);Responses
HTTP 200
Successful Response
application/json
Example generated from the response schema.
{
"data": {
"dataset_id": "00000000-0000-4000-8000-000000000001",
"source_revision": 0,
"rights_expires_at": "2026-01-01T00:00:00Z",
"keywords": [],
"missing_keywords": []
},
"meta": {}
}| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.dataset_id | string (uuid) | Yes | |
data.keywords | array of object | Yes | |
data.keywords[].country | string | Yes | |
data.keywords[].difficulty_method | string | null | No | |
data.keywords[].difficulty_score | number | null | No | |
data.keywords[].estimated_monthly_searches | integer | null | No | |
data.keywords[].keyword | string | Yes | |
data.keywords[].language | string | Yes | |
data.keywords[].measured_on | string (date) | Yes | |
data.keywords[].source | string | Yes | |
data.keywords[].source_reference | string | Yes | |
data.keywords[].volume_period_end | string (date) | null | No | |
data.keywords[].volume_period_start | string (date) | null | No | |
data.missing_keywords | array of string | Yes | |
data.rights_expires_at | string (date-time) | Yes | |
data.source_revision | integer | Yes | |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
Errors
Read code and message in the error response. Keep request_id when you contact support.
- HTTP 400
invalid_request - HTTP 401
unauthenticated - HTTP 403
forbidden - HTTP 404
not_found - HTTP 422
validation_error - HTTP 429
rate_limited