Senior
GET /symbol_search/v3/ get list of symbols by condition Parameters origin * required string (header) The header "origin: www.tradingview.com" is mandatory, otherwise it will return 403 Available values: www.tradingview.com domain string (query) Domain for search (leave empty for search within tradingview domain) text string Search string. Looks for matches in fields
sobes.tech AI
Answer from AI
To obtain a list of symbols based on a condition via GET /symbol_search/v3/, it is necessary to include the mandatory header origin with the value www.tradingview.com. Without this header, the server will return a 403 error.
Request parameters:
origin(header, mandatory):www.tradingview.comdomain(query, optional): domain to search in. If you want to search in the tradingview domain, leave it empty.text(query, optional): search string that looks for matches in symbol fields.
Example of a curl request:
curl -H "origin: www.tradingview.com" \
"https://api.example.com/symbol_search/v3/?domain=&text=apple"
The response will be a list of symbols that match the search condition.