Skip to main content
Glama
verifystack-x402-mcp

verifystack-x402-mcp

Official

VerifyStack x402 — Crypto Intelligence & Verification API for AI Agents

Real-time cross-exchange funding rate arbitrage scanner, multi-source pre-trade token security audit, and deterministic EVM/Solana signature & risk APIs monetized natively via HTTP 402 (x402) USDC micropayments on Base Mainnet (eip155:8453).

No API keys. No subscriptions. Agents pay per request using standard PAYMENT-REQUIRED / PAYMENT-SIGNATURE headers.


Paid Endpoints (Base Mainnet USDC)

Method

Endpoint

Price (USDC)

Description

GET

/api/live-funding-arb

$0.01

Live cross-exchange perp funding arbitrage across Hyperliquid, dYdX v4, and Gate.io normalized to hourly spreads & gross APR (20s cache). Query: ?symbol=BTC&limit=15&minApr=10

GET

/api/prediction-markets

$0.008

Live prediction market scanner & cross-venue arbitrage finder across Polymarket, Kalshi, and Manifold Markets (30s cache). Query: ?q=bitcoin&platform=all&minLiquidity=1000&limit=20

GET

/api/defi-yields

$0.005

Live DeFi yield & stablecoin APY scanner powered by DefiLlama: filters by chain/symbol/TVL & scores organic Base APY vs reward emissions (60s cache).

POST

/api/decode-tx

$0.005

EVM transaction decoder & calldata firewall resolving selectors via OpenChain + EVM RPC and flagging unlimited ERC-20/NFT approvals.

POST

/api/domain-intel

$0.004

Domain anti-phishing & trust profiler using Cloudflare DoH (A/MX/SPF/DMARC), RDAP domain age, and HTTPS security headers (60s cache).

GET

/api/web-research

$0.004

Universal tech, news & academic search across HackerNews, GitHub, arXiv, and Wikipedia with zero API keys (60s cache). Query: ?q=x402&sources=all&limit=5

POST

/api/clean-url

$0.005

Web-to-LLM Markdown & metadata extractor: strips ads, scripts, and navigation boilerplate, returning compact Markdown + token estimate (60s cache).

POST

/api/wallet-profile

$0.008

Multichain EVM wallet counterparty & gas profiler across Base, Ethereum, Arbitrum, Optimism, and Polygon (native/USDC balances, EOA vs contract, nonce activity, live gas fees; 20s cache).

POST

/api/token-safety

$0.008

Pre-trade token security & liquidity risk audit combining GoPlus Security, Honeypot.is, and DexScreener (base, ethereum, arbitrum, bsc, polygon, solana).

POST

/api/verify-signature

$0.005

Deterministic signature verifier for evm_personal (EIP-191), evm_eip712, evm_erc1271 (live on-chain Smart Wallet RPC), and ed25519 (Solana Base58/Hex/Base64).

POST

/api/arb-net-profit

$0.005

Exact arbitrage net profit, break-even spread, and APR after fees, slippage, transfer gas, and funding.

POST

/api/liquidation-sim

$0.005

Isolated-margin liquidation price, distance-to-liquidation %, risk/reward, and half-Kelly collateral sizing.


Related MCP server: deriveai

Example Responses

1. GET /api/live-funding-arb?limit=2

{
  "updatedAt": "2026-11-16T15:01:42.964Z",
  "sourcesSucceeded": ["hyperliquid", "dydx", "gateio"],
  "totalOpportunities": 101,
  "opportunities": [
    {
      "symbol": "INIT",
      "longExchange": "hyperliquid",
      "shortExchange": "gateio",
      "longHourlyRatePct": -0.157644,
      "shortHourlyRatePct": -0.0764,
      "hourlySpreadPct": 0.081244,
      "aprGrossPercent": 711.7,
      "longMarkPrice": 0.099624,
      "shortMarkPrice": 0.09947,
      "priceSpreadBps": -15.46,
      "estimatedBreakEvenDays": 0.1
    }
  ]
}

2. POST /api/token-safety

{
  "chain": "base",
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "symbol": "USDC",
  "name": "USD Coin",
  "riskScore": 0,
  "verdict": "LOW_RISK",
  "sourcesUsed": ["honeypot_is", "dexscreener"],
  "security": {
    "isHoneypot": false,
    "buyTaxPercent": 0,
    "sellTaxPercent": 0
  },
  "market": {
    "priceUsd": 1.000078,
    "liquidityUsd": 86196.87,
    "volume24hUsd": 1488.85,
    "dexId": "alien-base"
  }
}

Use via MCP (Claude Desktop, Cursor, AI Agents)

Zero-install via npx (once published on npm) or from a local clone:

{
  "mcpServers": {
    "verifystack-x402": {
      "command": "npx",
      "args": ["-y", "verifystack-x402-mcp"],
      "env": {
        "X402_BUYER_KEY": "0xYOUR_BASE_BUYER_PRIVATE_KEY"
      }
    }
  }
}

Or clone and run locally:

git clone https://github.com/verifystack-dev/verifystack-x402.git
cd verifystack-x402
npm install

Code Examples (Python, Node.js, Trading & Agent Bots)

See examples/README.md for all ready-to-run templates:

X402_BUYER_KEY="0xYOUR_BASE_BUYER_PRIVATE_KEY" node examples/agent-workflow.mjs

Inspect payment requirements directly with curl:

curl -i https://x402-crypto-math-api.verifystack.workers.dev/api/live-funding-arb

Available Tools

12 tools
verifystack_arb_net_profitB

Paid x402 API ($0.005 USDC on Base): Exact arbitrage net profit, break-even spread, and APR calculator accounting for maker/taker fees, slippage, transfer gas, and funding.

Inputs: buyPrice (required), buyFeeBps (required), sellPrice (required), sellFeeBps (required), +5 more.

verifystack_clean_urlA

Paid x402 API ($0.005 USDC on Base): Fetches any public URL, strips ads/scripts/navigation boilerplate, and returns clean LLM-ready Markdown, metadata, and token-count estimation.

Inputs: url (required), maxChars, includeLinks.

verifystack_decode_txA

Paid x402 API ($0.005 USDC on Base): EVM calldata & live transaction decoder via OpenChain + EVM RPC; flags unlimited ERC-20/NFT approvals before signing.

Inputs: to, data, chain, txHash, +1 more.

verifystack_defi_yieldsB

Paid x402 API ($0.005 USDC on Base): Live DeFi yield & stablecoin APY scanner powered by DefiLlama; filters by chain, symbol, TVL, and separates organic Base APY from reward emissions.

Inputs: chain, limit, minApy, minTvl, +4 more.

verifystack_domain_intelA

Paid x402 API ($0.004 USDC on Base): Domain anti-phishing & trust profiler via Cloudflare DoH (A/MX/SPF/DMARC), RDAP registration age, and HTTPS security headers.

Inputs: domainOrUrl (required).

verifystack_liquidation_simC

Paid x402 API ($0.005 USDC on Base): Isolated-margin perpetual liquidation threshold, distance-to-liquidation %, risk-reward ratio, and conservative half-Kelly sizing simulator.

Inputs: side (required), leverage (required), entryPrice (required), collateralUsd (required), +4 more.

verifystack_live_funding_arbA

Paid x402 API ($0.01 USDC on Base): Real-time cross-exchange perpetual funding rate arbitrage scanner aggregating Hyperliquid, dYdX v4, and Gate.io normalized to hourly spreads and gross APR.

Inputs: limit, minApr, symbol.

verifystack_prediction_marketsA

Paid x402 API ($0.008 USDC on Base): Live prediction market scanner aggregating Polymarket, Kalshi, and Manifold Markets with normalized YES/NO probabilities, spreads, and cross-venue arbitrage divergences.

Inputs: q, limit, platform, minLiquidity.

verifystack_token_safetyB

Paid x402 API ($0.008 USDC on Base): Pre-trade token security and DEX liquidity risk audit aggregating GoPlus Security, Honeypot.is simulation, and DexScreener liquidity.

Inputs: chain (required), address (required).

verifystack_verify_signatureB

Paid x402 API ($0.005 USDC on Base): Deterministic cryptographic signature verifier for EVM EIP-191 personal_sign, EIP-712 typed data, ERC-1271 on-chain smart wallets, and Ed25519 (Solana).

Inputs: scheme (required), signature (required), chain, message, +4 more.

verifystack_wallet_profileA

Paid x402 API ($0.008 USDC on Base): Multichain EVM wallet counterparty & gas profiler across Base, Ethereum, Arbitrum, Optimism, and Polygon (native/USDC balances, EOA vs contract check, nonce activity, live gas fees).

Inputs: address (required), chains.

verifystack_web_researchA

Paid x402 API ($0.004 USDC on Base): Universal multi-source research & news search across HackerNews, GitHub Repositories, arXiv papers, and Wikipedia with zero API keys (60s cache).

Inputs: q (required), limit, sources.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 12 tools

    Disambiguation4/5

    Most tools have clearly distinct targets (domain, wallet, token, transaction, URL, signature, yields, prediction markets). There is some thematic overlap among the arbitrage tools: live_funding_arb scans funding rates, prediction_markets includes cross-venue arbitrage divergences, and arb_net_profit is a profit calculator, which could require a moment of thought to select correctly.

    Naming Consistency4/5

    All tools use the same verifystack_ prefix and snake_case, which is highly predictable. The semantic pattern is mixed, however: some names are noun phrases (domain_intel, wallet_profile, token_safety) while others are verb phrases (decode_tx, clean_url, verify_signature).

    Tool Count5/5

    Twelve tools is a well-scoped set for a crypto/DeFi intelligence API bundle. Each tool covers a distinct capability, and the count stays comfortably within a manageable range without obvious redundancy.

    Completeness4/5

    The surface covers a broad range of crypto intelligence workflows: domain trust, funding arbitrage, prediction markets, DeFi yields, transaction decoding, web research, URL cleaning, wallet profiling, token safety, signature verification, and risk simulation. Minor gaps exist, such as no explicit price/quote tool or portfolio tracking, but core investigative and risk-assessment workflows are well represented.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to call 93 pay-per-call machine-to-machine services spanning web scraping, crypto sentiment, market data, on-chain analytics, social and threat intelligence, vulnerability scanning, and micro-SaaS utilities. Payments are settled in USDC on Arbitrum via the x402 protocol using a wallet header, so no API keys, signups, or billing setup are required.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to fetch crypto market and on-chain data, including prices across venues, token facts, OHLC candles, market overview, DeFi TVL, and wallet balances, with two free tools and the rest paid per call in USDC on Base via x402.
      8
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Pay-per-call data and tools for AI agents over x402, by UnyKorn. 360 endpoints: DeFi and market data, multi-chain wallet reads, wallet and token risk signals, SEC filings, web and domain intel, and AI text tools. Settled per call in USDC on Base ($0.001-$0.25). No API keys or subscriptions; unpaid calls return the exact quote first.
      21
      MIT