GET /explore/market
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/socket/explore/marketCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeVenue rows for an explore ticker. Read-only quote, no order is sent.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
ticker | query | str | required | Ticker symbol. example: TSLA |
amountUsd | query | str | required | Notional USD amount. example: 1000 |
side | query | str | required | buy or sell. example: buy |
Response
type: object
data key: rows
pagination: none
sample: {
"rows": "array",
"ticker": "str"
}
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/socket/explore/market?ticker=TSLA&amountUsd=1000&side=buy"