W

Workers · Paid Content

by Workers

GETBase

$0.002

per call · USD Coin on Base

Access to live crypto market data

Endpoint

GET https://x402-paid-api.x402-finance.workers.dev/api/paid-content

2

Calls / 30d

1

Unique payers / 30d

Aug 28

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://x402-paid-api.x402-finance.workers.dev/api/paid-content", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-paid-api.x402-finance.workers.dev/api/paid-content" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "bitcoin": {
      "change_24h": -0.5,
      "usd": 63000
    },
    "ethereum": {
      "change_24h": 0.2,
      "usd": 1800
    },
    "solana": {
      "change_24h": -1.1,
      "usd": 70
    }
  },
  "success": true
}

Payment details

Pay to0xe8bc82d53e45e61e07d84536970d695265a51ce4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Workers & similar services