HostDeFi x402 (machine-payable) API

Pay-per-call lane for AI agents (x402 protocol): no key, no account - pay USDC per request and get the same A+-F Safety Read. Free tier and API-key plans are unchanged and remain the better per-call price for steady use.

Operations 24

GET /v1/x402/token-risk/{chain}/{address} Token risk verdict, paid per call via x402 #
GET /v1/x402/token-risk/history/{chain}/{address} Token safety history (dated daily rows), paid per call via x402 #
GET /v1/x402/token-risk/deep/{chain}/{address} Deep token report (verdict + full history + trend), paid per call via x402 #
POST /v1/x402/token-risk Token risk verdict by free-form query, paid per call via x402 #
POST /v1/x402/token-risk/batch Batch token risk verdicts, paid per call via x402 #
GET /v1/x402/pricing x402 price sheet and resource catalog #
GET /v1/x402/signals/solana/{mint} Pre-graduation signals for a Solana mint, paid per call via x402 #
GET /v1/x402/authority/solana/{mint} Authority quick-check for a Solana mint, paid per call via x402 #
POST /v1/x402/portfolio Solana wallet portfolio audit, paid per call via x402 #
GET /v1/x402/radar Recent trend-radar alerts, paid per call via x402 #
POST /v1/x402/keys Buy a 30-day API key with one x402 payment #
GET /v1/x402/obituaries Rug/collapse ledger (dated gate-exit records), paid per call via x402 #
GET /v1/x402/listings/{chain} Graded token listing for one chain, paid per call via x402 #
GET /v1/x402/datasets/safety-snapshot The full weekly safety-snapshot dataset, paid per call via x402 #
GET /v1/x402/radar/history Full trend-radar alert history, paid per call via x402 #
GET /v1/x402/provider-risk Risk grade for one x402 seller, paid per call via x402 #
GET /v1/x402/provider-risk/all The full x402 provider-risk dataset, paid per call via x402 #
GET /v1/x402/swap/evm/quote Executable EVM swap quote (ready-to-sign tx), paid per call via x402 #
GET /v1/x402/swap/evm/price EVM swap price preview, paid per call via x402 #
GET /v1/x402/token-risk/report/{chain}/{address} Full due-diligence report (verdict + signals + history + cross-checks), paid… #
POST /v1/x402/wallet Wallet risk-exposure read (Solana), paid per call via x402 #
GET /v1/x402/launches Fresh token launches with safety pre-reads, paid per call via x402 #
GET /v1/x402/predict/markets Tracked Polymarket prediction markets with latest odds, paid per call via x402 #
GET /v1/x402/predict/history 24h odds history for one tracked Polymarket market, paid per call via x402 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hostdefi-x402-machine-payable-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hostdefi-x402-machine-payable-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HostDeFi Token Risk x402 (machine-payable) API
  version: 1.0.0
  description: 'Public product surface of the scam-check-api service: the /v1 Token Risk API (same proprietary A+–F Safety Read rendered on the HostDeFi token pages, plus pre-graduation on-chain signals for Solana), key purchase/usage endpoints, and the free contract scanner at POST /analyze-token. Keyless callers get a per-IP fair-use tier of 100 calls/day on the verdict endpoints; paid API keys (bought with SOL via POST /v1/keys) raise the quota and unlock batch. Send an API key as the `x-api-key` header.'
  contact:
    url: https://hostdefi.com/docs/api/
    email: trustdex.app@gmail.com
servers:
- url: https://hostdefi.com/api
  description: 'Canonical branded base — /v1/* served via the hostdefi.com edge (use this in new integrations). Note: /analyze-token is exposed here as POST /api/scan.'
- url: https://awake-integrity-production-faa0.up.railway.app
  description: Origin host (Railway) — keeps working for existing integrations; all paths incl. /analyze-token.
security:
- {}
- ApiKeyHeader: []
tags:


# --- truncated at 32 KB (57 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/hostdefi/refs/heads/main/openapi/hostdefi-x402-machine-payable-api-openapi.yml