# Messy Virgo API > Pay-per-call crypto market context, token due diligence and a token checker for agents. Narrative momentum, a macro regime score, curated news, token due diligence (scorecard, compact verdict, report) and the token checker (security.compact). x402 v2, USDC on Base. Token due diligence on 21 chains, 16 of them EVM: market, liquidity, performance and social KPIs in one report. Full on-chain security checks with a verdict on Base, Ethereum and Robinhood Chain, with more EVM chains to follow. Category: finance > Machine-payable crypto due-diligence and market-context reports. Payment is x402 v2, USDC on Base, gasless; every paid route answers 402 with a PAYMENT-REQUIRED header until a PAYMENT-SIGNATURE header carries a signed authorization. The bare URL (no query, no payment) answers the challenge; a request that carries a query parameter or a payment and fails validation answers 422 before any challenge and is never settled. Messy Virgo and its team may hold tokens that our products rate. How the score is built (Token Checker and due diligence): https://app.messyvirgo.com/how-the-score-is-built Token checker: on-chain security check of one token on Base, Ethereum or Robinhood Chain, with a simulated buy and sell, a verdict and a short summary, $0.10 per call. ## Start here - Product index with prices, schemas, examples and the payment flow: https://api.messyvirgo.com/api/v1/public/paid-products - x402 discovery: https://api.messyvirgo.com/.well-known/x402 - OpenAPI (402 challenge and 202 ticket documented on every paid route): https://api.messyvirgo.com/openapi.json - KPI definitions behind every scorecard id: https://api.messyvirgo.com/api/v1/public/definitions/due-diligence/kpis - Score definitions: https://api.messyvirgo.com/api/v1/public/definitions/due-diligence/scores ## Paid products - GET https://api.messyvirgo.com/api/v1/paid/context/macros/latest (context.macro, sync): Crypto macro regime in one call: a 0-100 Messy Virgo macro score and risk regime built from 20 indicators (global liquidity, Fed balance sheet, spot ETF and stablecoin flows, real yields, USD, equities), adjusted for the day's news, with a written interpretation and the scheduled US macro events of the next 14 days (FOMC, CPI, jobs, PCE, GDP, PPI). Use it to set risk before any trade, allocation or market report. Refreshed four times a day. Free sample: https://api.messyvirgo.com/api/v1/public/reports/macro/latest - GET https://api.messyvirgo.com/api/v1/paid/context/news/latest (context.news, sync): Crypto news that moves markets, already triaged: each six-hour window Messy Virgo dedupes the headlines, keeps the items that matter, scores their market impact and adds a news score, verdict and summary. Feed current events into market analysis or a trading agent without scraping feeds. Refreshed four times a day. Free sample: https://api.messyvirgo.com/api/v1/public/reports/news/latest - GET https://api.messyvirgo.com/api/v1/paid/context/narratives/trend (context.narratives, sync): Which crypto narratives lead right now: market-cap momentum of 18 sector narratives (AI agents, DeFi, RWA, DePIN, layer 1/2, memes and more) over 15, 30 and 60 days, measured against BTC, ETH and the altcoin market. Each row includes horizons_days and relative_pp_by_baseline (narrative change minus the baseline at horizons 60, 30, 15 and 0). Use it for sector rotation, to gauge a token's narrative tailwind or to spot a trend early. Updated daily. Free sample: https://api.messyvirgo.com/api/v1/public/reports/narratives/trend - GET https://api.messyvirgo.com/api/v1/paid/token-due-diligence/scorecard (dd.scorecard, claim-check): Token due diligence: up to 122 KPIs and 14 0-100 scores across security (simulated sell, honeypot, mint, owner, tax, holders, LP locks), performance (trend, momentum, liquidity, relative strength vs BTC, ETH and the token's narrative) and social (sentiment, attention, community). 21 chains, 16 of them EVM. Full on-chain security checks with a verdict on Base, Ethereum and Robinhood Chain, with more EVM chains to follow. Returns 200 with the result within 45 s, else 202 with a free wait_url. Free sample: https://api.messyvirgo.com/api/v1/public/paid-products/samples/token-due-diligence/scorecard - GET https://api.messyvirgo.com/api/v1/paid/token-due-diligence/compact (dd.compact, claim-check): The scorecard plus analyst verdict (strong signal, watch, weak or red flag) with its reason, a summary across security, performance and social, key risks and what to watch, grounded in up to 122 KPIs, incl. honeypot, liquidity and sentiment. 21 chains, 16 of them EVM. Full on-chain security checks with a verdict on Base, Ethereum and Robinhood Chain, with more EVM chains to follow. For pre-trade checks and watchlist triage. Returns 200 with the result within 45 s, else 202 with a free wait_url. Free sample: https://api.messyvirgo.com/api/v1/public/paid-products/samples/token-due-diligence/compact - GET https://api.messyvirgo.com/api/v1/paid/token-due-diligence/report (dd.report, claim-check): Due-diligence report: one verdict, a synthesis and an analysis per area (contract, honeypot, holder risk; price, liquidity, strength vs BTC, ETH, narrative; social traction, sentiment), KPI tables, any `language`, same price. 21 chains, 16 of them EVM. Full on-chain security checks with a verdict on Base, Ethereum and Robinhood Chain, with more EVM chains to follow. Returns 200 with the result within 45 s, else 202 with a free wait_url. Free sample: https://api.messyvirgo.com/api/v1/public/paid-products/samples/token-due-diligence/report - GET https://api.messyvirgo.com/api/v1/paid/token-security/compact (security.compact, claim-check): Token checker: on-chain security of one token on Base, Ethereum or Robinhood Chain. A simulated buy and sell (honeypot, sell tax), owner, mint, pause and blacklist powers, upgrade path, holders and LP locks, as KPIs, 0-100 scores, a verdict and a short summary. Other chains are refused before payment. Returns 200 with the result within 45 s, else 202 with a free wait_url. Free sample: https://api.messyvirgo.com/api/v1/public/paid-products/samples/token-security/compact A claim-check purchase holds the paid request up to 45 s and answers 200 with the result. A slower run answers 202 whose body carries wait_url, a free long-poll on the /api/v1/lens/process/{id} route (/wait?timeout_seconds=N). The report takes language (same price); its wait_url carries it too. A bought scorecard, compact, report or token check may be a run finished up to max_age_seconds before the purchase (see the index); the body says so in is_cached and cache_age_seconds. A byte-identical request from the same wallet inside repeat_window_seconds is served without a second settlement. A due-diligence repeat gets the purchase's run or a newer one; a run that failed or was never created is run again. ## Buy with the official SDK The SDK answers the 402, signs the USDC authorization and retries. Give the HTTP client at least 60 s: a claim-check purchase holds up to 45 s before it answers. Python (`pip install "x402[evm]" httpx`): ```python import asyncio import httpx from eth_account import Account from x402 import x402Client from x402.http.clients import x402_httpx_transport from x402.mechanisms.evm import EthAccountSigner from x402.mechanisms.evm.exact import ExactEvmScheme async def main() -> None: signer = EthAccountSigner(Account.from_key("0x")) client = x402Client().register("eip155:8453", ExactEvmScheme(signer)) async with httpx.AsyncClient(transport=x402_httpx_transport(client), timeout=90) as http: response = await http.get("https://api.messyvirgo.com/api/v1/paid/token-due-diligence/scorecard", params={'chain': 'base', 'contract_address': '0x940181a94A35A4569E4529A3CDfB74e38FD98631'}) if response.status_code == 202: wait_url = response.json()["wait_url"] while response.status_code == 202: await asyncio.sleep(2) response = await http.get(wait_url) print(response.status_code, response.json()) asyncio.run(main()) ``` TypeScript (`npm install @x402/fetch @x402/evm viem`): ```typescript import { wrapFetchWithPaymentFromConfig } from "@x402/fetch"; import { ExactEvmScheme } from "@x402/evm"; import { privateKeyToAccount } from "viem/accounts"; const account = privateKeyToAccount("0x"); const fetchWithPayment = wrapFetchWithPaymentFromConfig(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(account) }], }); let response = await fetchWithPayment("https://api.messyvirgo.com/api/v1/paid/token-due-diligence/scorecard?chain=base&contract_address=0x940181a94A35A4569E4529A3CDfB74e38FD98631"); if (response.status === 202) { const { wait_url } = await response.json(); do { await new Promise((resolve) => setTimeout(resolve, 2000)); response = await fetch(wait_url); } while (response.status === 202); } console.log(response.status, await response.json()); ```