{"openapi":"3.1.0","info":{"title":"PoEF service","version":"poef-sim/0.6","description":"Read-only verification service. Test networks and synthetic data only. No record is VERIFIED: that state needs an independent audit and a live network. The service holds no key and signs nothing. Version compatibility: routes under /v1 only gain fields; a breaking change gets a new prefix."},"servers":[{"url":"https://landingpad.fun/poef-api"}],"x-authentication":"None. GET routes are public. POST routes accept browser calls only from https://landingpad.fun and are stateless: nothing is stored.","x-rate-limit":"90 requests per minute per address; 429 with Retry-After: 60 when exceeded.","x-not-built":["market registration by third parties","rule-set registration","proof submission by third parties","authentication and API keys","reading the Solana devnet market"],"x-registry":"A batch record is stored once it is final (settled and finalized, or expired with its accountability decided) and is never overwritten; each stored record carries the SHA-256 of its text.","x-rights":"Proprietary. All rights reserved. No licence is granted.","paths":{"/v1":{"get":{"summary":"Version, routes and certificate states","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/health":{"get":{"summary":"Liveness","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/openapi.json":{"get":{"summary":"This document","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets":{"get":{"summary":"Markets the service reads: the PoEF batch market and Landing Pad test coin markets","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data_class":{"type":"string"},"markets":{"type":"array","items":{"type":"object"}}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/state":{"get":{"summary":"Current state of one market","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"sepolia-poef (the current batch market), sepolia-poef-2, sepolia-poef-2-demo, sepolia-poef-1, or sepolia-lp-<market address>"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/reserves":{"get":{"summary":"Reserve report: floor F = R / S, coverage R / (S x P), funded liabilities and reserve integrity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"market id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"floor_price":{"type":["number","null"]},"market_price":{"type":["number","null"]},"coverage_of_market_cap":{"type":["number","null"]},"solvency":{"type":"object","properties":{"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"funded_liabilities":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"reserve_integrity":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]}}}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/fairness":{"get":{"summary":"Mandatory conditions and the fairness index of the latest settled batch, or of ?batch=N","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"market id"},{"name":"batch","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"mandatory":{"type":"object","properties":{"all_pass":{"type":"boolean"},"blocking":{"type":"array","items":{"type":"string"}},"conditions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"basis":{"type":"string"}}}}}},"fairness_index":{"type":"object","properties":{"method":{"type":"string"},"status":{"type":"string","enum":["MEASURED","UNKNOWN","NOT APPLICABLE"]},"efi":{"type":["number","null"]},"measured":{"type":"integer"},"of":{"type":"integer"},"dimensions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"value":{"type":["number","null"]},"what":{"type":"string"}}}},"weight_sensitivity":{"type":"object"}}}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/history":{"get":{"summary":"Settled batches, newest first","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"market id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/reserves/history":{"get":{"summary":"The reserve report over time: at most one point an hour, from when recording began; nothing is filled in","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"sepolia-lp-<market address>"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"points":{"type":"array","items":{"type":"object"}}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/engines":{"get":{"summary":"Genesis, inclusion, execution, exit, economic integrity and accountability for one batch, each with the checks it ran and what it does not cover","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"PoEF batch market id"},{"name":"batch","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"batch":{"type":["integer","null"]},"engines":{"type":"object"}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/solvency":{"get":{"summary":"Solvency: for a PoEF batch market, tokens held against everything still owed to unclaimed orders plus fees; for a Landing Pad coin market, its two reserve conditions","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"market id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"checks":{"type":"array","items":{"type":"object"}}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/extraction":{"get":{"summary":"Anti-extraction for one batch: the batch settled again in 20 random arrival orders, one price inside the batch, and what a front-runner would have taken from the same orders on a first-come book","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"PoEF batch market id"},{"name":"batch","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"checks":{"type":"array","items":{"type":"object"}},"first_come_book":{"type":["object","null"]}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/genesis":{"get":{"summary":"Genesis check of a PoEF batch market contract: published build, rules text committed, published parameters, no owner, started empty","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"market id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"checks":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"detail":{"type":"string"}}}},"scope":{"type":"string"}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/markets/{id}/accountability":{"get":{"summary":"The operator's bond of a PoEF batch market: what it promises, what it holds, what is set aside","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"market id"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/wallets/{address}":{"get":{"summary":"Every order a wallet placed in batches whose record is stored","parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"0x address"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object"}},"bought":{"type":"integer"},"sold":{"type":"integer"}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/reserves":{"get":{"summary":"Reserve reports of recent Landing Pad test coins","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/certificates/{id}":{"get":{"summary":"Batch record with an independent replay","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"<market id>-<batch>, for example sepolia-poef-2-7"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"registry":{"type":"object","properties":{"stored":{"type":"boolean"},"sha256":{"type":"string"},"stored_at":{"type":"string"}}},"inclusion":{"type":"object"},"genesis":{"type":["object","null"]},"accountability":{"type":"object"},"concentration":{"type":["object","null"]},"state":{"type":"string","enum":["DEMO","TESTNET","FAILED","UNKNOWN","EXPIRED"]},"chain_id":{"type":"integer"},"contract":{"type":"string"},"rule_hash":{"type":"string"},"input_commitment":{"type":"string"},"resulting_state_commitment":{"type":"string"},"verification_method":{"type":"string"},"proof_validity":{"type":"string","enum":["VALID","INVALID","UNKNOWN"]},"finality":{"type":"string"},"data_availability":{"type":"string"},"mandatory":{"type":"object","properties":{"all_pass":{"type":"boolean"},"blocking":{"type":"array","items":{"type":"string"}},"conditions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"status":{"type":"string","enum":["PASS","FAIL","UNKNOWN","NOT APPLICABLE"]},"basis":{"type":"string"}}}}}},"fairness_index":{"type":"object","properties":{"method":{"type":"string"},"status":{"type":"string","enum":["MEASURED","UNKNOWN","NOT APPLICABLE"]},"efi":{"type":["number","null"]},"measured":{"type":"integer"},"of":{"type":"integer"},"dimensions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"value":{"type":["number","null"]},"what":{"type":"string"}}}},"weight_sensitivity":{"type":"object"}}},"engines":{"type":"object"},"limitations":{"type":"array","items":{"type":"string"}}}}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/proofs/{id}":{"get":{"summary":"The proof part of a batch record: inputs, method, validity","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"sepolia-poef-1-<batch>"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/verify":{"post":{"summary":"Check a proposed settlement against a batch of accepted orders","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"batch":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"side":{"type":"string","enum":["buy","sell"]},"lots":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1}},"required":["side","lots","limit"]},"maxItems":40},"reference_tick":{"type":"integer"},"fee_bps":{"type":"integer","minimum":0,"maximum":1000},"tick_quote":{"type":"integer"}},"required":["orders"]},"settlement":{"type":"object"}},"required":["batch","settlement"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"valid":{"type":"boolean"},"violations":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Malformed or over the limits (40 orders)","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/simulate":{"post":{"summary":"Settle a batch by the reference rules, with the first-come comparison and the fairness report","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"side":{"type":"string","enum":["buy","sell"]},"lots":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1}},"required":["side","lots","limit"]},"maxItems":40},"reference_tick":{"type":"integer"},"fee_bps":{"type":"integer","minimum":0,"maximum":1000},"tick_quote":{"type":"integer"}},"required":["orders"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/simulations":{"post":{"summary":"Alias of /v1/simulate (a DEMO record: synthetic input)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"side":{"type":"string","enum":["buy","sell"]},"lots":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1}},"required":["side","lots","limit"]},"maxItems":40},"reference_tick":{"type":"integer"},"fee_bps":{"type":"integer","minimum":0,"maximum":1000},"tick_quote":{"type":"integer"}},"required":["orders"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/shuffle":{"post":{"summary":"Fifty random arrival orders of the same batch","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"side":{"type":"string","enum":["buy","sell"]},"lots":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1}},"required":["side","lots","limit"]},"maxItems":40},"reference_tick":{"type":"integer"},"fee_bps":{"type":"integer","minimum":0,"maximum":1000},"tick_quote":{"type":"integer"}},"required":["orders"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}},"/v1/bot":{"post":{"summary":"Best front-run found by search, on the first-come book and on the batch (up to 16 orders)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"side":{"type":"string","enum":["buy","sell"]},"lots":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1}},"required":["side","lots","limit"]},"maxItems":40},"reference_tick":{"type":"integer"},"fee_bps":{"type":"integer","minimum":0,"maximum":1000},"tick_quote":{"type":"integer"}},"required":["orders"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Unknown id","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"429":{"description":"Rate limited: 90 requests a minute per address; Retry-After is set","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"detail":{"type":"string"}},"required":["error"]}}}},"503":{"description":"The network could not be read; status is UNKNOWN and no value is substituted","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"const":"UNKNOWN"},"error":{"type":"string"}}}}}}}}}}}