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 freeSemantic market search ranked by similarity.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
query | query | str | required | Free-text or semantic search query. example: bitcoin |
limit | query | int | optional | Rows per page (server caps vary by route; 100 is the widest documented). example: 5 |
page | query | int | optional | One-based page number. example: 1 |
similarityThreshold | query | float | optional | Minimum cosine similarity (0–1). default: 0.5example: 0.5 |
includeNextMarket | query | bool | optional | Include the upfront-scheduled successor market in the payload. default: Falseexample: 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"