step 1 / 4
Define the category prompt set and submit as a batch
Share of voice is computed over a prompt basket ("best crm for startups", "top crm tools 2026", …). Submit the whole basket in one batch call, each item fans out across surfaces and regions independently.
POST /v1/search/batch
curl -sS -X POST "https://api.aisearchapi.dev/v1/search/batch" \
-H "Authorization: Bearer $AISEARCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{ "query": "best crm for startups",
"surfaces": ["chatgpt", "perplexity", "copilot"],
"regions": [{ "country": "US" }, { "country": "GB" }] },
{ "query": "top crm tools 2026",
"surfaces": ["chatgpt", "perplexity", "copilot"],
"regions": [{ "country": "US" }, { "country": "GB" }] }
]
}'