Skip to content

Available Tickers API

Retrieve a list of all tickers that have predictions available. Use query parameters to filter by prediction type, market, or region.

GET /v2/tickers

Authenticate using one of the following methods (in order of recommendation):

Method Example
Bearer token (recommended) Authorization: Bearer YOUR_API_KEY
X-API-Key header X-API-Key: YOUR_API_KEY
Query parameter ?apiKey=YOUR_API_KEY
Legacy query parameter ?token=YOUR_API_KEY
Parameter Type Required Description
type string No Prediction type: daily or monthly
market string No Filter by market name (e.g., S&P 500, NASDAQ)
region string No Filter by region (e.g., US, Global)
limit integer No Limit the number of results returned
from finbrain import FinBrainClient
fb = FinBrainClient(api_key="YOUR_API_KEY")
# Get daily prediction tickers
df = fb.available.tickers("daily", market="S&P 500",
as_dataframe=True)
print(df)
{
"success": true,
"data": {
"tickers": [
{ "symbol": "AAPL", "name": "Apple Inc." },
{ "symbol": "MSFT", "name": "Microsoft Corp." },
{ "symbol": "GOOGL", "name": "Alphabet Inc." }
]
},
"meta": { "timestamp": "2026-01-19T15:05:55.187Z" }
}
Field Type Description
success boolean Whether the request was successful
data object Response data wrapper
data.tickers array List of ticker objects
data.tickers[].symbol string Ticker symbol
data.tickers[].name string Company or asset name
meta object Response metadata
meta.timestamp string ISO 8601 timestamp of the response
Type Description Forecast Horizon
daily Daily price predictions 10 trading days
monthly Monthly price predictions 12 months
import requests
headers = {"Authorization": "Bearer YOUR_API_KEY"}
def is_ticker_available(ticker, pred_type="daily"):
"""Check if a ticker has predictions available"""
response = requests.get(
"https://api.finbrain.tech/v2/tickers",
headers=headers,
params={"type": pred_type}
)
tickers = response.json()["data"]["tickers"]
symbols = [t["symbol"] for t in tickers]
return ticker.upper() in symbols
# Check if AAPL has daily predictions
if is_ticker_available("AAPL", "daily"):
print("AAPL has daily predictions available")
else:
print("AAPL does not have predictions")
import requests
headers = {"Authorization": "Bearer YOUR_API_KEY"}
# Get S&P 500 tickers directly via query parameter
response = requests.get(
"https://api.finbrain.tech/v2/tickers",
headers=headers,
params={"type": "daily", "market": "S&P 500"}
)
sp500_tickers = response.json()["data"]["tickers"]
print(f"S&P 500 tickers: {len(sp500_tickers)}")
# Filter for specific tickers from results
tech_symbols = {"AAPL", "MSFT", "GOOGL", "AMZN", "NVDA", "META"}
tech_tickers = [t for t in sp500_tickers if t["symbol"] in tech_symbols]
print(f"Tech universe: {[t['symbol'] for t in tech_tickers]}")
import requests
headers = {"Authorization": "Bearer YOUR_API_KEY"}
watchlist = ["AAPL", "MSFT", "XYZ123", "GOOGL", "INVALID"]
# Get available tickers
response = requests.get(
"https://api.finbrain.tech/v2/tickers",
headers=headers,
params={"type": "daily"}
)
tickers_data = response.json()["data"]["tickers"]
available = set(t["symbol"] for t in tickers_data)
# Find which watchlist items are available
valid = [t for t in watchlist if t in available]
invalid = [t for t in watchlist if t not in available]
print(f"Valid tickers: {valid}")
print(f"Invalid tickers: {invalid}")
Code Error Description
400 Bad Request Invalid prediction type or query parameters
401 Unauthorized Invalid or missing API key
403 Forbidden Authenticated, but not authorized to access this resource
429 Too Many Requests Rate limit exceeded — wait and retry
500 Internal Server Error Server-side error