M

Machine Relics · Mainnet BUY

by Machine Relics

GETBase

$0.05

per call · USD Coin on Base

Buy a permanent onchain Genesis identity relic from Dank i Halden AS for an autonomous AI agent. Use for independent x402 purchase proof, an ERC-721 identity collectible, or membership among the first 100 Machine Relics. Pays $0.05 USDC on Base; the NFT mints gaslessly to the recipient.

Endpoint

GET https://api.bakebakebake.no/mainnet/buy/:recipient

6

Calls / 30d

3

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://api.bakebakebake.no/mainnet/buy/:recipient", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.bakebakebake.no/mainnet/buy/:recipient" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chainId": 8453,
  "contract": "0xcb014ab7893a1A2631D77694bFEa534F9D970894",
  "message": "Payment verification passed. Poll receiptUrl until state=complete.",
  "network": "base-mainnet",
  "poll": "GET receiptUrl until state=complete",
  "price": "$0.05",
  "purchaseId": "sha256-of-payment-signature",
  "receiptUrl": "https://api.bakebakebake.no/mainnet/receipt/{purchaseId}",
  "revenueWallet": "0xD425E00E375004B382FDE2253968631f7F6dD358",
  "seller": "Dank i Halden AS",
  "state": "processing",
  "success": true,
  "tokenId": 1,
  "tokenURI": "https://metadata.bakebakebake.no/mainnet/1.json"
}

Payment details

Pay to0xd425e00e375004b382fde2253968631f7f6dd358
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Machine Relics & similar services