Code Snippets
curl "https://financialdata.net/api/v1/key-metrics?identifier=MA&key=API_KEY"import requests
url = 'https://financialdata.net/api/v1/key-metrics?identifier=MA&key=API_KEY'
response = requests.get(url)
print(response.json())
const url = 'https://financialdata.net/api/v1/key-metrics?identifier=MA&key=API_KEY';
const response = await fetch(url);
const data = await response.json();
console.log(data);
Sample Response
[
{
"trading_symbol": "MA",
"central_index_key": "0001141391",
"registrant_name": "Mastercard Inc",
"fiscal_year": "2025",
"period_end_date": "2025-12-31",
"earnings_per_share": 16.54,
"earnings_per_share_forecast": 19.9,
"price_to_earnings_ratio": 34.5151148730351,
"forward_price_to_earnings_ratio": 28.6874371859296,
"earnings_growth_rate": 18.9072609633357,
"price_earnings_to_growth_ratio": 1.82549523910235,
"book_value_per_share": 8.55911602209945,
"price_to_book_ratio": 66.698476633101,
"ebitda": 19811000000.0,
"enterprise_value": 525080400000.0,
"dividend_yield": 0.00549698981740703,
"dividend_payout_ratio": 0.189738107963656,
"debt_to_equity_ratio": 2.45573219594158,
"capital_expenditures": 1308000000.0,
"free_cash_flow": 16340000000.0,
"return_on_equity": 1.93459997415019,
"one_year_beta": 0.752930021002344,
"three_year_beta": 0.75598537251707,
"five_year_beta": 0.955321363870656
},
...
]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
The API endpoint returns key financial metrics such as price-to-earnings ratio, price-to-book ratio, free cash flow, etc. This information is particularly important for value investors looking to identify undervalued stocks. Data is available for several thousand US and international companies.
Company Profile
Mastercard Inc
NYSE: MA- Market Cap:$505.00B
- ISIN:US57636Q1040
- Fiscal Year End:12/31
- CEO:Michael Miebach
- Employees:39800
Mastercard Inc. (stylized as MasterCard from 1979 to 2016 and as mastercard since 2016) is an American multinational payment card services corporation headquartered in Purchase, New York. It provides payment transaction processing and other related-payment services, including travel-related payments and bookings). Its principal business globally is to process payments between the banks of merchants and the card-issuing banks or credit unions of purchasers who use its branded debit, credit and prepaid cards to make purchases. Mastercard has been publicly traded since 2006.