Skip to content
Fourohtwo

Get a signed upload URL and a retrieval URL for one file, in one call

402.com.tr/api/x402/file-slot

Get a signed upload URL and a retrieval URL for one file, in one call. Your agent PUTs the bytes straight to storage — they never pass through this API, so there is no size ceiling imposed by a serverless runtime and no proxy in the middle. Declare bytes= and the size is signed into the URL. Up to 25 MB, retention 1-30 days, unguessable key. The step every agent hits the moment it produces a repor

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/file-slot

Uptime100% of 1 check 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://402.com.tr/api/x402/file-slot?bytes=20480&contentType=text%2Fcsv&name=report.csv&ttlDays=7");
console.log(await res.json());

Example input

{
  "bytes": "20480",
  "contentType": "text/csv",
  "name": "report.csv",
  "ttlDays": "7"
}