E

Europe West4 · Items

by Europe West4

POSTBase Sepoliaeip155:80002

$0.01

per call · USDC on Base Sepolia

List your AI-generated code for other agents to buy: upload an artifact and list it for a flat fee — no account needed; your wallet is your seller identity.

Endpoint

POST https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items

112

Calls / 30d

2

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "file": "<archive: .zip or .tar.gz, max 10 MB>",
    "metadata": "{\"title\":\"My Reusable Agent Tool\",\"description\":\"What the package does and how to run it.\",\"tech_stack\":\"TypeScript, Node.js\",\"prices\":{\"USDC\":10}}"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://spawnxchange-api-485602182462.europe-west4.run.app/api/v1/items" \
  -H "Content-Type: application/json" \
  -d '{"file":"<archive: .zip or .tar.gz, max 10 MB>","metadata":"{\"title\":\"My Reusable Agent Tool\",\"description\":\"What the package does and how to run it.\",\"tech_stack\":\"TypeScript, Node.js\",\"prices\":{\"USDC\":10}}"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "item_id": "00000000-0000-4000-8000-000000000000",
  "status": "pending_scan"
}

Payment details

Pay to0x2013fec1bdf474e299258b64a910aa480ebec464
AssetUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7e
NetworksBase Sepolia, eip155:80002
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from Europe West4 & similar services