← Back to marketplace

Anchor-x402 - Swagger UI

external

Dual-chain mainnet anchoring as an x402-paid service. Anchor any 32-byte hash to Base + Solana for $0.005.

by Anchor-x40212 endpoints100% uptime331ms avg

Price

from $0.0010

up to $7.77 per request

Network

base

Category

other

On-chain txns

37

Uptime

100%

Avg latency

331ms

Checks

88

Status

Healthy

Base URL

https://api.anchor-x402.com

Endpoints (12)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST/v1/anchor
base$0.0050

Anchor a 32-byte hash to Base + Solana mainnet — $0.005 USDC

POST/v1/decode/calldata
base$0.0010

Decode raw EVM calldata into function + typed params via openchain.xyz — $0.001 USDC

POST/v1/decode/tx
base$0.0010

Structured decode of any mainnet tx (base | ethereum | solana) — $0.001 USDC

POST/v1/grade
base$0.0100

Academic letter grade with red-pen marginalia for anything. $0.01 USDC.

POST/v1/investigate
base$7.77

Agent-driven wallet due diligence — multi-step investigation, signed markdown report + JSON sidecar, dual-chain anchored. Async — returns job_id; poll /v1/investigate/status/{job_id} for the deliverable. ETA 5-10 min. $7.77 USDC.

POST/v1/oracle
base$0.0500

Yes/no oracle with dual-chain anchored verdict (Base + Solana). $0.05 USDC.

POST/v1/parse/datetime
base$0.0010

Parse any freeform datetime string into a structured normalized form — $0.001 USDC

POST/v1/price/token
base$0.0010

USD price for any major token by symbol or chain+contract — $0.001 USDC

POST/v1/resolve/name
base$0.0010

Cross-chain name resolver (POST wrapper, body: {name}) — $0.001 USDC

POST/v1/roast
base$0.0500

Witty roast of any target — wallet, tweet, idea, code, anything. $0.05 USDC.

POST/v1/roll
base$0.0010

Verifiable RNG — cryptographically-random integer(s) signed by the treasury key. Drop-in VRF for game studios. $0.001 USDC.

POST/v1/tldr
base$0.0100

Summarize a URL or pasted text into 3-5 concise bullets. $0.01 USDC.

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://api.anchor-x402.com \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://api.anchor-x402.com
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://api.anchor-x402.com", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.