78trust / 100

Twitter User Tweets

by x402.orthogonal.com in News & content

x402 APIPassing, checked 17 min ago

Fetches paginated tweets from a Twitter/X user. Pagination billing: call the first page normally and save billing.requestId from the Orthogonal /v1/run response. For later page, offset, or cursor calls on the same logical search, pass parentRequestId with unchanged non-pagination parameters. Valid continuation calls still get their own request IDs and quoted price, but are charged 0. Changing filters starts a new billable request.

POST https://x402.orthogonal.com/fiber/v1/twitter/user-tweets

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
265 ms typical, 419 ms slowest 5%
Last check
17 min ago
Next check
in 15 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.orthogonal.com/fiber/v1/twitter/user-tweets" \
  -H "content-type: application/json" \
  -d '{"handle":"handle"}'
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%2Fx402.orthogonal.com%2Ffiber%2Fv1%2Ftwitter%2Fuser-tweets
const res = await pay("https://x402.orthogonal.com/fiber/v1/twitter/user-tweets", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"handle":"handle"}),
});
console.log(await res.json());

Example input

{
  "handle": "handle"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
17 min agoPassed402265 ms$0.04
4 h agoPassed402243 ms$0.04
7 h agoPassed402239 ms$0.04
11 h agoPassed402419 ms$0.04
14 h agoPassed402360 ms$0.04
18 h agoPassed402408 ms$0.04
22 h agoPassed402187 ms$0.04
26 h agoPassed402455 ms$0.04