curl --request GET \
--url https://api.superx.so/v1/x/users/{handle}/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superx.so/v1/x/users/{handle}/posts"
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/users/{handle}/posts', 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/users/{handle}/posts",
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/users/{handle}/posts"
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/users/{handle}/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/x/users/{handle}/posts")
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": {
"handle": "buildersam",
"profile_resolved_locally": true,
"posts": [
{
"id": "1938765432109876543",
"url": "https://x.com/buildersam/status/1938765432109876543",
"text": "I built my first product in 30 days with zero audience.",
"created_at": "2026-06-20T15:04:00.000Z",
"author": {
"x_user_id": "44196397",
"username": "buildersam",
"name": "Sam Fields",
"avatar_url": "https://pbs.twimg.com/profile_images/1/avatar.jpg",
"verified": true,
"followers_count": 8421
},
"metrics": {
"likes": 4211,
"replies": 312,
"reposts": 388,
"quotes": 44,
"views": 512000,
"bookmarks": 1904
},
"in_reply_to_id": null
}
],
"note": "One live timeline page, newest first. A post flagged is_pinned is the pinned post and is usually old. Replies are included (they carry in_reply_to_id)."
}
}{
"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": "user_not_found",
"message": "No public X account matches that handle. It may be suspended, renamed, or misspelled."
}
}{
"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."
}
}Latest posts of a public account
One live timeline page (about 20 posts) for any public account, newest first, with engagement counts. The up-to-the-minute source for what an account just posted.
Replies are included and carry in_reply_to_id; a post flagged
is_pinned is the account’s pinned post and is usually old, not
recent. exclude_reposts=true drops reposts, and because only ONE
page is fetched, fewer than limit posts can come back after the
filter.
Owner-scoped, no account_id. Costs ONE live-enrichment unit when
SuperX already knows the handle and TWO when it does not (a live
profile lookup resolves the handle first);
data.profile_resolved_locally reports which happened. Draws on the
shared 300/day live-lookup allowance either way.
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/users/{handle}/posts \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superx.so/v1/x/users/{handle}/posts"
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/users/{handle}/posts', 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/users/{handle}/posts",
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/users/{handle}/posts"
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/users/{handle}/posts")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superx.so/v1/x/users/{handle}/posts")
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": {
"handle": "buildersam",
"profile_resolved_locally": true,
"posts": [
{
"id": "1938765432109876543",
"url": "https://x.com/buildersam/status/1938765432109876543",
"text": "I built my first product in 30 days with zero audience.",
"created_at": "2026-06-20T15:04:00.000Z",
"author": {
"x_user_id": "44196397",
"username": "buildersam",
"name": "Sam Fields",
"avatar_url": "https://pbs.twimg.com/profile_images/1/avatar.jpg",
"verified": true,
"followers_count": 8421
},
"metrics": {
"likes": 4211,
"replies": 312,
"reposts": 388,
"quotes": 44,
"views": 512000,
"bookmarks": 1904
},
"in_reply_to_id": null
}
],
"note": "One live timeline page, newest first. A post flagged is_pinned is the pinned post and is usually old. Replies are included (they carry in_reply_to_id)."
}
}{
"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": "user_not_found",
"message": "No public X account matches that handle. It may be suspended, renamed, or misspelled."
}
}{
"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
The account's @handle, 1-15 letters, numbers or underscores (a leading @ is allowed).
Query Parameters
Posts to return (1-20).
1 <= x <= 20Return only the account's own posts, dropping reposts.
Response
The account's latest posts.
Show child attributes
Show child attributes