Fetch a Single Market by Slug
Endpoint
Section titled “Endpoint”GET /markets/slug/{slug}
Server: https://gamma.openfish.fun
Tags: Markets
Request Parameters
Section titled “Request Parameters”| Name | In | Type | Description |
|---|---|---|---|
slug | path | string | Required. Market slug |
include_tag | query | boolean | Include tags array in response (default false) |
Response
Section titled “Response”200 — The matching Market object.
404 — No market matches the given slug.
{ "id": "12345", "question": "Will BTC exceed $100k by end of 2026?", "slug": "will-btc-exceed-100k", "conditionId": "0xabc..."}curl "https://gamma.openfish.fun/markets/slug/will-btc-exceed-100k"