{"uid":"cap_VX6R9YqrgvmV4nK5mh8uC","slug":"cloudmaxi0x-order-fill-simulator-3efa9859","name":"CloudMaxi0x Order Fill Simulator","description":"Deterministic, verifiable crypto market data and honest backtest audits. Use GET /v1/data/ohlcv for exact OHLCV over a half-open range with a SHA-256 Merkle manifest - only closed candles are returned, exchange decimal strings are preserved byte for byte, so the same query always yields the same root. Use GET /v1/data/proof to verify one candle against a root you already hold. Use POST /v1/validate/trades to find out whether a list of trade returns can be distinguished from luck, and POST /v1/validate/filter to test a trade filter against a permutation null. GET /, /v1/schema and /v1/data/sources are free.","url":"https://cloudmaxi0x.com/v1/sim/fill","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["symbol","interval","entry_ms","side"],"properties":{"side":{"enum":["long","short"],"type":"string"},"symbol":{"type":"string"},"entry_ms":{"type":"integer"},"interval":{"type":"string"},"order_type":{"enum":["market","limit"],"type":"string"},"stop_price":{"type":"number"},"limit_price":{"type":"number"},"take_profit":{"type":"number"},"max_hold_bars":{"type":"integer"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.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_z1f0vUMp4F2XYQAs_QDzK","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":"Replays a historical trade order against actual OHLCV price data, reporting which of stop-loss or take-profit triggered first, excursion metrics, and ambiguity detection when ordering cannot be determined within a single bar.","exampleAgentPrompt":"Simulate a long BTCUSDT trade entered at Unix timestamp 1710000000000 on 1-hour bars with a stop at 61000 and take profit at 65000 — tell me which exit fired first and what the excursion split looked like.","exampleUseCases":[{"title":"Stop hunt detection on past trade","prompt":"I entered a long ETHUSDT trade on the 15-minute chart at timestamp 1709500000000 with a stop at 3100 and a take profit at 3400 — can you replay that order and tell me if my stop got hit before the target, and show the excursion breakdown?"},{"title":"Validate short trade exit sequence","prompt":"Replay a short SOLUSDT position entered at timestamp 1710200000000 on 4-hour bars with a stop at 185 and a take profit at 155, and tell me which of the two levels price reached first."},{"title":"Limit entry backtest verification","prompt":"I want to test a limit long order on AAPL at timestamp 1708800000000 on daily bars, with a limit entry at 182, stop at 178, and take profit at 192 — simulate the fill and let me know the outcome and how many bars it took to resolve."}],"resultDescription":"Returns which exit level (stop-loss or take-profit) was triggered first, the excursion split at the exit point (showing how far price moved in both directions before exiting), the number of bars held, and whether the bar's intra-bar ordering was ambiguous. When both stop and target fall within a single bar's range, the endpoint refuses to guess ordering and flags the result as ambiguous.","failureModes":["Symbol not found or unsupported — returns error indicating unknown instrument","Timestamp too recent — only closed candles are included, so a very recent entry_ms may return no data","Both stop and take profit inside one bar — returns an ambiguity flag rather than a fill decision","Missing required parameters (symbol, interval, entry_ms, side) — returns validation error","No candle data available for the requested time range — returns empty or error response","Invalid interval format — returns parameter error"],"whenToPreferThis":"Use this endpoint when you need to deterministically verify how a specific historical trade order would have resolved against real market data — particularly when you need excursion analysis (how far price moved against you before exiting) or need to confirm stop vs. target priority. Prefer this over a full backtest engine when you only need to evaluate a single order fill rather than a strategy run. Its ambiguity detection makes it more reliable than simple price-comparison logic when tick data is unavailable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:13.747Z","isFirstParty":false}