curl --request POST \
--url https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keyword": "american-airlines"
}
'import requests
url = "https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research"
payload = { "keyword": "american-airlines" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({keyword: 'american-airlines'})
};
fetch('https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research', 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.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research",
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([
'keyword' => 'american-airlines'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research"
payload := strings.NewReader("{\n \"keyword\": \"american-airlines\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"american-airlines\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keyword\": \"american-airlines\"\n}"
response = http.request(request)
puts response.read_bodyGet keyword research
The core research call: pass a keyword slug from list_collection_keywords (or the keyword text / research page URL). Filter sources or cap rows per modifier to keep the response small; the related group alone can hold 2,500 rows.
curl --request POST \
--url https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keyword": "american-airlines"
}
'import requests
url = "https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research"
payload = { "keyword": "american-airlines" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({keyword: 'american-airlines'})
};
fetch('https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research', 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.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research",
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([
'keyword' => 'american-airlines'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research"
payload := strings.NewReader("{\n \"keyword\": \"american-airlines\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"american-airlines\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"keyword\": \"american-airlines\"\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/answerthepublic-com/search-suggestions/get-keyword-research
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research
{
"operationId": "answerthepublic-com.search-suggestions.get-keyword-research",
"method": "POST",
"path": "/apis/v1/answerthepublic-com/search-suggestions/get-keyword-research",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"keyword": "american-airlines",
"sources": [
"questions"
]
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"keyword": {
"description": "Keyword slug from list_collection_keywords (e.g. american-airlines), the keyword text (American Airlines; lower-cased and hyphenated), or a pasted https://answerthepublic.com/{locale}/research/on/{slug} URL.",
"type": "string"
},
"max_rows_per_modifier": {
"description": "Keep at most this many suggestions per modifier, in the site's order (search volume descending within a modifier). Default: all rows. Coverage is reported partial when rows were dropped.\n\nProvider reference: minimum 1; maximum 5000.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 5000,
"min": 1
}
},
"sources": {
"description": "Return only these source groups. Default: all six.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"keyword"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Keyword slug from list_collection_keywords (e.g. american-airlines), the keyword text (American Airlines; lower-cased and hyphenated), or a pasted https://answerthepublic.com/{locale}/research/on/{slug} URL.
Response
One Free Market Research keyword report: the search suggestions people type around a brand keyword, grouped by source (questions, prepositions, comparisons, alphabeticals, numbers, related) and modifier (can, why, vs, ...), each with Google monthly search volume and cost per click where the site has them, plus the suggestions added and gone since the previous snapshot. The data is a periodic snapshot (collected_at), US EN only. Keywords outside the free catalog are not_found; use list_collection_keywords to find valid slugs.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
additional_suggestions_count | number | Suggestions the site holds beyond the free report, as stated by the API. |
collected_at | string | RFC 3339 instant the snapshot was collected. |
keyword | string | |
language | string | |
observed_at_ms | number | |
region | string | Google market the suggestions were collected in, as the API states it (us for the whole free catalog). |
slug | string | |
source_url | string | Public research page for the keyword. |
sources | object[] | |
suggestions_count | number | Total suggestions in the report across all six sources, as stated by the API (not reduced by the sources filter or row cap). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.