$0.001
per call · USD Coin on Base
Mints a soulbound Reader's Card NFT to the wallet that paid this call — a public-domain library patron credential on Base. One card per wallet: if this wallet already holds one, you get its existing patron number back, no duplicate mint. TESTNET ONLY for now (Base Sepolia); mainnet launches after final art confirm.
Endpoint
POST https://library.forgemesh.io/library-card1
Calls / 30d
1
Unique payers / 30d
Aug 26
Last called
exact
Payment scheme
Call this service
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://library.forgemesh.io/library-card", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({}),
});
const data = await res.json();curl -X POST \
"https://library.forgemesh.io/library-card" \
-H "Content-Type: application/json" \
-d '{}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"already_held": false,
"contract": "0xF498E179f96Ecf71079B73Cc4e8FCDF95eE5762e",
"explorer": "https://sepolia.basescan.org/nft/0xF498E179f96Ecf71079B73Cc4e8FCDF95eE5762e/1024",
"holder": "0x85df5380DEbe236AD6BF49dE788243924B080267",
"message": "Reader's Card minted — welcome to the ForgeMesh Library.",
"network": "base-sepolia",
"patron_number": "1024",
"tokenURI_note": "Metadata and SVG art render fully on-chain — call tokenURI(token_id) on the contract, or view it directly in any NFT-aware wallet or explorer.",
"token_id": "1024"
}Payment details
0x85df5380debe236ad6bf49de788243924b080267USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Forgemesh & similar services
Forgemesh · TTS Base
voice.forgemesh.io
Text-to-speech synthesis in 1 of 10 standard voices (5 male M1-M5, 5 female F1-F5) across 31 languages, up to 500 characters, returned as inline WAV audio. Use it to: give an agent a spoken reply, read an alert aloud, narrate a short UI prompt, add voice to a chatbot response, speak a confirmation message. Cheapest tier. USDC on Base via x402, no API key, no signup.
Forgemesh · Network Stats
ads.forgemesh.io
Returns network-wide totals: total x402 events, service count, and a UA classification breakdown (agent vs browser vs bot). Use it to benchmark your service's agent-traffic share against the network.
Forgemesh · Services
router.forgemesh.io
Search x402 service registry — broad q search plus health, score, category, tag, and tags filters