GET /markets/search

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/limitless/markets/searchCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Semantic market search ranked by similarity.

Parameters

nameintypedescription
queryquerystrrequiredFree-text or semantic search query.
example: bitcoin
limitqueryintoptionalRows per page (server caps vary by route; 100 is the widest documented).
example: 5
pagequeryintoptionalOne-based page number.
example: 1
similarityThresholdqueryfloatoptionalMinimum cosine similarity (0–1).
default: 0.5
example: 0.5
includeNextMarketquerybooloptionalInclude the upfront-scheduled successor market in the payload.
default: False
example: True

Response

type: object
data key: markets
pagination: none
sample: {
  "markets": "array[4]",
  "totalMarketsCount": "int",
  "noExactMatch": "bool"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/limitless/markets/search?query=bitcoin&limit=5&page=1&similarityThreshold=0.5&includeNextMarket=True"