GET
/v1/open-close/{optionsTicker}/{date}
Options Daily Open/Close
Daily open/close (+ pre/after-hours if available) for an options contract.
Endpoint Details
| HTTP Method |
GET |
| Path |
/v1/open-close/{optionsTicker}/{date} |
| Version |
v1 |
| Minimum Plan |
free |
Path Parameters
| Parameter |
Required |
Description |
Example |
optionsTicker |
Required |
The options contract ticker symbol |
O:AAPL230616C00150000 |
date |
Required |
Date in YYYY-MM-DD format |
2024-01-15 |
Query Parameters
| Parameter |
Type |
Required |
Description |
api_key |
string |
Required |
Your API key for authentication |
limit |
integer |
Optional
|
Maximum number of results to return |
sort |
string |
Optional
|
Sort order (asc or desc) |
Example Request
curl "https://mail.tradeiqai.com/api/v1/open-close/O:AAPL230616C00150000/2024-01-15?api_key=YOUR_API_KEY"
Note: Replace YOUR_API_KEY with your actual API key.
Response Attributes
| Attribute |
Type |
Description |
ok |
boolean |
Indicates if the request was successful |
data.status |
string |
The status of the request response (typically "OK") |
data.request_id |
string |
A unique request ID assigned by the server |
data.results |
object|array |
Object or array containing endpoint-specific data |
data.next_url |
string (optional) |
URL for pagination to fetch the next page of results |
Example Response
{
"ok": true,
"data": {
"status": "OK",
"request_id": "abc123def456...",
"results": {
// Endpoint-specific data structure
},
"next_url": "https://api.tradeiqai.com/...?cursor=xyz789"
}
}