Fetch a Single Market by ID
Endpoint
Section titled “Endpoint”GET /markets/{id}
Server: https://gamma.openfish.fun
Tags: Markets
Request Parameters
Section titled “Request Parameters”| Name | In | Type | Description |
|---|---|---|---|
id | path | string | Required. Market ID |
include_tag | query | boolean | Include tags array in response (default false) |
Response
Section titled “Response”200 — A single Market object with all available fields.
404 — The specified market does not exist.
{ "id": "12345", "question": "Will BTC exceed $100k by end of 2026?", "slug": "will-btc-exceed-100k", "conditionId": "0xabc...", "tags": []}curl "https://gamma.openfish.fun/markets/12345?include_tag=true"