78trust / 100

Twitter Tweets

by SocialFetch in News & content

x402 APIPassing, checked 3 h ago

Get a single tweet by permalink or numeric id.

GET https://api.socialfetch.dev/v1/twitter/tweets

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
203 ms typical, 287 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.socialfetch.dev/v1/twitter/tweets?url=https%3A%2F%2Fx.com%2Felonmusk%2Fstatus%2F2044990537145753894"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.socialfetch.dev%2Fv1%2Ftwitter%2Ftweets
const res = await pay("https://api.socialfetch.dev/v1/twitter/tweets?url=https%3A%2F%2Fx.com%2Felonmusk%2Fstatus%2F2044990537145753894");
console.log(await res.json());

Example input

{
  "url": "https://x.com/elonmusk/status/2044990537145753894"
}

Example output

{
  "data": {
    "author": {
      "metrics": {
        "favourites": 40522,
        "followers": 12088110,
        "following": 3,
        "listedCount": 33151,
        "mediaCount": 2974,
        "tweets": 30975
      },
      "profile": {
        "_truncated": true,
        "accountCreatedAt": "2006-03-21T20:50:14.000Z",
        "avatarUrl": "https://pbs.twimg.com/profile_images/1661201415899951105/azNjKOSH_400x400.jpg",
        "bannerUrl": "https://pbs.twimg.com/profile_banners/12/1742427520/1500x500",
        "bio": "no state is the best state",
        "blueVerified": true,
        "displayName": "jack",
        "handle": "jack",
        "platform": "twitter",
        "platformUserId": "12",
        "privateAccount": false,
        "profileUrl": "https://x.com/jack",
        "verified": false
      }
    },
    "lookupStatus": "found",
    "replies": [
      {
        "_truncated": true,
        "conversationId": "20",
        "createdAt": "2026-09-01T10:39:41.000Z",
        "createdAtLabel": null,
        "createdAtUnix": 1788259181,
        "id": "2094736947130298379",
        "inReplyToScreenName": "jack",
        "inReplyToStatusId": "20",
        "inReplyToUserId": "12",
        "language": "en",
        "quotedStatusId": null,
        "text": "@jack So this is the first tweet ever made on this app",
        "url": "https://x.com/thisisdemilade/status/2094736947130298379"
      }
    ],
    "repliesPage": {
      "hasMore": true,
      "nextCursor": "eyJ2IjoxLCJjIjoiREFBS0NnQUJIUjRjeDZFX19wVUxBQUlBQUFHb1JXMVFRelozUVVGQlpsRXZaMGRLVGpCMlIzQXZRVUZCUVVOVlkyMVFXVEZVYkdWNGF…"
    },
    "tweet": {
      "_truncated": true,
      "conversationId": "20",
      "createdAt": "2006-03-21T20:50:14.000Z",
      "createdAtUnix": 1142974214,
      "displayTextRange": [
        0
      ],
      "entities": {
        "hashtags": [],
        "symbols": [],
        "urls": [],
        "userMentions": []
      },
      "id": "20",
      "isLongForm": false,
      "language": "en",
      "media": [],
      "metrics": {
        "bookmarks": 21366,
        "favorites": 308021,
        "quotes": 7127,
        "replies": 18017,
        "retweets": 124683,
        "views": 0
      },
      "text": "just setting up my twttr",
      "url": "https://x.com/jack/status/20"
    }
  },
  "meta": {
    "creditsCharged": 1,
    "requestId": "req_example_twitter_tweet",
    "version": "v1"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402154 ms$0.014
7 h agoPassed402309 ms$0.014
11 h agoPassed402195 ms$0.014
14 h agoPassed402197 ms$0.014
18 h agoPassed402250 ms$0.014
22 h agoPassed402235 ms$0.014
25 h agoPassed402203 ms$0.014
30 h agoPassed402287 ms$0.014