Let your AI agents pin and retrieve content on IPFS. No API keys, no accounts — just x402 payments settled in USDC on Taiko.
Send a CID to pin, or upload a file directly. The API returns an HTTP 402 with the exact USDC price for your request.
Your agent or client signs a USDC payment via x402. No ETH for gas, no approval transactions — just a single signature.
Your content is pinned to IPFS and retrievable via the gateway. The response includes an auth token for managing your pins without re-paying.
Tell your AI agent to use this URL for IPFS storage. It handles the rest — pricing, payment, pinning. Standard HTTP + x402. Use @x402/fetch to handle payments automatically, or implement the protocol manually.
https://tack.taiko.xyz
Use @x402/fetch to wrap your fetch — it reads the 402 response, signs the USDC payment, and retries automatically. Or handle x402 manually if you prefer.
import { wrapFetchWithPaymentFromConfig } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
const x402Fetch = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: "eip155:167000", client: new ExactEvmScheme(wallet) }],
});
// Pin a CID for 6 months — x402 payment is handled automatically
const res = await x402Fetch("https://tack.taiko.xyz/pins", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Pin-Duration-Months": "6", // 1–24, default 1
},
body: JSON.stringify({ cid: "Qm..." }),
});
// res.status === 202
// res.body.info.expiresAt → when the pin expires
// res.headers["x-wallet-auth-token"] → save for owner requests
// Retrieve content — free by default
const content = await fetch("https://tack.taiko.xyz/ipfs/Qm...");