{"uid":"cap_gCURYmI7wg2wkIX3otpBu","slug":"hostdefi-api-key-provisioning-d142643a","name":"HostDeFi API Key Provisioning","description":"HostDeFi is a Solana DEX with a free token safety scanner. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, 1% flat fee.","url":"https://rpc.hostdefi.com/api/v1/x402/keys?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"plan":"x402agent","quota":5000,"apiKey":"…shown once…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"5","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-es1vTSB_pTz0aTEEcHVI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"5","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Issues a paid API key (x402agent plan, 5,000-quota) for accessing HostDeFi's Solana DEX, token safety scanner, and multi-chain trading services.","exampleAgentPrompt":"Get me a HostDeFi API key so I can start using their Solana DEX and token safety scanner — I'm okay paying the 5 USDC fee for the x402agent plan with 5,000 quota.","exampleUseCases":[{"title":"Automated DEX trading bot setup","prompt":"I'm building a Solana trading bot and need programmatic access to HostDeFi's DEX — can you provision me an API key using the x402 payment flow so I can start making swaps through their Jupiter-routed endpoint?"},{"title":"Token safety scanner integration","prompt":"I want to integrate HostDeFi's token risk grader into my portfolio app — can you get me an API key by paying the 5 USDC fee, so I have 5,000 calls to work with?"},{"title":"Multi-chain DeFi agent credential setup","prompt":"Set up credentials for me on HostDeFi so my agent can do EVM and Solana swaps plus bridging — pay the 5 USDC and grab the API key shown once so I can save it."}],"resultDescription":"Returns a JSON object with `ok: true`, the plan name (`x402agent`), a quota of 5,000 API calls, and the API key string (shown only once at provisioning time).","failureModes":["Payment not received or insufficient — key not issued","USDC payment transaction fails or times out","Duplicate provisioning attempt may not return same key","Missing or malformed POST body returns validation error","Network error reaching rpc.hostdefi.com"],"whenToPreferThis":"Choose this endpoint when you need to programmatically obtain credentials for the HostDeFi platform — specifically when you intend to use their Solana DEX (Jupiter-routed swaps), EVM multi-chain trading, bridging, or token safety scanner APIs and need a quota-bearing API key via a USDC micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:50:42.426Z","isFirstParty":false,"canonicalSlug":"hostdefi-api-key-provisioning-d142643a"}