Skip to content
Fourohtwo

Quote tweet with your own comment

api.tweetx402.com/api/action/quote

Quote tweet with your own comment. Requires user authentication cookies.

BaseDown
POSThttps://api.tweetx402.com/api/action/quote

Uptime0.0% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.tweetx402.com/api/action/quote", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":{"type":"string","required":true,"description":"Your quote comment text"},"media":{"type":"array","required":false,"properties":{"data":{"type":"string","description":"Base64 encoded media data"},"mediaType":{"type":"string","description":"MIME type"}},"description":"Optional media attachments"},"cookies":{"type":"array","required":true,"properties":{"name":{"type":"string","description":"),
});
console.log(await res.json());

Example input

{"text":{"type":"string","required":true,"description":"Your quote comment text"},"media":{"type":"array","required":false,"properties":{"data":{"type":"string","description":"Base64 encoded media data"},"mediaType":{"type":"string","description":"MIME type"}},"description":"Optional media attachments"},"cookies":{"type":"array","required":true,"properties":{"name":{"type":"string","description":"