W

Witnessd · Witness

by Witnessd

POSTBase

$0.02

per call · USD Coin on Base

Independently fetch, hash, timestamp and archive a URL or API response; returns a signed certificate. Merkle-anchored on Base hourly. Neutral third-party evidence for agent commerce disputes.

Endpoint

POST https://witnessd.vip/api/witness

6

Calls / 30d

2

Unique payers / 30d

Sep 7

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://witnessd.vip/api/witness", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "url": "https://api.coinbase.com/v2/prices/ETH-USD/spot"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://witnessd.vip/api/witness" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://api.coinbase.com/v2/prices/ETH-USD/spot"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "certificate_url": "https://witnessd.vip/api/certificate/ws_76cae2b76822b099d37882c4",
  "id": "ws_76cae2b76822b099d37882c4",
  "retrieve_url": "https://witnessd.vip/api/retrieve/ws_76cae2b76822b099d37882c4"
}

Payment details

Pay to0xf058d8a375343daa6967adf3ac6d425f3c9c8dfc
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Witnessd & similar services