{"uid":"cap_pEjVQDP5frBF85tu6OeI-","slug":"fee-quote-2247bb7d","name":"Fee Quote","description":"Fee amount = notional × fee_rate for maker/taker style quotes. Call when pre-trade fee drag estimates on a sized order. Returns fee amount in quote units as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/fee-quote","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fee_rate":{"type":"number","description":"Input field: fee rate."},"notional":{"type":"integer","description":"Input field: notional."}}},"responseSchema":{"type":"json","example":{"fee":0.5,"schema":"delx/util-fee-quote/v1","fee_rate":0.0005,"notional":1000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nDUFjWEtDfOM6_C48aSnd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates pre-trade fee amount for a sized order using notional × fee_rate arithmetic, returning the fee in quote units.","exampleAgentPrompt":"What's the fee on a $25,000 notional order at a 0.03 fee rate? I need the exact fee amount before I decide whether to place the trade.","exampleUseCases":[{"title":"Pre-trade fee drag check","prompt":"I'm about to place a $100,000 notional order and the fee rate is 0.025% — can you calculate the exact fee amount so I can decide if it's worth it?"},{"title":"Comparing maker vs taker fee costs","prompt":"Can you calculate two fee quotes for me — one at a maker rate of 0.01% and one at a taker rate of 0.04%, both on a $50,000 notional? I want to see the dollar difference."},{"title":"Sizing a position within fee budget","prompt":"My notional is 75000 and the fee rate is 0.02 — what's the total fee I'd pay so I can figure out if it fits within my cost budget for this trade?"}],"resultDescription":"A deterministic JSON response containing the computed fee amount in quote units, calculated as notional × fee_rate. No external data sources are consulted — the result is pure local arithmetic.","failureModes":["Missing required fields (notional or fee_rate) returns a validation error","Non-numeric or negative values for notional or fee_rate may produce an error or unexpected result","Payment failure via x402 (insufficient USDC balance) prevents execution","Extremely large notional values may cause precision issues in floating-point arithmetic"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, local fee estimate for a maker/taker style order before submission. Prefer it over live exchange fee calculators when you already know the fee rate and need a reliable, offline arithmetic result without API keys, market data, or RPC calls. It is ideal for pre-trade checks inside automated trading agents where latency and determinism matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:39.934Z","isFirstParty":false}