N

Nickeljoke · Joke

by Nickeljoke

POSTbase-sepolia

$0.005

per call · USDC on base-sepolia

Premium AI joke generation

Endpoint

POST https://nickeljoke.vercel.app/api/joke

12

Calls / 30d

1

Unique payers / 30d

Sep 6

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://nickeljoke.vercel.app/api/joke", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({}),
});
const data = await res.json();
cURL
curl -X POST \
  "https://nickeljoke.vercel.app/api/joke" \
  -H "Content-Type: application/json" \
  -d '{}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x6813749e1eb9e0001a44c2684695fe8ad676cdd0
AssetUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7e
Networksbase-sepolia
Schemesexact

Is this your API?

Pin it to the top of Games & Fun and the homepage with a featured placement.

Get featured →

More from Nickeljoke & similar services