75trust / 100

Readx

by ReadX in News & content

x402 APIPassing, checked 47 min ago

A user's timeline: tweets, retweets and quotes. Example: GET /api/jack

GET https://readx.sh/api/:name

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
1.2 s typical, 1.7 s slowest 5%
Last check
47 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://readx.sh/api/:name"
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%2Freadx.sh%2Fapi%2F%3Aname
const res = await pay("https://readx.sh/api/:name");
console.log(await res.json());

Example input

{}

Example output

{
  "code": 0,
  "data": {
    "timeline": [
      {
        "attribution": null,
        "available": true,
        "card": null,
        "hasThread": false,
        "history": null,
        "id": "20",
        "isAI": false,
        "isAd": false,
        "location": "",
        "media": null,
        "mediaTags": null,
        "note": null,
        "pinned": false,
        "poll": null,
        "quote": null,
        "reply": [],
        "replyId": "0",
        "retweet": null,
        "source": "",
        "stats": {
          "likes": 200000,
          "quotes": 9000,
          "replies": 200000,
          "retweets": 130000,
          "views": 0
        },
        "text": "just setting up my twttr",
        "threadId": "20",
        "time": 1142974214,
        "tombstone": "",
        "user": {
          "banner": "",
          "bio": "",
          "followers": 6500000,
          "following": 4000,
          "fullname": "jack",
          "id": "12",
          "joinDate": 1142974214,
          "likes": 0,
          "location": "",
          "media": 0,
          "pinnedTweet": "0",
          "protected": false,
          "suspended": false,
          "tweets": 30000,
          "userPic": "",
          "username": "jack",
          "verifiedType": "Blue",
          "website": ""
        }
      }
    ]
  },
  "pagination": {
    "has_more": true,
    "is_first_page": true,
    "next_cursor": "DAABCgAB...cursor"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
47 min agoPassed4021.3 s$0.01
4 h agoPassed4021.2 s$0.01
8 h agoPassed4021.3 s$0.01
11 h agoPassed4021.3 s$0.01
15 h agoPassed4021.5 s$0.01
19 h agoPassed4021.1 s$0.01
23 h agoPassed4021.2 s$0.01
26 h agoPassed4021.2 s$0.01
30 h agoPassed402860 ms$0.01
33 h agoPassed4021.0 s$0.01
36 h agoPassed4022.1 s$0.01
42 h agoPassed4021.7 s$0.01