{"uid":"cap_T2PWcB0hPm43KxL48nNCI","slug":"trustdex-api-key-provisioning-a2f8f0f1","name":"TrustDex API Key Provisioning","description":"TrustDex is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.","url":"https://trustdex.app/api/v1/x402/keys","method":"POST","headers":{},"bodySchema":null,"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":"down","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_HKFxMYWyMNrLeLN2wAq2S","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 TrustDex x402agent API key with a 5,000-call quota in exchange for a $5 USDC payment","exampleAgentPrompt":"Get me a TrustDex API key so I can start calling their token safety and swap endpoints — pay the $5 USDC fee and give me the key once it's issued.","exampleUseCases":[{"title":"Bootstrap DEX agent with API access","prompt":"I'm building an agent that checks Solana token safety scores and executes swaps via TrustDex — provision me an API key right now by paying the 5 USDC fee so I can get started."},{"title":"Automated token screener setup","prompt":"I want to set up an automated pipeline that screens new Solana tokens for risk using TrustDex — can you buy me a TrustDex x402agent API key so the pipeline has credentials to call the grading endpoint?"},{"title":"One-time key purchase for research bot","prompt":"I'm running a one-off research bot that needs to pull token risk grades from TrustDex for about 4,000 tokens — pay the 5 USDC and get me an API key with the full 5,000-call quota."}],"resultDescription":"Returns a JSON object with ok: true, the plan name ('x402agent'), the quota (5,000 calls), and the API key string — the key is shown only once so must be stored immediately upon receipt.","failureModes":["Payment of $5 USDC not received or rejected — returns payment error, no key issued","Malformed POST body (missing required fields type, method, bodyType, body) — returns 400 validation error","x402 payment protocol misconfiguration — payment goes through but key not issued","Quota already exhausted on a previously issued key — this endpoint issues a new key but does not top up existing ones","Network or server error on trustdex.app — returns 5xx, retry required"],"whenToPreferThis":"Use this endpoint when an AI agent needs programmatic, KYC-free access to TrustDex's Solana DEX, swap routing, EVM trading, or token risk-grading APIs and is willing to pay $5 USDC upfront for 5,000 calls. Prefer this over OAuth or account-based registration flows when operating in a no-account, no-KYC context and when the x402 micropayment protocol is already supported by the agent framework.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:27:19.689Z","isFirstParty":false}