Get topic cluster details
curl --request GET \
--url https://api.snowseo.com/v3/topic-clusters/{topicId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.snowseo.com/v3/topic-clusters/{topicId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.snowseo.com/v3/topic-clusters/{topicId}', 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.snowseo.com/v3/topic-clusters/{topicId}",
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://api.snowseo.com/v3/topic-clusters/{topicId}"
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://api.snowseo.com/v3/topic-clusters/{topicId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.snowseo.com/v3/topic-clusters/{topicId}")
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{
"topic": {},
"overview": {},
"trend": {},
"performance": {},
"page": 123,
"pageSize": 123,
"total": 123,
"totalPages": 123,
"summary": {},
"items": [
{}
],
"keywords": [
{}
],
"prompts": [
{}
]
}{
"success": true,
"error": "<string>",
"code": "<string>",
"message": "<string>",
"reference": "<string>"
}{
"success": true,
"error": "<string>",
"code": "<string>",
"message": "<string>",
"reference": "<string>"
}Topic Clusters
Get Topic
Get details for a specific topic cluster.
GET
/
v3
/
topic-clusters
/
{topicId}
Get topic cluster details
curl --request GET \
--url https://api.snowseo.com/v3/topic-clusters/{topicId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.snowseo.com/v3/topic-clusters/{topicId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.snowseo.com/v3/topic-clusters/{topicId}', 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.snowseo.com/v3/topic-clusters/{topicId}",
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://api.snowseo.com/v3/topic-clusters/{topicId}"
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://api.snowseo.com/v3/topic-clusters/{topicId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.snowseo.com/v3/topic-clusters/{topicId}")
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{
"topic": {},
"overview": {},
"trend": {},
"performance": {},
"page": 123,
"pageSize": 123,
"total": 123,
"totalPages": 123,
"summary": {},
"items": [
{}
],
"keywords": [
{}
],
"prompts": [
{}
]
}{
"success": true,
"error": "<string>",
"code": "<string>",
"message": "<string>",
"reference": "<string>"
}{
"success": true,
"error": "<string>",
"code": "<string>",
"message": "<string>",
"reference": "<string>"
}Returns detailed information about a specific topic including all linked keywords, prompts, visibility trends, and performance insights.
Query parameters:
teamId, and a reporting window as startDate and endDate (YYYY-MM-DD) or days (see Date Windows). Send only endDate for All Time: the window starts at the first stored data point (search data is capped at 480 days) and has no previous-period change. The response has topic, overview, trend, performance, keywords, and prompts. Returns 404 if the topic does not exist for the team.Authorizations
bearerAuthapiKey
Your SnowSEO API key (sk_...).
Path Parameters
Topic cluster ID
Query Parameters
Team ID
1-based page. Default 1.
Rows per page (max 1000), or 'all'. Every response reports total and totalPages.
Available options:
overview, keywords, prompts Available options:
All, Ranked, Mentioned Available options:
keyword, position, impressions, clicks, positionDelta, impressionsChangePct, clicksChangePct, prompt, shareOfVoice, mentions Available options:
asc, desc Days back from today on the team's calendar, converted to startDate/endDate. Ignored when startDate or endDate is set. Defaults to 30.
Required range:
x >= 1Window start date (YYYY-MM-DD on the team's calendar). days is ignored when a date is sent. A start with no end runs to today; omit with endDate for All Time.
Window end date (YYYY-MM-DD on the team's calendar). days is ignored when a date is sent.
Was this page helpful?

