List Query Fanouts
curl --request GET \
--url https://server.promptwatch.com/api/v2/query-fanouts \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/query-fanouts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://server.promptwatch.com/api/v2/query-fanouts', 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://server.promptwatch.com/api/v2/query-fanouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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://server.promptwatch.com/api/v2/query-fanouts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-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://server.promptwatch.com/api/v2/query-fanouts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/query-fanouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "6ba7b828-9dad-11d1-80b4-00c04fd430c8",
"prompt": "Affordable project management tools for agencies?",
"type": "ORGANIC",
"intent": "COMMERCIAL",
"combinedVolume": 14800,
"combinedDifficulty": 41,
"fanouts": [
{
"id": "6ba7b829-9dad-11d1-80b4-00c04fd430c8",
"text": "agency project management software",
"foundAt": "2026-07-28T09:15:00.000Z",
"response": {
"id": "6ba7b82c-9dad-11d1-80b4-00c04fd430c8",
"model": "gpt-5",
"provider": "openai",
"createdAt": "2026-07-28T09:15:00.000Z"
}
}
]
},
{
"id": "6ba7b82a-9dad-11d1-80b4-00c04fd430c8",
"prompt": "Example Brand vs Contoso for invoicing",
"type": "COMPETITOR_COMPARISON",
"intent": "BRANDED",
"combinedVolume": 3200,
"combinedDifficulty": 55,
"fanouts": []
}
],
"total": 95,
"page": 1,
"size": 25,
"totalPages": 4
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "PROMPT_NOT_FOUND",
"message": "Prompt not found"
}Query Fanouts
List Query Fanouts
Get paginated list of prompts with query fanouts extracted from AI responses
GET
/
query-fanouts
List Query Fanouts
curl --request GET \
--url https://server.promptwatch.com/api/v2/query-fanouts \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/query-fanouts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://server.promptwatch.com/api/v2/query-fanouts', 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://server.promptwatch.com/api/v2/query-fanouts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-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://server.promptwatch.com/api/v2/query-fanouts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-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://server.promptwatch.com/api/v2/query-fanouts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/query-fanouts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "6ba7b828-9dad-11d1-80b4-00c04fd430c8",
"prompt": "Affordable project management tools for agencies?",
"type": "ORGANIC",
"intent": "COMMERCIAL",
"combinedVolume": 14800,
"combinedDifficulty": 41,
"fanouts": [
{
"id": "6ba7b829-9dad-11d1-80b4-00c04fd430c8",
"text": "agency project management software",
"foundAt": "2026-07-28T09:15:00.000Z",
"response": {
"id": "6ba7b82c-9dad-11d1-80b4-00c04fd430c8",
"model": "gpt-5",
"provider": "openai",
"createdAt": "2026-07-28T09:15:00.000Z"
}
}
]
},
{
"id": "6ba7b82a-9dad-11d1-80b4-00c04fd430c8",
"prompt": "Example Brand vs Contoso for invoicing",
"type": "COMPETITOR_COMPARISON",
"intent": "BRANDED",
"combinedVolume": 3200,
"combinedDifficulty": 55,
"fanouts": []
}
],
"total": 95,
"page": 1,
"size": 25,
"totalPages": 4
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "PROMPT_NOT_FOUND",
"message": "Prompt not found"
}Authorizations
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Query Parameters
Required range:
x >= 1Required range:
1 <= x <= 100Text search on prompt
Prompt type filter; repeat the parameter for multiple values
Available options:
ORGANIC, BRAND_SPECIFIC, COMPETITOR_COMPARISON Intent type filter; repeat the parameter for multiple values
Available options:
BRANDED, INFORMATIONAL, NAVIGATIONAL, COMMERCIAL, TRANSACTIONAL Filter to prompts with query fanouts extracted from responses
Filter by prompt ID(s). Repeat for multiple: promptId=id1&promptId=id2
Sort field (combinedVolume/combinedDifficulty not supported - computed post-query)
Available options:
createdAt, updatedAt, type, intent Available options:
asc, desc