71trust / 100

Communities

by ReadX in News & content

x402 APIPassing, checked 3 h ago

A Community's metadata: name, description, member/moderator counts, rules, topic, admin and creator. Example: GET /api/communities/1493446837214187523

GET https://readx.sh/api/communities/:id

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
1.3 s typical, 1.9 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/communities/:id"
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%2Fcommunities%2F%3Aid
const res = await pay("https://readx.sh/api/communities/:id");
console.log(await res.json());

Example input

{}

Example output

{
  "code": 0,
  "data": {
    "admin": {
      "id": "641633",
      "name": "Marc Köhlbrugge",
      "userName": "marckohlbrugge"
    },
    "bannerUrl": "https://pbs.twimg.com/community_banner_img/1493446837214187523/orig",
    "createdAt": "2022-02-15T04:47:27.551Z",
    "creator": {
      "id": "641633",
      "name": "Marc Köhlbrugge",
      "userName": "marckohlbrugge"
    },
    "description": "Share what you're working on. Get feedback. Help each other move forward.",
    "id": "1493446837214187523",
    "invitesPolicy": "MemberInvitesAllowed",
    "isNsfw": false,
    "joinPolicy": "Open",
    "memberCount": 264947,
    "moderatorCount": 6,
    "name": "Build in Public",
    "primaryTopic": "Entrepreneurship",
    "question": "What are you working on?",
    "role": "NonMember",
    "rules": [
      {
        "description": "Don't be scared to share unfinished work",
        "name": "Share what you're working on"
      },
      {
        "description": "Don't ask for upvotes or advertise your products/services.",
        "name": "No self-promotion"
      }
    ],
    "searchTags": [
      "buildinpublic",
      "buildinginpublic"
    ]
  }
}

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.0 s$0.01
6 h agoPassed4021.2 s$0.01
10 h agoPassed4021.0 s$0.01
14 h agoPassed4021.3 s$0.01
17 h agoPassed4021.3 s$0.01
21 h agoPassed4021.9 s$0.01
25 h agoPassed4021.4 s$0.01
28 h agoPassed4021.3 s$0.01
32 h agoPassed402253 ms$0.01
36 h agoPassed4021.1 s$0.01
39 h agoPassed4021.1 s$0.01
44 h agoPassed4021.4 s$0.01