US Options Trade Only
The U.S. Options Trade-Only dataset provides tick-level executed options trades derived from the consolidated Options Price Reporting Authority (OPRA) feed, with trade-anchored market context captured at the time of each execution. Each record includes the executed trade price, size, timestamp, originating exchange, and trade condition codes, along with the prevailing National Best Bid and Offer (NBBO), including bid/ask price, size, and condition, as observed at the moment of the trade. This en
GEThttps://api.devalgoseek.com/api/v1/data/us-equity-opt/opt-trades/:trade_date/:ticker#
The U.S. Options Trade-Only dataset provides tick-level executed options trades derived from the consolidated Options Price Reporting Authority (OPRA) feed, with trade-anchored market context captured at the time of each execution. Each record includes the executed trade price, size, timestamp, originating exchange, and trade condition codes, along with the prevailing National Best Bid and Offer (NBBO), including bid/ask price, size, and condition, as observed at the moment of the trade. This enables accurate analysis of execution quality, trade aggressiveness, and market state at execution time, without the overhead of a full quote stream. To support option-to-underlying relationship analysis, the dataset also includes underlying asset reference data (bid, ask, and last trade price, size, and timestamp) aligned to the option trade event. Coverage spans all U.S. equity options exchanges reporting via OPRA.
For more details, please refer to the dataset documentation: US Options Trade Only Guide.
Advanced Filtering
You can provide one or multiple filter expressions based on the dataset's columns to narrow down the results. For example, StartDate.gt=2023-01-01&StartDate.lt=2023-12-31, Ticker=AAPL.
Please refer to the Advanced Filtering Guide for the extensive reference.
Request#
Path Parameters#
Trading date in YYYY-MM-DD format
2024-01-15Dataset's security identifier
AAPLQuery Parameters#
- JSON
- CSV Gzip
Sorting criteria for the results. Provide a column name with optional prefix '+' for ascending order, or prefix with '-' for descending order. Multiple sorting fields may be supported depending on the dataset. If sort prefix is not provided, the ascending order is applied.
A comma-separated list of columns to include in the response. Use this parameter to select only specific fields from the dataset. If not provided, all available columns will be returned.
Possible values: >= 0
Number of records to skip before returning results. To be used with the limit parameter for pagination. If not provided, defaults to 0.
0100Possible values: >= 0 and <= 100000
Maximum number of records to return. Used to control response size and pagination. If not provided, a default limit is applied by the server.
10000100Possible values: [json, csv, csv_gzip]
The type of the data to return
jsonJSON format (default)
jsonCompressed CSV format
csv_gzipResponses#
- 200
- 403
- 422
- 429
JSON, CSV file, or gzip-compressed CSV file, depending on the value of response_format query parameter
- application/json
- text/csv
- application/gzip
- Schema
- Example (auto)
Schema
- Array [
- ]
data object[]required
The trading day
2023-08-02Event timestamp (EST) with a millisecond resolution
2023-08-02 09:32:26.228000000Symbol name
AAPLOption contract class: C for Call or P for Put
COption contract strike price
50Expiration date of the option contract
2023-08-04Byte code applicable to the event. It is translated into text in the Action column
33EventType and Side as text
TB (Buy) or S (Sell) side of the book. Empty field for trade events
Option contract pricing
144.7Underlying asset quantity
1Exchange Acronymn, eg BATS
CBSingle letter for Trade or Quote Condition
ITime of the last option NBBO bid
2023-08-02 09:32:26.228000000Price of the last option NBBO bid
144.25Size of the last option NBBO bid
5Last option NBBO bid condition
*Time of the last option NBBO ask
2023-08-02 09:32:26.228000000Price of the last option NBBO ask
144.85Size of the last option NBBO ask
1Last option NBBO ask condition
*Underlying Ticker NBBO Bid price at time of the event
194.69Underlying Ticker NBBO Ask price at time of the event
194.71Time of the trade price of the underlying security
2023-08-02 09:32:26.223301282The trade price of the underlying security
194.7Size of the trade price of the underlying security
100pagination objectrequired
The number of records skipped to fetch the current page
0The maximum number of records in the current page
The number of records to skip to fetch the next page
{
"data": [
{
"TradeDate": "2023-08-02",
"EventDateTime": "2023-08-02 09:32:26.228000000",
"Ticker": "AAPL",
"CallPut": "C",
"Strike": 50,
"ExpirationDate": "2023-08-04",
"EventType": 33,
"Action": "T",
"Side": "",
"Price": 144.7,
"Quantity": 1,
"Exchange": "CB",
"Conditions": "I",
"LastBidTime": "2023-08-02 09:32:26.228000000",
"LastBidPrice": 144.25,
"LastBidSize": 5,
"LastBidCondition": "*",
"LastAskTime": "2023-08-02 09:32:26.228000000",
"LastAskPrice": 144.85,
"LastAskSize": 1,
"LastAskCondition": "*",
"UnderBidPrice": 194.69,
"UnderAskPrice": 194.71,
"UnderLastTradeTime": "2023-08-02 09:32:26.223301282",
"UnderLastTradePrice": 194.7,
"UnderLastTradeSize": 100
}
],
"pagination": {
"limit": 1000,
"next_offset": 2000,
"offset": 1000
}
}
- Schema
- Example (auto)
Schema
"string"
- Schema
- Example (auto)
Schema
"string"
Forbidden
- application/json
Validation Error
- application/json
- Schema
- Example (auto)
Schema
- Array [
- Array [anyOf
- string
- integer
- ]
- ]
detail object[]
loc object[]required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string",
"ctx": {}
}
]
}
Request rejected because the identity or team exceeded a configured monthly or per-minute usage quota. When available, the response includes rate-limit headers describing the current quota.
Response Headers
Configured quota limit for the resource that was exceeded.
Remaining quota before the limit is reached. This is 0 when the request is rejected.
Number of seconds left in the current quota period before usage resets.
- application/json
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- postman-cli
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.devalgoseek.com/api/v1/data/us-equity-opt/opt-trades/:trade_date/:ticker");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("X-API-KEY", "<X-API-KEY>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Click the Send API Request button above and see the response here!