List LinkedIn Citations
curl --request GET \
--url https://server.promptwatch.com/api/v2/socials/linkedin \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/socials/linkedin"
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/socials/linkedin', 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/socials/linkedin",
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/socials/linkedin"
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/socials/linkedin")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/socials/linkedin")
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": "550e8400-e29b-41d4-a716-446655440001",
"externalId": "activity:7234567890123456789",
"title": "How AI search is changing B2B research",
"content": "Buyers now ask ChatGPT before they visit a website...",
"type": "POST",
"likeCount": 128,
"commentCount": 14,
"publishedAt": "2026-03-01T12:00:00.000Z",
"author": {
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Alex Rivera",
"url": "https://www.linkedin.com/in/alex",
"type": "PERSON",
"avatarUrl": null
},
"url": "https://www.linkedin.com/posts/alex_ai-search-activity-7234567890123456789-AbCd",
"urlId": "550e8400-e29b-41d4-a716-446655440003",
"citationCount": 9,
"avgPosition": 1.8,
"minPosition": 1,
"maxPosition": 4
}
],
"total": 18,
"page": 1,
"size": 25,
"totalPages": 1
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}Socials
List LinkedIn Citations
Get a paginated list of LinkedIn posts and Pulse articles cited in LLM responses, with sorting and filtering. Mirrors the LinkedIn table on the Socials dashboard.
GET
/
socials
/
linkedin
List LinkedIn Citations
curl --request GET \
--url https://server.promptwatch.com/api/v2/socials/linkedin \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/socials/linkedin"
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/socials/linkedin', 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/socials/linkedin",
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/socials/linkedin"
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/socials/linkedin")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/socials/linkedin")
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": "550e8400-e29b-41d4-a716-446655440001",
"externalId": "activity:7234567890123456789",
"title": "How AI search is changing B2B research",
"content": "Buyers now ask ChatGPT before they visit a website...",
"type": "POST",
"likeCount": 128,
"commentCount": 14,
"publishedAt": "2026-03-01T12:00:00.000Z",
"author": {
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Alex Rivera",
"url": "https://www.linkedin.com/in/alex",
"type": "PERSON",
"avatarUrl": null
},
"url": "https://www.linkedin.com/posts/alex_ai-search-activity-7234567890123456789-AbCd",
"urlId": "550e8400-e29b-41d4-a716-446655440003",
"citationCount": 9,
"avgPosition": 1.8,
"minPosition": 1,
"maxPosition": 4
}
],
"total": 18,
"page": 1,
"size": 25,
"totalPages": 1
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred"
}Authorizations
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Query Parameters
Page number (1-based)
Required range:
x >= 1Page size
Required range:
1 <= x <= 100Filter by monitor
Field to sort by
Available options:
citationCount, avgPosition, likeCount, commentCount, publishedAt Sort order
Available options:
asc, desc Filter citations from this date (ISO 8601)
Filter citations until this date (ISO 8601)
Filter by LLM model IDs. Repeat for multiple: models=x&models=y Single model
Filter by prompt type. Repeat for multiple values.
Available options:
ORGANIC, BRAND_SPECIFIC, COMPETITOR_COMPARISON Filter by tag IDs. Repeat for multiple values.
Filter by topic IDs. Repeat for multiple values.
Search within post title/content or author name