T

Twitter/X API · User Highlights

by Twitter/X API

GETBaseArbitrumPolygon

$0.005

per call · USD Coin on Base

Get the highlighted posts selected on an X user profile.

Endpoint

GET https://twitter.use.x402atlas.com/user-highlights

3

Calls / 30d

2

Unique payers / 30d

Sep 1

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://twitter.use.x402atlas.com/user-highlights", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://twitter.use.x402atlas.com/user-highlights?username=BillGates" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "cursor": "NEXT_PAGE_CURSOR",
  "data": [
    {
      "created_at": "Sun Mar 23 12:00:00 +0000 2025",
      "favorite_count": 120,
      "full_text": "Example X post",
      "id_str": "1903602810652082591",
      "reply_count": 8,
      "retweet_count": 15,
      "user": {
        "id_str": "50393960",
        "name": "Bill Gates",
        "screen_name": "BillGates"
      }
    }
  ],
  "queried_at": "2026-07-26T12:00:00Z",
  "result_count": 1
}

Payment details

Pay to0x51d577c8cbb8b3fb1ba0ce31c7923cc27a07f78b
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Arbitrum, Polygon
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from Twitter/X API & similar services