UploadToIpfs single
x402-tools-seven.vercel.app
Upload any file to IPFS
safety 69$1.00/ call
Upload multiple files to IPFS
POST https://x402-tools-seven.vercel.app/api/v1/uploadToIpfs/multipleListed in 2 directories: bazaar, x402-direct. First seen 6 Sept 2026.
The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);
const res = await pay("https://x402-tools-seven.vercel.app/api/v1/uploadToIpfs/multiple", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ /* see the 402 challenge for the shape */ }),
});
console.log(await res.json());Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.