Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Related markets

/api/v1/public/markets/{id}/relatedGET
Up to 3 active markets similar to this market. When the nearest markets include more than one venue, the list includes more than one venue. The requested market is excluded. A known market with no similar markets returns an empty list. A similarity read that exceeds the time budget, or that the database cancels during recovery, asks the caller to retry.
Query Parameters
per_page?integer
Markets to return (1-3).
Default: 3Min: 1Max: 3
Response
200 · Related markets
data?object[]
Show item properties
market_id?string
similarity?number
Similarity to the requested market, from 0 to 1.
question?stringnull
description?stringnull
platform?stringnull
latest_price?numbernull
Current price in cents (0-100), the same mark as market detail.
meta?object
Show properties
total?integernull
Total number of records matching the request across every page, not just the current one. null on an uncounted list; page using has_next. A relevance-ranked search is uncounted, and a searched events list stays uncounted even with sort. A searched markets list with sort returns a total over the best 1,000 matches. A match outside that set is omitted.
page?integer
The 1-based page number this response covers.
per_page?integer
Maximum number of items on a page. The last page may hold fewer.
total_pages?integernull
Total number of pages available at the current per_page. null whenever total is null; page using has_next.
has_next?boolean
True when a page exists after this one.
has_prev?boolean
True when this is not the first page.
total_capped?boolean
True when total and total_pages reflect the server's counting ceiling rather than the exact matched count: the real set is at least total large. Render such totals as a lower bound (for example "10,000+"). Omitted when the count is exact. A sorted markets search that fills the 10,000-candidate ceiling sets this flag.
404 · Unknown market id
Unknown market id
503 · The similarity read exceeded its time budget, or the database cancelled it during recovery. `error` is `service_unavailable`. `message` is `The request exceeded the database time budget. Retry in a few seconds.` or `The database cancelled this read during recovery. Retry in a few seconds.` Wait `Retry-After` seconds before retrying.
error?string
Stable, machine-readable code identifying the failure; branch on this rather than on message. One of bad_request, unauthorized, forbidden, not_found, conflict, service_unavailable, upstream_error, service_error, or internal_error.
message?string
Human-readable explanation, safe to show to a user. For client errors it names the specific problem; for server-side failures it is a generic notice and the underlying detail is deliberately withheld.
Request example
curl -X GET "https://api.dev.adjacent.markets/api/v1/public/markets/<id>/related"