curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap', 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://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"you": "pixelboxd.com",
"rival": "backloggd.com",
"keywords": [
{
"keyword": "game backlog app",
"volume": 1600,
"difficulty": 22,
"intent": "commercial",
"competition": "low",
"competitor_position": 3,
"competitor_url": "https://backloggd.com/"
}
],
"cost_usd": 0.02
}{
"error": {
"code": "invalid_request",
"message": "Pass a keyword.",
"details": {}
}
}{
"error": {
"code": "engine_not_allowed",
"message": "This workspace's AI model settings block every engine asked; pick another engine.",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Not found",
"details": {}
}
}{
"error": {
"code": "not_set_up",
"message": "This app has no domain to compare yet.",
"details": {}
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request",
"details": {}
}
}{
"error": {
"code": "quota_exceeded",
"message": "This app's live SEO lookups are used up for now; they reset within a week.",
"details": {}
}
}{
"error": {
"code": "unavailable",
"message": "Live SEO data is unavailable right now.",
"details": {}
}
}Get keywords a competitor wins
Keywords a rival ranks for in Google’s top 20 and this app doesn’t, by the rival’s traffic. Brand searches excluded. Bounded to limit rows; not a paginated collection. Limited to 60 requests per minute per app across all six research endpoints; responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, and a 429 carries Retry-After. Paid lookups also draw on a weekly per-app budget (429 quota_exceeded once it is used up).
curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap', 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://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/seo/research/competitor-gap")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"you": "pixelboxd.com",
"rival": "backloggd.com",
"keywords": [
{
"keyword": "game backlog app",
"volume": 1600,
"difficulty": 22,
"intent": "commercial",
"competition": "low",
"competitor_position": 3,
"competitor_url": "https://backloggd.com/"
}
],
"cost_usd": 0.02
}{
"error": {
"code": "invalid_request",
"message": "Pass a keyword.",
"details": {}
}
}{
"error": {
"code": "engine_not_allowed",
"message": "This workspace's AI model settings block every engine asked; pick another engine.",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Not found",
"details": {}
}
}{
"error": {
"code": "not_set_up",
"message": "This app has no domain to compare yet.",
"details": {}
}
}{
"error": {
"code": "invalid_request",
"message": "Invalid request",
"details": {}
}
}{
"error": {
"code": "quota_exceeded",
"message": "This app's live SEO lookups are used up for now; they reset within a week.",
"details": {}
}
}{
"error": {
"code": "unavailable",
"message": "Live SEO data is unavailable right now.",
"details": {}
}
}Authorizations
Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.
Path Parameters
ID of the app.
Query Parameters
Competitor domain, e.g. example.com.
Site language and market, e.g. en-US, es-MX, de. Default en-US.
Max rows.
1 <= x <= 50Response
Keywords the rival wins and this app doesn't.
Was this page helpful?