Code Snippets
curl "https://financialdata.net/api/v1/market-cap?identifier=O&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/market-cap?identifier=O&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/market-cap?identifier=O&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "O",
"central_index_key": "0000726728",
"registrant_name": "REALTY INCOME CORP",
"fiscal_year": "2025",
"market_cap": 52600000000.0,
"change_in_market_cap": 6700000000.0,
"percentage_change_in_market_cap": 14.5969498910675,
"shares_outstanding": 932440218,
"change_in_shares_outstanding": 40924057,
"percentage_change_in_shares_outstanding": 4.59038868730053
},
...
]Query Parameters
| Name | Type | Description |
|---|---|---|
| identifier | string | The trading symbol for a security, or the central index key (CIK). The latter is assigned to the entity by the United States Securities and Exchange Commission. (e.g., MSFT, 0000789019) |
| format | string | (Optional) The format of the returned data, either JSON or CSV. Defaults to JSON. (e.g., json, csv) |
Endpoint Overview
Market capitalization, or market cap, is the total value of a company's outstanding common shares held by investors. Market cap is calculated by multiplying the market price per common share by the total number of common shares outstanding. Our API provides historical market cap data for a few thousand companies.
Company Profile
REALTY INCOME CORP
NYSE: O- Market Cap:$52.60B
- ISIN:US7561091049
- Fiscal Year End:12/31
- Employees:418
Realty Income Corporation is a real estate investment trust that invests in free-standing, single-tenant commercial properties in the United States, the United Kingdom, and six other countries in Europe. These properties are subject to NNN Leases. The company is organized in Maryland with its headquarters in San Diego, California.
O Datasets
O Stock QuotesO Stock PricesO Minute PricesO Company InformationO Key MetricsO Employee CountO Executive CompensationO Income StatementsO Balance Sheet StatementsO Cash Flow StatementsO Insider TransactionsO Senate TradingO Institutional HoldingsO Analyst ConsensusO Earnings ReleasesO Stock SplitsO DividendsO Short Interest