curl --request GET \
--url https://openapi.ainvest.com/open/securities/search \
--header 'Authorization: Bearer <token>'
{
"data": {
"data": [
{
"ticker": "BAC",
"name": "Bank Of America",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpN",
"name": "Bank Of America Pref LL ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpJ",
"name": "Bank Of America Pref 4 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpB",
"name": "Bank Of America Pref GG ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpQ",
"name": "Bank Of America Pref QQ ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpG",
"name": "Bank Of America Pref 1 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpO",
"name": "Bank Of America Pref NN ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpL",
"name": "Bank Of America Pref L",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpP",
"name": "Bank Of America Pref PP ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpS",
"name": "Bank Of America Pref SS ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpL",
"name": "Bank Of America Pref 5 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpM",
"name": "Bank Of America Pref KK ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpE",
"name": "Bank Of America Pref E ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpH",
"name": "Bank Of America Pref 2 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpK",
"name": "Bank Of America Pref HH ADR",
"security_tag": "stock",
"exchange": "NYSE"
}
]
},
"status_code": 0,
"status_msg": "success"
}
Search for US stocks by ticker symbol or company name. Returns a list of matching securities ordered by relevance.
curl --request GET \
--url https://openapi.ainvest.com/open/securities/search \
--header 'Authorization: Bearer <token>'
{
"data": {
"data": [
{
"ticker": "BAC",
"name": "Bank Of America",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpN",
"name": "Bank Of America Pref LL ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpJ",
"name": "Bank Of America Pref 4 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpB",
"name": "Bank Of America Pref GG ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpQ",
"name": "Bank Of America Pref QQ ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpG",
"name": "Bank Of America Pref 1 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpO",
"name": "Bank Of America Pref NN ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpL",
"name": "Bank Of America Pref L",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpP",
"name": "Bank Of America Pref PP ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpS",
"name": "Bank Of America Pref SS ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpL",
"name": "Bank Of America Pref 5 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpM",
"name": "Bank Of America Pref KK ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpE",
"name": "Bank Of America Pref E ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpH",
"name": "Bank Of America Pref 2 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpK",
"name": "Bank Of America Pref HH ADR",
"security_tag": "stock",
"exchange": "NYSE"
}
]
},
"status_code": 0,
"status_msg": "success"
}
{
"data": {
"data": [
{
"ticker": "BAC",
"name": "Bank Of America",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpN",
"name": "Bank Of America Pref LL ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpJ",
"name": "Bank Of America Pref 4 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpB",
"name": "Bank Of America Pref GG ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpQ",
"name": "Bank Of America Pref QQ ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpG",
"name": "Bank Of America Pref 1 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpO",
"name": "Bank Of America Pref NN ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpL",
"name": "Bank Of America Pref L",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpP",
"name": "Bank Of America Pref PP ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpS",
"name": "Bank Of America Pref SS ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpL",
"name": "Bank Of America Pref 5 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpM",
"name": "Bank Of America Pref KK ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpE",
"name": "Bank Of America Pref E ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BMLpH",
"name": "Bank Of America Pref 2 ADR",
"security_tag": "stock",
"exchange": "NYSE"
},
{
"ticker": "BACpK",
"name": "Bank Of America Pref HH ADR",
"security_tag": "stock",
"exchange": "NYSE"
}
]
},
"status_code": 0,
"status_msg": "success"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your key. Get the key here
Search query, can be a stock ticker symbol or part of the company name
Successful response in standard envelope.
The response is of type object
.