API Endpoints
bidAskLive
The bidAskLive
endpoint is designed to provide near real-time bid and ask price data for option markets on SDX.
URL (try it out)
https://bidasklive-d2jplirhdq-as.a.run.app/?assets=...&network=...
Query Parameters
assets
: A comma-separated list of asset names for which the bid and ask prices are requested. Possible values includeMSOL
.network
: The network type on which the assets are traded. Possible values includemainnet-beta
and devnet.
Response Structure
Error Handling
400 Bad Request: Invalid assets or network provided.
429 Too Many Requests: Rate limit exceeded.
500 Internal Server Error: Unexpected server-side errors.
Caching
The API internally caches responses for 60 seconds.
Rate Limiting
Be aware of the rate limiting policy of 5 requests / min to avoid service interruptions. The API enforces rate limits to ensure equitable resource usage.
Last updated