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.

POST

/api/contract-intel

$0.008

Smart contract firewall & EIP-1967 proxy inspector via EVM RPC, Blockscout ABI verification, and Sourcify (base, ethereum, arbitrum, optimism, polygon).

GET

/api/spot-perp-basis

$0.008

Live cross-exchange cash-and-carry Spot vs Perpetual basis, executable BBO spread & combined 30d carry APR across Gate.io, OKX, and Hyperliquid.

GET

/api/dex-market-intel

$0.006

Live multi-chain DEX liquidity, 24h volume, price changes & buy/sell order-flow oracle via DexScreener and GeckoTerminal.


Related MCP server: polymarket-mcp

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

15 tools
verifystack_arb_net_profitArbitrage Net Profit & Break-Even CalculatorB
Read-onlyIdempotent

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_urlWeb-to-Markdown Cleaner & Token EstimatorA
Read-onlyIdempotent

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_contract_intelSmart Contract Firewall & EIP-1967 Proxy InspectorB
Read-onlyIdempotent

Paid x402 API ($0.008 USDC on Base): Smart contract firewall & EIP-1967 proxy inspector via EVM RPC, Blockscout verification/ABI, and Sourcify across Base, Ethereum, Arbitrum, Optimism, and Polygon.

Inputs: address (required), chain.

verifystack_decode_txEVM Transaction Decoder & Calldata FirewallA
Read-onlyIdempotent

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_yieldsLive DeFi Yield & Stablecoin APY ScannerA
Read-onlyIdempotent

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_dex_market_intelMulti-Chain DEX Liquidity & Order-Flow OracleA
Read-onlyIdempotent

Paid x402 API ($0.006 USDC on Base): Multi-chain DEX liquidity, 24h volume, price changes, and buy/sell order-flow oracle powered by DexScreener and GeckoTerminal.

Inputs: q, chain, limit, address, +1 more.

verifystack_domain_intelDomain Anti-Phishing & Trust ProfilerB
Read-onlyIdempotent

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_simPerpetual Liquidation & Half-Kelly Risk SimulatorB
Read-onlyIdempotent

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_arbLive Cross-Exchange Funding Rate Arbitrage ScannerB
Read-onlyIdempotent

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_marketsLive Multi-Venue Prediction Market ScannerA
Read-onlyIdempotent

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_spot_perp_basisSpot vs Perpetual Cash-and-Carry Basis ScannerA
Read-onlyIdempotent

Paid x402 API ($0.008 USDC on Base): Live cross-exchange cash-and-carry Spot vs Perpetual basis, executable BBO spread, and combined 30d carry APR scanner across Gate.io, OKX, and Hyperliquid.

Inputs: limit, symbol, minBasisBps, notionalUsd.

verifystack_token_safetyPre-Trade Token Security & Liquidity AuditA
Read-onlyIdempotent

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_signatureCryptographic Signature & Smart Wallet VerifierA
Read-onlyIdempotent

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_profileMultichain EVM Wallet & Gas ProfilerA
Read-onlyIdempotent

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_researchUniversal Multi-Source Web & Academic SearchA
Read-onlyIdempotent

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.7/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools target clearly distinct resources (domain DNS, tx calldata, signatures, wallet gas, contract proxy state, DEX liquidity) and descriptions are explicit. However, three arbitrage/perp tools overlap conceptually — live_funding_arb, spot_perp_basis, and arb_net_profit — and token_safety vs dex_market_intel both surface DexScreener liquidity, so an agent could misselect without reading closely.

    Naming Consistency5/5

    Every tool follows the exact same verifystack_<snake_case_descriptor> convention with no camelCase or verb-style deviations. The shared prefix is redundant but perfectly predictable, so an agent can reliably infer names from intent.

    Tool Count5/5

    15 tools sits at the top of the well-scoped range and each maps to a discrete paid endpoint with its own data source and price point. No filler tools are present for a crypto intelligence API surface of this breadth.

    Completeness4/5

    Coverage across market data, arbitrage, yields, token/contract safety, wallet, signature, and domain intel is strong for a crypto risk desk. Gaps remain around the x402/payment layer itself (no balance, allowance, or endpoint-catalog/price-listing tool) and no historical/OHLCV or time-series query.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Eight crypto and DeFi data tools for AI agents: prices, gas, one ParaSwap route quote, GoPlus token security and top-holder samples, DefiLlama yields, Hyperliquid/dYdX funding, and observed wallet balances. Inspect prices free; pay 0.001–0.008 USDC per call on Base through x402. No API key or subscription.
      8
      87 npm
      MIT
    • F
      license
      A
      quality
      C
      maintenance
      AI-agent ready FastMCP server for Polymarket market discovery, wallet analytics, and public CLOB data, providing a read-only interface for querying markets, wallets, and order books.
      22
      15 PyPI
      -
    • A
      license
      A
      quality
      B
      maintenance
      MCP server for discovering and calling 400+ practical APIs through six compact tools, with free catalog search and pay-per-call x402 execution on Base.
      6
      308 npm
      MIT
    • 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