Options Market Data
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/optionsimport requests
url = "https://api.asksurf.ai/gateway/v1/market/options"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"exchange": "<string>",
"open_interest": 123,
"symbol": "<string>",
"updated_at": 123,
"volume_24h": 123,
"max_pain_price": 123,
"put_call_ratio": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketOptionsItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}Market
Options Market Data
GET
/
gateway
/
v1
/
market
/
options
Options Market Data
curl --request GET \
--url https://api.asksurf.ai/gateway/v1/market/optionsimport requests
url = "https://api.asksurf.ai/gateway/v1/market/options"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.asksurf.ai/gateway/v1/market/options', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"exchange": "<string>",
"open_interest": 123,
"symbol": "<string>",
"updated_at": 123,
"volume_24h": 123,
"max_pain_price": 123,
"put_call_ratio": 123
}
],
"meta": {
"cached": true,
"credits_used": 123
},
"$schema": "https://example.com/schemas/SimpleListResponseMarketOptionsItem.json"
}{
"error": {
"code": "<string>",
"message": "<string>"
},
"$schema": "https://example.com/schemas/DataAPIError.json"
}