v1
GET /v1/options/lookup/{userInput}/
Changed onGenerate a properly formatted OCC option symbol based on the user's human-readable description of an option. This endpoint converts text such as "AAPL 7/26/23 $200 Call" to OCC option symbol format: AAPL230726C00200000. The user input must be URL-encoded.
Request
- Base URLhttps://api.marketdata.app (the document declares no server; this is the origin it was published from)
- Auth
- API key in query parameter token
- or HTTP bearer
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userInputstring required
The human-readable string input that contains (1) stock symbol (2) strike (3) expiration date (4) option side (i.e. put or call). This endpoint will translate the user's input into a valid OCC option symbol.
Query parameters
format'csv' | 'json'
Response
object required
Changes
- info
the endpoint scheme security
JWT Authenticationwas added to the API
- info