Get the search keywords that surfaced a Google Business Profile
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/accounts/{id}/search-keywords \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/google/accounts/{id}/search-keywords', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/google/accounts/{id}/search-keywords"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"keywords": [
{
"is_threshold": true,
"keyword": "<string>",
"threshold": 123,
"value": 123
}
],
"next_cursor": "<string>"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Google
Get the search keywords that surfaced a Google Business Profile
Returns the keywords people searched before seeing the location, aggregated by month over an inclusive YYYY-MM range. A low-volume keyword comes back with threshold and is_threshold=true instead of value: Google withholds the exact count and gives an upper bound, so treating a threshold as a count overstates the keyword. limit is capped at 100 by Google.
GET
/
platforms
/
google
/
accounts
/
{id}
/
search-keywords
Get the search keywords that surfaced a Google Business Profile
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/accounts/{id}/search-keywords \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/google/accounts/{id}/search-keywords', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/google/accounts/{id}/search-keywords"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"keywords": [
{
"is_threshold": true,
"keyword": "<string>",
"threshold": 123,
"value": 123
}
],
"next_cursor": "<string>"
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}Authorizations
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Path Parameters
Connected account ID
Query Parameters
Inclusive start month, YYYY-MM
Inclusive end month, YYYY-MM
Keywords per page, maximum 100
Pagination cursor from a previous response
Response
OK
Show child attributes
Show child attributes