Get Equity
getInstrumentsEquitiesSymbol/instruments/equities/{symbol}Base URL: https://api.cert.tastyworks.com (Sandbox) · https://api.tastyworks.com (Production)
Returns a single equity definition for the provided symbol (e.g. `AAPL`).
Code samples
curl -X GET 'https://api.cert.tastyworks.com/instruments/equities/AAPL' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-H 'User-Agent: tastytrade-docs-example/1.0'import requests
url = "https://api.cert.tastyworks.com/instruments/equities/AAPL"
headers = {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"User-Agent": "tastytrade-docs-example/1.0",
}
resp = requests.get(url, headers=headers)
print(resp.status_code, resp.json())const resp = await fetch("https://api.cert.tastyworks.com/instruments/equities/AAPL", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"User-Agent": "tastytrade-docs-example/1.0",
},
})
const data = await resp.json()
console.log(resp.status, data)package main
import (
"net/http"
"io"
"fmt"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.cert.tastyworks.com/instruments/equities/AAPL", nil)
req.Header.Set("Authorization", "Bearer YOUR_ACCESS_TOKEN")
req.Header.Set("User-Agent", "tastytrade-docs-example/1.0")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
out, _ := io.ReadAll(resp.Body)
fmt.Println(resp.Status, string(out))
}import java.net.URI;
import java.net.http.*;
HttpClient client = HttpClient.newHttpClient();
HttpRequest req = HttpRequest.newBuilder()
.uri(URI.create("https://api.cert.tastyworks.com/instruments/equities/AAPL"))
.header("Authorization", "Bearer YOUR_ACCESS_TOKEN")
.header("User-Agent", "tastytrade-docs-example/1.0")
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse<String> resp = client.send(req, HttpResponse.BodyHandlers.ofString());
System.out.println(resp.statusCode() + " " + resp.body());Parameters
| Name | In | Type | Description |
|---|---|---|---|
| symbol* | path | string | The symbol of the equity, i.e. `AAPL` e.g. "AAPL" |
Responses
Example response
{
"data": {
"active": true,
"borrow-rate": "0.0",
"bypass-manual-review": true,
"country-of-incorporation": "string",
"country-of-taxation": "string",
"description": "APPLE INC",
"halted-at": "2024-01-15T14:30:00.000Z",
"instrument-sub-type": "Index",
"instrument-type": "Equity",
"is-closing-only": false,
"is-etf": false,
"is-fractional-quantity-eligible": true,
"is-illiquid": false,
"is-index": false,
"is-options-closing-only": false,
"lendability": "Easy To Borrow",
"listed-market": "XNAS",
"market-time-instrument-collection": "Equity",
"overnight-trading-permitted": true,
"short-description": "APPLE INC",
"stops-trading-at": "2024-01-15T14:30:00.000Z",
"streamer-symbol": "AAPL",
"symbol": "AAPL",
"underlying-product-type": "string",
"option-tick-sizes": [
{
"value": "0.01",
"threshold": "3.0"
},
{
"value": "0.05"
}
],
"tick-sizes": [
{
"value": "0.0001",
"threshold": "1.0"
},
{
"value": "0.01"
}
],
"id": 726,
"cusip": "037833100"
},
"context": "/instruments/equities/{symbol}"
}Schema
datarequiredobject (Equity)An equity instrument (common stock, ETF, or index) identified by its ticker symbol.
activebooleanWhether the equity is currently active and tradeable.
example:
trueborrow-ratestring <decimal>Current rate charged to borrow shares for short selling. Decimal value serialized as a JSON string (e.g. "150.25").
example:
"0.0"bypass-manual-reviewbooleancountry-of-incorporationstringcountry-of-taxationstringdescriptionstringFull company or fund description.
example:
"APPLE INC"halted-atstring <date-time>instrument-sub-typestringOptional sub-classification of the equity instrument.
example:
"Index"instrument-typestringInstrument type discriminator; always `Equity` for this model.
example:
"Equity"is-closing-onlybooleanWhether the equity is restricted to closing transactions only.
example:
falseis-etfbooleanWhether the equity is an exchange-traded fund.
example:
falseis-fractional-quantity-eligiblebooleanWhether the equity can be traded in fractional share quantities.
example:
trueis-illiquidbooleanWhether the equity is flagged as illiquid.
example:
falseis-indexbooleanWhether the equity is an index instrument.
example:
falseis-options-closing-onlybooleanWhether options on this equity are restricted to closing transactions only.
example:
falselendabilitystringBorrowing classification for short selling: `Easy To Borrow`, `Locate Required`, or `Preborrow`.
example:
"Easy To Borrow"listed-marketstringMarket identifier code (MIC) of the listing exchange.
example:
"XNAS"market-time-instrument-collectionstringMarket-time collection used to determine trading hours for the instrument.
example:
"Equity"overnight-trading-permittedbooleanshort-descriptionstringShort human-readable name for the equity.
example:
"APPLE INC"stops-trading-atstring <date-time>streamer-symbolstringSymbol used to subscribe to market data on the DXLink streamer.
example:
"AAPL"symbolstringThe equity ticker symbol (e.g. `AAPL`).
example:
"AAPL"underlying-product-typestringoption-tick-sizesarray<object>{3 fields}Tick sizes for options on the equity.
example:
[{"value":"0.01","threshold":"3.0"},{"value":"0.05"}]tick-sizesarray<object>{3 fields}Tick sizes for the equity. Each entry gives a tick `value` and, when the tick applies only below a price level, a `threshold`.
example:
[{"value":"0.0001","threshold":"1.0"},{"value":"0.01"}]idintegerUnique numeric identifier of the equity instrument.
example:
726cusipstringCUSIP identifier of the equity.
example:
"037833100"
contextrequiredstringexample:
"/instruments/equities/{symbol}"
Example response
{
"error": {
"code": "unauthorized",
"message": "No valid access token was provided; access tokens expire after 15 minutes."
}
}Schema
errorrequiredobjectcoderequiredstringMachine-readable error code (see the Error reference).
messagerequiredstringHuman-readable explanation.
errorsarray<object>{3 fields}Present for multi-error / validation failures; one entry per problem.
Example response
{
"error": {
"code": "string",
"message": "string",
"errors": [
{
"code": "string",
"message": "string",
"domain": "string"
}
]
}
}Schema
errorrequiredobjectcoderequiredstringMachine-readable error code (see the Error reference).
messagerequiredstringHuman-readable explanation.
errorsarray<object>{3 fields}Present for multi-error / validation failures; one entry per problem.
Example response
{
"error": {
"code": "string",
"message": "string",
"errors": [
{
"code": "string",
"message": "string",
"domain": "string"
}
]
}
}Schema
errorrequiredobjectcoderequiredstringMachine-readable error code (see the Error reference).
messagerequiredstringHuman-readable explanation.
errorsarray<object>{3 fields}Present for multi-error / validation failures; one entry per problem.
Related
- Rate-limit class:
read· idempotent — Rate limits & backoff - Error reference — codes, causes, and fixes
Agents: this page is also Markdown (with the embedded OpenAPI definition) — append .md or send Accept: text/markdown. Index at /llms.txt.