---
title: 'Get Symbols'
api: 'GET /api/symbols'
description: 'Retrieves a list of all distinct stock symbols that have been traded'
---
## Endpoint
```
GET /api/symbols
```
## Authentication
Requires OAuth 2.0 authentication via session cookies.
## Parameters
None
## Response
Indicates if the request was successful
List of symbol objects
Stock ticker symbol
Company name or cleaned description
Database source (always "postgresql")
## Example
```bash cURL
curl -X GET https://performance.miningwood.com/api/symbols \
-H "Cookie: session=your_session_cookie"
```
```javascript JavaScript
const response = await fetch('/api/symbols');
const data = await response.json();
if (data.success) {
data.symbols.forEach(item => {
console.log(`${item.symbol}: ${item.company_name}`);
});
}
```
```python Python
import requests
response = requests.get('https://performance.miningwood.com/api/symbols')
data = response.json()
if data['success']:
for symbol in data['symbols']:
print(f"{symbol['symbol']}: {symbol['company_name']}")
```
## Response Example
```json
{
"success": true,
"symbols": [
{
"symbol": "AAPL",
"company_name": "Apple Inc."
},
{
"symbol": "TSLA",
"company_name": "Tesla, Inc."
},
{
"symbol": "MSFT",
"company_name": "Microsoft Corporation"
},
{
"symbol": "NVDA",
"company_name": "NVIDIA Corporation"
}
],
"data_source": "postgresql"
}
```
## Related Endpoints
Get comprehensive trading statistics for all symbols
Get detailed information for a specific symbol