{"uid":"cap_vm6kgZvecJaUQfXPNaqD7","slug":"api-quantoracle-dev-b3aaa749","name":"QuantOracle Batch Computation","description":"Free, fast quant finance calculators powered by a deterministic, multi-chain API. Black-Scholes, options profit, Kelly, VaR, crypto liquidation, and more.","url":"https://api.quantoracle.dev/v1/batch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object","title":"BatchRequest","required":["endpoint","params"],"properties":{"params":{"type":"object","title":"Params","description":"Parameters for the endpoint","additionalProperties":true},"endpoint":{"type":"string","title":"Endpoint","description":"Endpoint path, e.g. 'options/price'"}}},"title":"Requests","maxItems":100,"minItems":1,"description":"List of computation requests (max 100)"}}},"responseSchema":null,"example":{"request":{"requests":[{"params":{"series":[1,2.1,3.2,4.5,5.8,6.9,7.2,8.1,9.3,10.5,11.2,12.8,13.5,14.1,15.3,16.2,17.8,18.9,19.5,20.1,21.3,22.5,23.7,24.9,25.2]},"endpoint":"options/price"}]},"response":{"ms":8.71,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"results":[{"data":{"error":{"detail":[{"loc":["body","S"],"msg":"Field required","type":"missing","input":{"series":[1,2.1,3.2,4.5,5.8,6.9,7.2,8.1,9.3,10.5,11.2,12.8,13.5,14.1,15.3,16.2,17.8,18.9,19.5,20.1,21.3,22.5,23.7,24.9,25.2]}},{"loc":["body","K"],"msg":"Field required","type":"missing","input":{"series":[1,2.1,3.2,4.5,5.8,6.9,7.2,8.1,9.3,10.5,11.2,12.8,13.5,14.1,15.3,16.2,17.8,18.9,19.5,20.1,21.3,22.5,23.7,24.9,25.2]}},{"loc":["body","T"],"msg":"Field required","type":"missing","input":{"series":[1,2.1,3.2,4.5,5.8,6.9,7.2,8.1,9.3,10.5,11.2,12.8,13.5,14.1,15.3,16.2,17.8,18.9,19.5,20.1,21.3,22.5,23.7,24.9,25.2]}},{"loc":["body","sigma"],"msg":"Field required","type":"missing","input":{"series":[1,2.1,3.2,4.5,5.8,6.9,7.2,8.1,9.3,10.5,11.2,12.8,13.5,14.1,15.3,16.2,17.8,18.9,19.5,20.1,21.3,22.5,23.7,24.9,25.2]}}]}},"status":422,"endpoint":"options/price"}],"batch_size":1,"total_price_usdc":0.005}},"exampleRequest":{"requests":[{"params":{"series":[1,2.1,3.2,4.5,5.8,6.9,7.2,8.1,9.3,10.5,11.2,12.8,13.5,14.1,15.3,16.2,17.8,18.9,19.5,20.1,21.3,22.5,23.7,24.9,25.2]},"endpoint":"options/price"}]},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zIR9jqO53KAD5hKMwG9y3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes multiple QuantOracle quantitative finance computations in a single batched API call","exampleAgentPrompt":"I need to run three QuantOracle calculations at once — an IRR on a cash flow series, a probabilistic Sharpe ratio on my portfolio returns, and a regime classification on the S&P 500 — can you batch all three into a single call so I get all the results together?","exampleUseCases":null,"resultDescription":"An array of computation results corresponding to each sub-request in the batch, where each result contains the output of the respective QuantOracle calculation (e.g. IRR value, Sharpe ratio with confidence, regime label, option chain metrics, etc.) along with any per-request error details if a sub-computation failed.","failureModes":["One or more sub-requests contain invalid parameters, returning partial success with per-item errors","Batch size exceeds maximum allowed number of requests, returning a 400 error","Unknown or unsupported computation type specified in a sub-request","Malformed request body causes entire batch to fail with 400","Payment not attached or insufficient USDC balance causes 402 error","Timeout if batch contains too many computationally expensive operations"],"whenToPreferThis":"Use this endpoint when you need to run two or more QuantOracle computations and want to minimize latency and API call overhead by combining them. Prefer this over calling individual endpoints sequentially when performing portfolio analysis pipelines, multi-metric dashboards, or automated workflows that require results from several calculations at once. Ideal for agentic workflows where multiple quantitative outputs feed into a downstream decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:38.614Z","isFirstParty":false}