Skip to content

Available Markets API

Retrieve a list of all markets supported by the FinBrain API. Use this endpoint to discover available markets before querying for specific tickers.

GET /v2/markets

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

MethodExample
Bearer token (recommended)Authorization: Bearer YOUR_API_KEY
X-API-Key headerX-API-Key: YOUR_API_KEY
Query parameter?apiKey=YOUR_API_KEY
Legacy query parameter?token=YOUR_API_KEY

This endpoint has no path or query parameters (aside from authentication).

from finbrain import FinBrainClient
fb = FinBrainClient(api_key="YOUR_API_KEY")
markets = fb.available.markets(as_dataframe=True)
print(markets)
{
"success": true,
"data": {
"markets": [
{ "name": "S&P 500", "region": "US" },
{ "name": "NASDAQ", "region": "US" },
{ "name": "DOW 30", "region": "US" },
{ "name": "UK FTSE 100", "region": "UK" },
{ "name": "Germany DAX", "region": "DE" },
{ "name": "Crypto Currencies", "region": "Global" },
{ "name": "Foreign Exchange", "region": "Global" }
]
},
"meta": { "timestamp": "2026-01-19T15:05:55.187Z" }
}
FieldTypeDescription
successbooleanWhether the request was successful
dataobjectResponse data wrapper
data.marketsarrayList of available market objects
data.markets[].namestringMarket name (use this value in other API calls)
data.markets[].regionstringGeographic region of the market
metaobjectResponse metadata
meta.timestampstringISO 8601 timestamp of the response
Market NameRegion
DOW 30US
S&P 500US
NASDAQUS
NYSEUS
ETFsUS
UK FTSE 100UK
Germany DAXDE
Canada TSXCanada
Australia ASXAustralia
HK Hang SengHong Kong
Mexico BMVMexico
Foreign ExchangeGlobal
CommoditiesGlobal
Crypto CurrenciesGlobal
Index FuturesGlobal
Tadawul TASISaudi Arabia
Russia MOEXRussia
Brazil BOVESPABrazil
Tel Aviv TASEIsrael
OTC MarketUS

Use the markets endpoint to dynamically build a market selector:

import requests
headers = {"Authorization": "Bearer YOUR_API_KEY"}
# Get available markets
response = requests.get("https://api.finbrain.tech/v2/markets", headers=headers)
result = response.json()
# Build market selector
print("Available Markets:")
for i, market in enumerate(result["data"]["markets"], 1):
print(f" {i}. {market['name']} ({market['region']})")
# Use a selected market to get tickers
selected_market = result["data"]["markets"][0]["name"]
tickers_resp = requests.get(
"https://api.finbrain.tech/v2/tickers",
headers=headers,
params={"market": selected_market, "type": "daily"}
)
tickers = tickers_resp.json()
print(f"\n{selected_market} tickers: {len(tickers['data']['tickers'])}")
CodeErrorDescription
401UnauthorizedInvalid or missing API key
500Internal Server ErrorServer-side error