GET /search-markets
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/manifold/search-marketsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeSearch or filter markets with the browse-page ranking options.
Also accepts `contractType` (ALL/BINARY/MULTIPLE_CHOICE/…), `topicSlug`, `creatorId` and `beforeTime`, all forwarded verbatim.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
term | query | str | required | Search text (may be empty to browse with filters only). example: bitcoin |
sort | query | strmost-popular | newest | score | daily-score | freshness-score | 24-hour-vol | liquidity | subsidy | last-updated | close-date | start-time | resolve-date | random | bounty-amount | prob-descending | prob-ascending | optional | Search ranking preset. default: most-popularexample: most-popular |
filter | query | strall | open | closed | resolved | news | closing-90-days | closing-week | closing-month | closing-day | optional | Closing-state filter. default: allexample: open |
limit | query | int | optional | Rows to return (server maximum varies by route; 1000 on listings, 100 on ledgers). example: 5 |
offset | query | int | optional | Rows to skip from the newest end. example: 0 |
Response
type: array
pagination: none
sample: {
"[0]": "object"
}
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/manifold/search-markets?term=bitcoin&sort=most-popular&filter=open&limit=5&offset=0"