GET
/v2/stocks/last/{ticker}
Stocks Last Quote
Retrieve the most recent quote (bid/ask/last) for a stock ticker.
Endpoint Details
| HTTP Method |
GET |
| Path |
/v2/stocks/last/{ticker} |
| Version |
v2 |
| Minimum Plan |
free |
Path Parameters
| Parameter |
Required |
Description |
Example |
ticker |
Required |
The stock ticker symbol (e.g., AAPL, MSFT) |
AAPL |
Query Parameters
| Parameter |
Type |
Required |
Description |
api_key |
string |
Required |
Your API key for authentication |
limit |
integer |
Optional
|
Maximum number of results to return |
sort |
string |
Optional
|
Sort order (asc or desc) |
Example Request
curl "https://mail.tradeiqai.com/api/v2/stocks/last/AAPL?api_key=YOUR_API_KEY"
Note: Replace YOUR_API_KEY with your actual API key.
Response Attributes
| Attribute |
Type |
Description |
ok | boolean | Indicates if the request was successful (e.g., 1) |
Example Response
{
"ok": true,
"data": {
"ticker": "AAPL",
"last_trade_price": 275.3999999999999772626324556767940521240234375,
"previous_close": 273.68000000000000682121026329696178436279296875,
"previous_close_date": "2026-02-10",
"bid_price": 275.3999999999999772626324556767940521240234375,
"bid_size": 1,
"ask_price": 275.43000000000000682121026329696178436279296875,
"ask_size": 200,
"quote_ts": "2026-02-11 15:22:59",
"fetched_dt": "2026-02-11 15:22:59"
}
}