Introduction

The ORATS API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and to use HTTP response codes to indicate API success and errors. You can use our API to access options data in our database.

Authentication

All requests must be sent with a valid token parameter in the URL with your secret token.

Get your API token here.

If you need help with your token, email us at support@orats.com.

Example Request

curl -L "https://api.orats.io/datav2/cores?token=your-secret-token&ticker=AAPL"

Data Format

Get data in JSON or CSV format by passing in the extension of the format type. The default type is JSON.

Example JSON request

curl -L "https://api.orats.io/datav2/cores?token=your-secret-token&ticker=AAPL"

curl -L "https://api.orats.io/datav2/cores.json?token=your-secret-token&ticker=AAPL"

Example CSV request

curl -L "https://api.orats.io/datav2/cores.csv?token=your-secret-token&ticker=AAPL"