# HostDeFi x402 (machine-payable) API

**Canonical:** https://apis.io/apis/hostdefi/hostdefi-x402-machine-payable-api/  
**Provider:** HostDeFi — https://apis.io/providers/hostdefi/  
**Base URL:** https://hostdefi.com/api  
**Documentation:** https://hostdefi.com/docs/api/

HostDeFi x402 (machine-payable) API is one of 7 APIs that [HostDeFi](https://apis.io/providers/hostdefi/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include x402 (machine-payable). The published artifact set on APIs.io includes an OpenAPI specification.

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)

| Method | Path | Summary |
|---|---|---|
| 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 |
| 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/deep/{chain}/{address}` | Deep token report (verdict + full history + trend), paid per call via x402 |
| GET | `/v1/x402/token-risk/report/{chain}/{address}` | Full due-diligence report (verdict + signals + history + cross-checks), paid per call via x402 |
| 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 |

## Machine-readable artifacts (1)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/hostdefi/refs/heads/main/openapi/hostdefi-x402-machine-payable-api-openapi.yml

## Other HostDeFi APIs (6)

- [HostDeFi Token Risk API](https://apis.io/apis/hostdefi/hostdefi-token-risk-api/)
- [HostDeFi Analyze Token API](https://apis.io/apis/hostdefi/hostdefi-analyze-token-api/)
- [HostDeFi Health API](https://apis.io/apis/hostdefi/hostdefi-health-api/)
- [HostDeFi Keys API](https://apis.io/apis/hostdefi/hostdefi-keys-api/)
- [HostDeFi Scan API](https://apis.io/apis/hostdefi/hostdefi-scan-api/)
- [HostDeFi Usage API](https://apis.io/apis/hostdefi/hostdefi-usage-api/)

## Tags

x402 (machine-payable)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/hostdefi/hostdefi-x402-machine-payable-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/hostdefi/.
