Access Token·InactiveLog in to your Public account to generate your access code.
Instrument Details
Get instrument
GET/userapigateway/trading/instruments/{symbol}/{type}
Parameters
Path Parameters
string
string
Parameters
Name | Type | Required | Description |
---|---|---|---|
symbol | string | Yes | - |
type | string | Yes | - |
Body
application/jsonNo request body defined
Responses
Response
200
application/json
instrumentrequired
tradingenum<string>required
Available options:
BUY_AND_SELL
,LIQUIDATION_ONLY
,DISABLED
fractionalTradingenum<string>required
Available options:
BUY_AND_SELL
,LIQUIDATION_ONLY
,DISABLED
optionTradingenum<string>required
Available options:
BUY_AND_SELL
,LIQUIDATION_ONLY
,DISABLED
optionSpreadTradingenum<string>required
Available options:
BUY_AND_SELL
,LIQUIDATION_ONLY
,DISABLED
curl --request GET \
--url https://api.public.com/userapigateway/trading/instruments/{symbol}/{type} \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"instrument": {
"symbol": "string",
"type": "EQUITY"
},
"trading": "BUY_AND_SELL",
"fractionalTrading": "BUY_AND_SELL",
"optionTrading": "BUY_AND_SELL",
"optionSpreadTrading": "BUY_AND_SELL"
}
The Public Individual API is for your own personal, non-commercial use. Unauthorized access is prohibited. You are responsible for all trades made via the API. Learn more