X402 Solana

io.github.digitalweb33333-creatorPublished by GitHub account digitalweb33333-creatorv0.1.0Updated Oct 24, 2026

x402 paid API tools for AI agents on Solana: crypto safety, market data, KYB/AML verification.

VerifiedStreamable HTTPWeb executableFinanceSecurity & MonitoringBusiness & Commerce

Overview

AI-generated overview

Remote x402-paid API server giving AI assistants crypto token safety checks, prediction-market odds, and KYB/AML lookups, paid per call in USDC on Solana.

What you can do
Look up company identity and compliance data: GLEIF LEI records and EU sanctions screening with similarity scores and context. Check EVM tokens for honeypots, taxes, holder concentration and liquidity, with a fused pre-trade verdict and a deeper dossier. Check Solana SPL tokens for rug or scam risk, including executable liquidity depth and deployer history. Read live Polymarket odds, implied probabilities, volume and liquidity for a market. Audit an x402 seller's keyword rank and discoverability across agent registries.
When to use it
Useful when an assistant needs paid, on-demand compliance or crypto due-diligence data without managing API keys, such as screening a counterparty, vetting a token before a trade, or checking prediction-market odds.
Requirements
A remote streamable HTTP endpoint; no API key or account is declared. Each call is paid in USDC on Solana mainnet through the x402 protocol, so the client needs a funded wallet and x402 payment support. Network access to the endpoint is required.
Before you install
Every tool call costs money, from $0.01 up to $1.00 per call, settled in USDC on Solana mainnet; the buyer pays gaslessly but still pays the price. Payment is the only authentication, so spending is not otherwise gated. Results are third-party risk scores and screening matches, not guarantees, and should not be treated as financial or compliance advice.

Installation

In SourceWeft

  1. Open X402 Solana in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.digitalweb33333-creator%2Fx402-solana/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "x402-solana": {
      "type": "http",
      "url": "https://x402-solana-cva8.onrender.com/mcp/"
    }
  }
}

README

x402-solana

Paid x402 API tools for AI agents, settled in USDC on Solana (mainnet). A Solana-rail replica of x402-endpoints (Base): same FastAPI quality, same CDP facilitator — payments routed on Solana instead of Base.

  • No API key — payment is authentication.
  • Gasless for the buyer — the CDP facilitator is the transaction fee payer.
  • USDC mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (6 decimals), network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp.

Endpoints (10)

PathPriceWhat it does
GET /gleif/lei$0.01GLEIF LEI lookup (KYB, official global registry)
GET /sanctions/screen$0.05EU consolidated sanctions / AML screening
GET /polymarket/odds$0.05Live Polymarket prediction-market odds
GET /crypto/token-safety$0.05EVM token honeypot / rug / tax safety score
GET /crypto/pre-trade-verdict$0.05Fused GO/CAUTION/NO-GO pre-trade verdict (signed)
GET /crypto/token-dossier$0.10Deep token dossier: holders, liquidity, red flags
GET /solana/token-safety$0.01Solana SPL rug/honeypot (static + behavioral)
GET /solana/pre-trade$0.05All-in-one Solana pre-trade BUY-SAFE/CAUTION/AVOID
GET /agent/rank-check$0.10x402 seller keyword-rank pulse in CDP Bazaar
GET /agent/visibility-audit$1.00Full x402 discoverability audit (Ed25519-signed)

Discovery: /.well-known/x402.json, /.well-known/agent-card.json, /llms.txt. Health: /health.

Run locally

bash
python3.12 -m venv .venv./.venv/bin/pip install -r requirements.txt# set env (see .env.example) — CDP keys required for the facilitator./.venv/bin/uvicorn app.main:app --port 8000

Deploy (Render)

One-click via render.yaml (Blueprint). Set the sync:false secrets (CDP_API_KEY_ID, CDP_API_KEY_SECRET, RECEIPT_SIGNING_SEED, optional ANTHROPIC_API_KEY) in the dashboard.

Architecture

Payment layer is 100% in app/main.py (register_exact_svm_server + PaymentOption(network=solana…)); endpoint handlers in app/routers/ are payment-agnostic. Description ≤ 500 chars is enforced at startup (hard CDP /verify constraint). See DIFFERENCES-BASE-SOLANA.md for the full Base→Solana map.

Tooling (tools/)

  • check_facilitator.py — verify the CDP facilitator advertises Solana support.
  • lint_descriptions.py — English-only + ≤500-char lint.
  • gen_discovery.py — regenerate the discovery files from the routes.
  • create_seller_ata.py — create the seller USDC ATA (settlement prerequisite).
  • settle.py — buyer→endpoint settlement (dry by default, --execute to pay).

Source: README.md at commit a14cc05

Tools

10

gleif_lei

Look up any Legal Entity Identifier (LEI) for company information lookup and counterparty / know-your-business (KYB) identity against the official GLEIF global registry — returns legal name, status, jurisdiction, legal form and registered address, real-time, worldwide coverage. Price: $0.01 per call (x402 payment, USDC on Base mainnet).

Parametersleirequired

sanctions_screen

Screen a name against the official EU consolidated sanctions list (FISMA) for anti-money-laundering (AML) and watchlist checks — returns matches with a similarity score and context (EU reference, type, programme), not a binary yes/no. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

Parametersnamerequiredtypelimitthreshold

polymarket_odds

Live prediction market odds, implied probabilities and betting-market data from Polymarket — give a market id or slug, get each outcome with its probability (0-1), volume, liquidity and resolution status. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

Parametersmarketrequired

crypto_token_safety

Token safety check before buying — is this token a honeypot or a rug pull? Bundles honeypot detection, buy/sell tax, holder concentration, LP lock and liquidity (GoPlus, Honeypot.is, DexScreener) into a single 0-100 token security risk score with a clear buy/avoid verdict. One call replaces three lookups. EVM chains. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

Parameterschaintokenrequired

crypto_pre_trade_verdict

One-call GO/CAUTION/NO-GO pre-trade verdict for AI trading agents: fuses token safety (honeypot, rug, tax, holders), counterparty wallet sanctions screening (OFAC/mixer) and cross-exchange market signal into a single decision with a signed, offline-verifiable receipt. Should I buy this token now? Replaces three separate calls (token-safety + wallet-screen + signal) with one fused GO/NO-GO verdict. EVM chains and Solana. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

Parameterschaintokenrequiredwallet

crypto_token_dossier

Full degen token dossier in one call: safety score + honeypot/tax + detailed TOP HOLDERS and concentration + liquidity/FDV/volume/pool-age + contract control (owner, creator, mintable, open-source) + an AI red-flag narrative. Deep due-diligence report on a token before aping — the premium tier above a plain safety check. EVM chains and Solana. Price: $0.10 per call (x402 payment, USDC on Base mainnet).

Parameterschaintokenrequired

solana_token_safety

Solana SPL token safety, rug check and honeypot / scam detection before trading: is this Solana token a rug pull, honeypot or scam? Verdict SAFE/RISKY/CRITICAL + 0-100 score combining STATIC checks (mint/freeze authority, holder concentration) AND BEHAVIORAL analysis (liquidity, churn, recent dump, tx velocity) plus a blue-chip false-positive guard so USDC/USDT/SOL are never flagged. Pre-trade SPL token security / scam-token detection catching behavioral rugs static checkers miss. Price: $0.01 per call (x402 payment, USDC on Base mainnet).

Parametersdeepmintrequired

solana_pre_trade

All-in-one Solana pre-trade decision in ONE call: BUY-SAFE/CAUTION/AVOID fusing four scored modules — token security, EXECUTABLE liquidity depth (estimated slippage at $100/$1k/$10k), deployer history/control and holder concentration. Should I buy or avoid this Solana token? Full token due-diligence in one call — replaces 3-4 lookups; built for a trading / sniping agent's risk-review pipeline. Solana trading safety decision and buy/avoid verdict. Price: $0.05 per call (x402 payment, USDC on Base mainnet).

Parametersmintrequired

agent_rank_check

Quick check of where an x402 seller ranks RIGHT NOW by keyword-relevance in the CDP Bazaar discovery (not the raw settled-volume rank the free explorers show): best rank + per-category-keyword rank in one cheap call, plus a pointer to the full /agent/visibility-audit when the rank slips. The frequent pulse for monitoring your x402 discoverability. Where do I rank now? Am I being out-ranked on my category keywords? Price: $0.10 per call (x402 payment, USDC on Base mainnet).

Parameterssellerrequired

agent_visibility_audit

Audit how discoverable an x402 agent/seller is across the agent registries (CDP Bazaar, 402index): keyword-RELEVANCE rank per category (not raw settled-volume rank), a metadata-quality score of your advertised endpoints (schema, output.example, tags, llm_usage_prompt), settle activity, a top-3 benchmark, prioritized fixes, and a DELTA vs a signed snapshot you carry back. Why am I not being found and how do I climb? GEO/AEO discovery audit for x402 sellers, Ed25519-signed. Price: $1.00 per call (x402 payment, USDC on Base mainnet).

Parameterssellerrequiredsnapshot

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.