Get prominent terms
curl --request GET \
--url https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms \
--header 'API-KEY: <api-key>'import requests
url = "https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms"
headers = {"API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-KEY': '<api-key>'}};
fetch('https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms', 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.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>"
],
]);
$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.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-KEY", "<api-key>")
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.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_bodySERP Analyzer
Get prominent terms
Returns prominent words and phrases for a given query. The report includes word/phrase counts and their density.
Rate limit: 10 requests/sec
Example response:
"term","pages","density_min","density_avg","density_max","words_min","words_avg","words_max"
"pc builds","4","0.0","0.0","0.0","4.0","4.0","4.0"
"pcie slot","4","0.0","0.0","0.0","5.0","5.0","5.0"
"gaming performance","5","0.0","0.0","0.0","2.0","4.17","12.0"
"best gaming","4","0.0","0.0","0.0","2.0","4.4","9.0"
"graphics card","8","0.0","0.0","0.0","5.0","10.11","16.0"
"graphics cards","6","0.0","0.0","0.0","2.0","2.0","2.0"
"gaming pc","10","0.0","0.0","0.01","2.0","10.88","53.0"
"air cooler","4","0.0","0.0","0.0","2.0","2.0","2.0"
"pc build","7","0.0","0.0","0.01","2.0","5.88","19.0"
The exact number of keywords varies depending on the specified keyword and content from Google. Prominent words are only populated if your selected country for the query does not support NLP analysis. With NLP on - prominent words are automatically assembled into phrases.
Response can only be generated after SERP Analyzer query finishes loading and state is reported as completed.
GET
/
api
/
v1
/
exports
/
csv
/
serp_analyzer
/
{serp_analyzer_id}
/
prominent_terms
Get prominent terms
curl --request GET \
--url https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms \
--header 'API-KEY: <api-key>'import requests
url = "https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms"
headers = {"API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'API-KEY': '<api-key>'}};
fetch('https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms', 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.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>"
],
]);
$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.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("API-KEY", "<api-key>")
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.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms")
.header("API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.surferseo.com/api/v1/exports/csv/serp_analyzer/{serp_analyzer_id}/prominent_terms")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_bodyWas this page helpful?