G
$0.004
per call · USD Coin on Base
User following
Endpoint
POST https://glim.sh/api/v1/twitter/users/:ref/following22
Calls / 30d
2
Unique payers / 30d
Aug 27
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://glim.sh/api/v1/twitter/users/:ref/following", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"page_size": 200
}),
});
const data = await res.json();cURL
curl -X POST \
"https://glim.sh/api/v1/twitter/users/:ref/following" \
-H "Content-Type: application/json" \
-d '{"page_size":200}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": [
{
"id": "44196397",
"username": "cascade_fyi"
}
],
"meta": {
"result_count": 1
}
}Payment details
Pay to
0xc751344ee09b5159160173f77d4a1169bcd386a1Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana, Monad
Schemesexact
Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from glim.sh & similar services
G
glim.sh · Twitter Search
glim.sh
Search tweets with advanced operators (recommended). Body param is `query` (not q), e.g. {"query":"from:elonmusk AI min_faves:100"}
POSTBaseSearch & Web
$0.005 / call4.1k calls / 30d
G
glim.sh · Amazon Search
glim.sh
Search Amazon by keyword or browse bestsellers by category slug
POSTBaseSearch & Web
$0.005 / call265 calls / 30d
G
glim.sh · WEB Search
glim.sh
Web search powered by Exa
POSTBaseSearch & Web
$0.01 / call209 calls / 30d