AI rewrite of input text
AI rewrite of input text
not checked yetBasePOSTx402 v2
- Price per call
- $10.00
- Endpoint
- https://www.api-xpay.com/x402/rewrite
- Provider
- www.api-xpay.com
- Paid calls (30 days)
- 281
- Unique payers (30 days)
- 68
- Last paid call
- 4 h ago
- Health check
- pending
- Pays to
- 0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8
- Listed here since
- 2026-11-23 (source: bazaar)
Input
{
"body": {
"text": "Make this text sound better."
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Example output
{
"example": {
"asset": "USDC",
"network": "base",
"rewritten": "Create this text sound better.",
"success": true
},
"type": "json"
}
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);
const res = await paidFetch("https://www.api-xpay.com/x402/rewrite", { method: "POST" });
console.log(await res.json()); // costs $10.00 in USDC on Base
Machine-readable: /api/tools/dfd25efe2c15. Listings are informational; check a provider before sending large amounts.