71trust / 100

Affiliates

by ReadX in News & content

x402 APIPassing, checked 3 h ago

Accounts affiliated with a user (e.g. an organization's members). Example: GET /api/jack/affiliates

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
1.2 s typical, 1.4 s 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://readx.sh/api/:name/affiliates"
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%2Faffiliates
const res = await pay("https://readx.sh/api/:name/affiliates");
console.log(await res.json());

Example input

{}

Example output

{
  "code": 0,
  "data": {
    "total_count": 3,
    "users": [
      {
        "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": ""
      }
    ]
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed4022.3 s$0.01
7 h agoPassed4021.4 s$0.01
10 h agoPassed402148 ms$0.01
14 h agoPassed402353 ms$0.01
18 h agoPassed4021.2 s$0.01
21 h agoPassed4021.3 s$0.01
25 h agoPassed4021.3 s$0.01
28 h agoPassed4021.1 s$0.01
32 h agoPassed4021.0 s$0.01
36 h agoPassed4021.4 s$0.01
39 h agoPassed4021.2 s$0.01
44 h agoPassed4021.0 s$0.01