Forbes API: Get company rankings
Finds a Forbes company profile by name and returns its Forbes list rankings, company facts and headline financial figures (Forbes list years; market value from the matching Global 2000 list).
Unofficial. Not affiliated with or endorsed by Forbes.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Company, required
company Company name, for example Microsoft.
Microsoft
Input as JSON
{ "company": "Microsoft"}Output
{ "ceo": "Satya Nadella", "currency": "USD", "industry": "IT Software & Services", "employees": 228000, "company_name": "Microsoft", "founded_year": 1975, "list_rankings": [ { "rank": 4, "year": 2026, "list_link": "https://www.forbes.com/best-employers-for-tech-workers/" , "list_name": "America's Best Employers for Tech Workers" }, { "rank": 13, "year": 2026, "list_link": "https://www.forbes.com/innovative-large-companies/" , "list_name": "America's Most Innovative Large Companies" }, { "rank": null, "year": 2026, "list_link": "https://www.forbes.com/best-employers-by-state/" , "list_name": "America's Best Employers By State" } ], "financial_year": 2026, "headquarters_city": "Redmond", "assets_billion_usd": 694.2, "profit_billion_usd": 125.2, "forbes_company_link": "https://www.forbes.com/companies/microsoft/" , "revenue_billion_usd": 318.3, "headquarters_country": "United States", "market_value_billion_usd": 3134.203}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"forbes.com/get_company_rankings","input":{"company":"Microsoft"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "forbes.com/get_company_rankings" , "input": { "company": "Microsoft" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "forbes.com/get_company_rankings" , "input": { "company": "Microsoft" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run forbes.com/get_company_rankings# with {"company":"Microsoft"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "company" ], "properties": { "company": { "type": "string", "description": "Company name, for example Microsoft." } }, "additionalProperties": false}Output schema
{ "type": "object", "required": [ "company_name", "list_rankings", "revenue_billion_usd", "profit_billion_usd", "assets_billion_usd", "market_value_billion_usd", "financial_year", "currency", "employees", "ceo", "headquarters_city", "headquarters_country", "industry", "founded_year", "forbes_company_link" ], "properties": { "ceo": { "type": [ "string", "null" ], "description": "Chief executive officer." }, "currency": { "type": "string", "description": "Currency code for the financial figures." }, "industry": { "type": [ "string", "null" ], "description": "Forbes industry." }, "employees": { "type": [ "integer", "null" ], "description": "Employee count." }, "company_name": { "type": "string", "description": "Name shown on Forbes." }, "founded_year": { "type": [ "integer", "null" ], "description": "Year founded." }, "list_rankings": { "type": "array", "items": { "type": "object", "required": [ "list_name", "year", "rank", "list_link" ], "properties": { "rank": { "type": [ "integer", "null" ] }, "year": { "type": [ "integer", "null" ] }, "list_link": { "type": [ "string", "null" ] }, "list_name": { "type": "string" } }, "additionalProperties": false }, "description": "Forbes list appearances, including unranked appearances." }, "financial_year": { "type": [ "integer", "null" ], "description": "Forbes list year for the financial figures; not necessarily the fiscal year-end." }, "headquarters_city": { "type": [ "string", "null" ], "description": "Headquarters city." }, "assets_billion_usd": { "type": [ "number", "null" ], "description": "Forbes assets in billions of US dollars." }, "profit_billion_usd": { "type": [ "number", "null" ], "description": "Forbes profit in billions of US dollars." }, "forbes_company_link": { "type": "string", "description": "Forbes company profile page." }, "revenue_billion_usd": { "type": [ "number", "null" ], "description": "Forbes revenue in billions of US dollars." }, "headquarters_country": { "type": [ "string", "null" ], "description": "Headquarters country." }, "market_value_billion_usd": { "type": [ "number", "null" ], "description": "Global 2000 market value in billions of US dollars for the financial list year." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
forbes.com/get_company_rankings- Returns
- list rankings, revenue, profit, assets, market value, employees, CEO, headquarters, industry, founded year, profile link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method forbes.com/get_company_rankings with the inputs above.
Ask your agent
- Where does Toyota rank on the Forbes Global 2000, and what are its revenue, profit and market value?
- Pull up Forbes' profile for Nvidia: list rankings, CEO, headquarters and employee count
- How many employees does Samsung Electronics have, and who runs it? I'd also like its total assets and the year it was founded.
- Which big company lists does JPMorgan Chase appear on, and at what positions? Include the latest market value figure.
- Give me Saudi Aramco's headline financials (sales, profits, assets) plus its industry and a link to the profile.
See more
All Forbes methodsLists companies in the Forbes Global 2000 in rank order, optionally for a given year, country of headquarters and industry. Financial figures are in billions of US dollars; up to 500 results.
forbes.com/list_global_2000Lists the richest people in rank order from Forbes Real-Time Billionaires, with net worth, daily change and profile details. Filter by country of citizenship or industry; wealth and changes are in billions of US dollars.
forbes.com/list_billionairesLooks up a billionaire by name on the Forbes real-time billionaires list and returns their real-time net worth, today's change, rank and public profile details. Wealth figures change throughout the trading day.
forbes.com/get_person_net_worthGets a company's Fortune 500 or Fortune 1000 rank and headline figures for a list year. CEO, ticker and website come from the current company profile and may not reflect a historical year.
fortune.com/get_company_rankLists the Fortune 500 for a year. You can filter by industry or sector and by headquarters state. Each company comes with its public financial and company details.
fortune.com/list_fortune_500Gets the public overview of a LinkedIn company from its name or company page link. Details not shown publicly are null.
linkedin.com/get_company_profileLooks up a public company's size, financial figures and completed-year market-cap history from its name or ticker.
companiesmarketcap.com/get_company_sizeRanks public companies worldwide, or by country and industry, by market cap, revenue, earnings, employees or dividend yield. When both a country and an industry are set, the industry ranking order is kept and only companies from that country are shown.
companiesmarketcap.com/list_largest_companies