{"openapi":"3.1.0","info":{"title":"OpenAPI Hub API","version":"2026-09-12","description":"Registry-derived contract for 27 currently executable, read-only provider routes. Upstream availability and latency are not an SLA."},"servers":[{"url":"https://openapihub.dev"}],"paths":{"/run/myriad/markets":{"get":{"operationId":"myriad_get_markets","summary":"Paginated markets with trading-model, network, state, tag and keyword filters.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","enum":["volume","volume_24h","volume_notional","volume_notional_24h","liquidity","expires_at","published_at","in_play_starts_at","featured"],"default":"volume"},"description":"Listing sort key.","example":"volume_24h"},{"name":"order","in":"query","required":false,"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"description":"Sort direction.","example":"desc"},{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"state","in":"query","required":false,"schema":{"type":"string","enum":["open","closed","resolved"]},"description":"Market lifecycle state.","example":"open"},{"name":"topics","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated topics (see /topics).","example":"Crypto"},{"name":"tags","in":"query","required":false,"schema":{"type":"string"},"description":"Tag slugs. Repeat the parameter to AND groups, comma-separate inside a value to OR.","example":"crypto"},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Full-text search across title, description and outcome titles.","example":"bitcoin"},{"name":"event_id","in":"query","required":false,"schema":{"type":"string"},"description":"Filter markets to one event UUID.","example":"95fd4b8f-20f6-4eef-9dcd-5f506635ce6b"},{"name":"ids","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated on-chain market ids.","example":"1237,827"},{"name":"in_play","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Boolean filter; accepts true/false/1/0.","example":true},{"name":"moneyline","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Boolean filter; accepts true/false/1/0.","example":true},{"name":"group_by_event","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Collapse sibling markets of one event into a single event row.","example":false}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/{id}":{"get":{"operationId":"myriad_get_markets_id","summary":"One market by slug, or by numeric id with network_id.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Market slug, or a numeric on-chain market id when `network_id` is supplied.","example":"will-microstrategy-hold-over-1m-btc-before-2027"},{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/{id}/events":{"get":{"operationId":"myriad_get_markets_id_events","summary":"Trade, liquidity and claim actions for one market, newest first.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Market slug, or a numeric on-chain market id when `network_id` is supplied.","example":"will-microstrategy-hold-over-1m-btc-before-2027"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"},{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"since","in":"query","required":false,"schema":{"type":"integer"},"description":"Only actions at or after this UNIX-second timestamp.","example":1794900000},{"name":"until","in":"query","required":false,"schema":{"type":"integer"},"description":"Only actions at or before this UNIX-second timestamp.","example":1795000000},{"name":"only_relevant","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Exclude wash-trade actions where `relevant` is false.","example":true}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/{id}/referrals":{"get":{"operationId":"myriad_get_markets_id_referrals","summary":"Referral-generating trades for one market.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Market slug, or a numeric on-chain market id when `network_id` is supplied.","example":"will-microstrategy-hold-over-1m-btc-before-2027"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"since","in":"query","required":false,"schema":{"type":"integer"},"description":"Only actions at or after this UNIX-second timestamp.","example":1794900000},{"name":"until","in":"query","required":false,"schema":{"type":"integer"},"description":"Only actions at or before this UNIX-second timestamp.","example":1795000000},{"name":"code","in":"query","required":false,"schema":{"type":"string"},"description":"Only this referral code.","example":"myriad"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/{id}/holders":{"get":{"operationId":"myriad_get_markets_id_holders","summary":"Holders grouped by outcome, ranked by net shares.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Market slug, or a numeric on-chain market id when `network_id` is supplied.","example":"will-microstrategy-hold-over-1m-btc-before-2027"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/{id}/orderbook":{"get":{"operationId":"myriad_get_markets_id_orderbook","summary":"Aggregated order book for one outcome of an order-book market (by market slug).","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Market slug (pass the slug directly without `network_id`, e.g. `will-microstrategy-hold-over-1m-btc-before-2027`).","example":"will-microstrategy-hold-over-1m-btc-before-2027"},{"name":"outcome","in":"query","required":false,"schema":{"type":"integer","enum":["0","1"],"default":0},"description":"Outcome index to read (0 or 1 for binary markets).","example":0}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"heavy"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/{id}/trades":{"get":{"operationId":"myriad_get_markets_id_trades","summary":"Recent order-book trades for one market, newest first.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Market slug, or a numeric on-chain market id when `network_id` is supplied.","example":"will-microstrategy-hold-over-1m-btc-before-2027"},{"name":"outcome","in":"query","required":false,"schema":{"type":"integer","enum":["0","1"],"default":0},"description":"Outcome index to read (0 or 1 for binary markets).","example":0},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Trades per page (server maximum 200).","example":5},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/markets/quote":{"post":{"operationId":"myriad_post_markets_quote","summary":"Read-only trade quote: expected shares, average price, fees and unsigned calldata.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"market_id":{"type":"integer","minimum":1,"description":"On-chain market id (pair with network_id; exclusive with market_slug).","example":595},"network_id":{"type":"integer","minimum":1,"description":"Network id, required with market_id.","example":42220},"outcome_id":{"type":"integer","minimum":0,"description":"On-chain outcome id.","example":0},"action":{"type":"string","enum":["buy","sell"],"description":"Trade direction being priced.","example":"buy"},"value":{"type":"number","minimum":0,"description":"Tokens to spend (buy) or receive (sell); exclusive with shares.","example":100},"slippage":{"type":"number","minimum":0,"maximum":1,"default":0.005,"description":"Slippage tolerance as a decimal (0.005 = 0.5%).","example":0.01}},"additionalProperties":true,"required":["outcome_id","action"]}}}}}},"/run/myriad/events":{"get":{"operationId":"myriad_get_events","summary":"Published events with nested sibling markets and aggregated metrics.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"state","in":"query","required":false,"schema":{"type":"string","enum":["open","closed","resolved"]},"description":"Market lifecycle state.","example":"open"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/events/{id}":{"get":{"operationId":"myriad_get_events_id","summary":"One event by UUID or slug, with its sibling markets.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Event UUID or event slug.","example":"95fd4b8f-20f6-4eef-9dcd-5f506635ce6b"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/events/{id}/orderbook":{"get":{"operationId":"myriad_get_events_id_orderbook","summary":"Combined order book across every outcome market of a NegRisk event.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Event UUID or event slug.","example":"95fd4b8f-20f6-4eef-9dcd-5f506635ce6b"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"heavy"},"x-api-hub-billing-type":"free"}},"/run/myriad/events/{id}/actions":{"get":{"operationId":"myriad_get_events_id_actions","summary":"Trade actions across all outcome markets of an event.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Event UUID or event slug.","example":"95fd4b8f-20f6-4eef-9dcd-5f506635ce6b"},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"},{"name":"since","in":"query","required":false,"schema":{"type":"integer"},"description":"Only actions at or after this UNIX-second timestamp.","example":1794900000},{"name":"until","in":"query","required":false,"schema":{"type":"integer"},"description":"Only actions at or before this UNIX-second timestamp.","example":1795000000},{"name":"only_relevant","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"Exclude wash-trade actions where `relevant` is false.","example":true},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/tags":{"get":{"operationId":"myriad_get_tags","summary":"Tag occurrences across published, open markets.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"Restrict tags to one namespace (e.g. category, league, asset).","example":"category"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/topics":{"get":{"operationId":"myriad_get_topics","summary":"Per-topic market counts for currently open markets.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/users/{address}/events":{"get":{"operationId":"myriad_get_users_address_events","summary":"Action history for one wallet across markets.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"EVM wallet address.","example":"0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/users/{address}/referrals":{"get":{"operationId":"myriad_get_users_address_referrals","summary":"Referral earnings and referred-trade history for one wallet.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"EVM wallet address.","example":"0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/users/{address}/portfolio":{"get":{"operationId":"myriad_get_users_address_portfolio","summary":"Aggregated positions per market/outcome for one wallet.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"EVM wallet address.","example":"0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/users/{address}/markets":{"get":{"operationId":"myriad_get_users_address_markets","summary":"A wallet's activity aggregated by market, including on-chain OB balances.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"EVM wallet address.","example":"0x2d49Cf1bd94e20a78315A6c4beCc1f3a3DA233CE"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5},{"name":"trading_model","in":"query","required":false,"schema":{"type":"string","enum":["amm","ob","all"],"default":"amm"},"description":"Trading model to include. Lists are AMM-only unless `ob` or `all` is passed.","example":"all"},{"name":"min_shares","in":"query","required":false,"schema":{"type":"number","minimum":0,"default":0.1},"description":"Minimum shares per outcome for the position to be listed.","example":0.1},{"name":"network_id","in":"query","required":false,"schema":{"type":"string"},"description":"Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.","example":"56"},{"name":"state","in":"query","required":false,"schema":{"type":"string","enum":["open","closed","resolved"]},"description":"Market lifecycle state.","example":"open"},{"name":"keyword","in":"query","required":false,"schema":{"type":"string"},"description":"Full-text search across title, description and outcome titles.","example":"bitcoin"},{"name":"topics","in":"query","required":false,"schema":{"type":"string"},"description":"Comma-separated topics (see /topics).","example":"Crypto"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/leaderboard":{"get":{"operationId":"myriad_get_web_leaderboard","summary":"Season leaderboard rankings and points standings from myriad.markets.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":10},"description":"Rows per page.","example":5},{"name":"period","in":"query","required":false,"schema":{"type":"string"},"description":"Optional leaderboard time period.","example":"all"},{"name":"sortBy","in":"query","required":false,"schema":{"type":"string"},"description":"Optional sort column.","example":"points"},{"name":"seasonId","in":"query","required":false,"schema":{"type":"string"},"description":"Optional season identifier.","example":"1"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/markets":{"get":{"operationId":"myriad_get_web_markets","summary":"Featured markets and initial paginated market catalog from myriad.markets.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/v2/contests":{"get":{"operationId":"myriad_get_web_v2_contests","summary":"Paginated Myriad prediction contests.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1},"description":"One-based page number.","example":1},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":20},"description":"Rows per page (server maximum 100).","example":5}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/v2/contests/{slug}":{"get":{"operationId":"myriad_get_web_v2_contests_slug","summary":"Full detail for one Myriad contest by slug.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"description":"Contest slug from `/web/v2/contests`.","example":"world-cup"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/aggregateQuests":{"get":{"operationId":"myriad_get_web_aggregatequests","summary":"Aggregate quest completion counts and OData reward feed.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/content/feed":{"get":{"operationId":"myriad_get_web_content_feed","summary":"Editorial crypto news feed backing Myriad market pages.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/content/search":{"get":{"operationId":"myriad_get_web_content_search","summary":"Full-text search across Myriad editorial articles.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[{"name":"input","in":"query","required":true,"schema":{"type":"string"},"description":"Search query string.","example":"bitcoin"}],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{}}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/campaigns/topcasters":{"get":{"operationId":"myriad_get_web_campaigns_topcasters","summary":"Topcasters campaign status and reward metadata.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}},"/run/myriad/web/integration-vote-counts":{"get":{"operationId":"myriad_get_web_integration_vote_counts","summary":"Community upvote/downvote tallies for Myriad ecosystem integrations.","tags":["myriad"],"security":[{"HubKey":[]}],"parameters":[],"responses":{"200":{"description":"Successful provider response in the OpenAPI Hub envelope.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ExecutionEnvelope"},{"type":"object","properties":{"data":{"type":"object","additionalProperties":true}}}]}}}},"400":{"description":"Invalid request body or parameters.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"401":{"description":"Missing or invalid X-Hub-Key.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"404":{"description":"Source or executable route not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"429":{"description":"Hub admission or account quota limit reached.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"502":{"description":"Upstream provider or transport failure.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}},"503":{"description":"Key, control, or source state unavailable.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/HubError"},{"$ref":"#/components/schemas/ExecutionEnvelope"}]}}}}},"x-api-hub-provider":"myriad","x-api-hub-read-only":true,"x-api-hub-cost":{"model":"free","weight":0,"rate_limit_class":"standard"},"x-api-hub-billing-type":"free"}}},"components":{"securitySchemes":{"HubKey":{"type":"apiKey","in":"header","name":"X-Hub-Key","description":"Load from API_HUB_KEY; never place a key in a URL."}},"schemas":{"ExecutionEnvelope":{"type":"object","required":["source","path","status","data","cached","latency_ms"],"properties":{"source":{"type":"string"},"path":{"type":"string"},"params":{"type":"object","additionalProperties":true},"status":{"type":"integer"},"data":{},"cached":{"type":"boolean"},"ttl":{"type":"number"},"age_s":{"type":"number"},"latency_ms":{"type":"number"},"error":{"type":"string"}},"additionalProperties":true},"HubError":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"hint":{"type":"string"},"reason":{"type":"string","enum":["rate","client_concurrency","shared_concurrency","client_state_capacity"]},"retry_after_s":{"type":"integer","minimum":1},"source":{"type":"string"},"path":{"type":"string"},"method":{"type":"string"},"status":{"type":"integer"},"data":{},"cached":{"type":"boolean"},"latency_ms":{"type":"number"}},"additionalProperties":true}}},"tags":[{"name":"myriad","description":"Myriad Markets prediction data: events, markets, order books, trade quotes, holders, wallet portfolios, contests and WebSocket feeds."}]}