{"uid":"cap_9KMqk5owJKHKrVn7zb4Z1","slug":"basis-points-to-fraction-a7b694a0","name":"Basis Points to Fraction","description":"Convert basis points into a unit-interval fractional rate. Call when fee, funding, or slippage math expects 0–1 fractions not bps. Returns fraction = bps/10000 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/bps-to-fraction","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bps":{"type":"integer","description":"Input field: bps."}}},"responseSchema":{"type":"json","example":{"bps":25,"schema":"delx/util-bps-to-fraction/v1","fraction":0.0025}},"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_UwbUp6QrDLBO3_uhLqI5I","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":"Converts an integer basis points value to its unit-interval decimal fraction (bps / 10000) for use in fee, funding, or slippage calculations.","exampleAgentPrompt":"Convert 75 basis points into a unit-interval fraction so I can use it as the slippage tolerance in my fee calculation.","exampleUseCases":[{"title":"Slippage tolerance for DeFi swap","prompt":"I need to set a 30 bps slippage tolerance on my DEX swap — can you give me that as a decimal fraction so I can plug it into the contract?"},{"title":"Fee rate normalization for order book","prompt":"My exchange charges a 12.5 bps maker fee — convert that to a 0-to-1 fraction so I can use it in my PnL math."},{"title":"Funding rate conversion for perpetuals","prompt":"The perpetual funding rate is 8 bps — what is that as a unit-interval decimal so I can compute the funding payment on a $100,000 position?"}],"resultDescription":"Returns a deterministic JSON object containing the computed fraction (bps divided by 10000) as a decimal number in the 0–1 unit interval, suitable for direct use in fee, slippage, or funding rate arithmetic.","failureModes":["Missing or non-integer bps input returns a validation error","Negative bps values may produce negative fractions (caller should validate range)","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when your downstream math (smart contract, trading engine, or analytics pipeline) requires a unit-interval (0–1) rate rather than a raw basis-points integer. It is ideal when you want a deterministic, server-confirmed conversion without building the arithmetic locally, and when you are already operating within the x402/USDC micropayment infrastructure on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:50:48.830Z","isFirstParty":false}