curl --request GET \
--url https://api.superx.so/v1/x/posts/{id}/replies \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superx.so/v1/x/posts/{id}/replies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.superx.so/v1/x/posts/{id}/replies', 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.superx.so/v1/x/posts/{id}/replies",
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.superx.so/v1/x/posts/{id}/replies"
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.superx.so/v1/x/posts/{id}/replies")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/x/posts/{id}/replies")
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{
"data": {
"post_id": "1938765432109876543",
"post": null,
"replies": [
{
"id": "1938767777109876543",
"url": "https://x.com/janedev/status/1938767777109876543",
"text": "The 30-day constraint is the whole trick. Deadlines beat motivation.",
"created_at": "2026-06-20T15:31:00.000Z",
"author": {
"x_user_id": "1290011",
"username": "janedev",
"name": "Jane",
"avatar_url": "https://pbs.twimg.com/profile_images/2/avatar.jpg",
"verified": false,
"followers_count": 3110
},
"metrics": {
"likes": 288,
"replies": 12,
"reposts": 4,
"quotes": 0,
"views": 41022,
"bookmarks": 19
},
"in_reply_to_id": "1938765432109876543"
}
],
"replies_scanned": 47,
"note": "Top direct replies by likes, from up to 3 relevance-ranked pages (about 60 candidates). Not exhaustive and not chronological. Replies the account owner wrote themselves are included."
}
}{
"error": {
"code": "invalid_parameter",
"message": "since must be a UTC ISO-8601 timestamp"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Unknown or revoked API key"
}
}{
"error": "subscription_required: The SuperX API requires an active subscription"
}{
"error": {
"code": "post_not_found",
"message": "No public post with that id. It may be deleted, protected, or the id may be wrong. A live lookup that fails upstream can also report this."
}
}{
"error": {
"code": "lookup_quota_exceeded",
"message": "Today's live X lookup allowance (300 lookups) is used up. It is shared with Ask SuperX in the app and resets at midnight UTC.",
"retry_after": 20400,
"limit": 300,
"reset_at": 1789430400
}
}{
"error": {
"code": "internal_error",
"message": "Failed to fetch posts"
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch scheduled posts. Try again shortly."
}
}{
"error": {
"code": "upstream_unavailable",
"message": "The scheduling service is temporarily unavailable. Retry with the same Idempotency-Key."
}
}Top replies to a public post
The best-liked DIRECT replies to a public post, read live from X.
This walks up to 3 relevance-ranked upstream pages (about 60
candidate replies), ranks what it found by likes and returns the top
limit. It is a SAMPLE of the strongest replies, not every reply and
not chronological order, and it cannot page further. To collect
everyone who replied to a post, use the audience collections built in
the SuperX app (GET /v1/datasets).
Unlike the same feature inside the SuperX app, replies written by the account owner themselves are NOT filtered out: an owner-scoped read has no “active account” to compare against.
Costs a flat THREE live-enrichment units and draws on the shared
300/day live-lookup allowance (one unit of that per page actually
fetched). data.post is the post being replied to when the upstream
payload carried it, and null otherwise; it is never a second lookup.
The X-RateLimit-* headers on this endpoint report the ENRICHMENT
window, not the ordinary read window.
curl --request GET \
--url https://api.superx.so/v1/x/posts/{id}/replies \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superx.so/v1/x/posts/{id}/replies"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.superx.so/v1/x/posts/{id}/replies', 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.superx.so/v1/x/posts/{id}/replies",
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.superx.so/v1/x/posts/{id}/replies"
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.superx.so/v1/x/posts/{id}/replies")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/x/posts/{id}/replies")
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{
"data": {
"post_id": "1938765432109876543",
"post": null,
"replies": [
{
"id": "1938767777109876543",
"url": "https://x.com/janedev/status/1938767777109876543",
"text": "The 30-day constraint is the whole trick. Deadlines beat motivation.",
"created_at": "2026-06-20T15:31:00.000Z",
"author": {
"x_user_id": "1290011",
"username": "janedev",
"name": "Jane",
"avatar_url": "https://pbs.twimg.com/profile_images/2/avatar.jpg",
"verified": false,
"followers_count": 3110
},
"metrics": {
"likes": 288,
"replies": 12,
"reposts": 4,
"quotes": 0,
"views": 41022,
"bookmarks": 19
},
"in_reply_to_id": "1938765432109876543"
}
],
"replies_scanned": 47,
"note": "Top direct replies by likes, from up to 3 relevance-ranked pages (about 60 candidates). Not exhaustive and not chronological. Replies the account owner wrote themselves are included."
}
}{
"error": {
"code": "invalid_parameter",
"message": "since must be a UTC ISO-8601 timestamp"
}
}{
"error": {
"code": "invalid_api_key",
"message": "Unknown or revoked API key"
}
}{
"error": "subscription_required: The SuperX API requires an active subscription"
}{
"error": {
"code": "post_not_found",
"message": "No public post with that id. It may be deleted, protected, or the id may be wrong. A live lookup that fails upstream can also report this."
}
}{
"error": {
"code": "lookup_quota_exceeded",
"message": "Today's live X lookup allowance (300 lookups) is used up. It is shared with Ask SuperX in the app and resets at midnight UTC.",
"retry_after": 20400,
"limit": 300,
"reset_at": 1789430400
}
}{
"error": {
"code": "internal_error",
"message": "Failed to fetch posts"
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch scheduled posts. Try again shortly."
}
}{
"error": {
"code": "upstream_unavailable",
"message": "The scheduling service is temporarily unavailable. Retry with the same Idempotency-Key."
}
}Authorizations
A SuperX API key ("sxk_..."), created in the SuperX app under Account > API / MCP / CLI. Keys are server-side secrets.
Path Parameters
Numeric X post id.
^[0-9]{1,25}$Query Parameters
Replies to return, best-liked first (1-20).
1 <= x <= 20Response
The top replies found.
Show child attributes
Show child attributes