Fortune API: Get company Fortune 500 rank
Gets 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.
Unofficial. Not affiliated with or endorsed by Fortune.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Year optional
year List year, for example 2025. Omit for the latest available list.
Not set
Whole number.
- Company, required
company Company name, for example Walmart.
Walmart
Input as JSON
{ "company": "Walmart"}Output
{ "ceo": "John R. Furner", "year": 2026, "sector": "Retailing", "ticker": "WMT", "company": "Walmart", "website": "https://www.stock.walmart.com" , "industry": "General Merchandisers", "employees": 2100000, "rank_last_year": 1, "rank_this_year": 2, "headquarters_city": "Bentonville", "headquarters_state": "Arkansas", "assets_millions_usd": 284668, "profit_millions_usd": 21893, "fortune_profile_link": "https://fortune.com/company/walmart/" , "revenue_millions_usd": 713163, "revenue_change_percent": 4.7, "market_value_millions_usd": 990810.2}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"fortune.com/get_company_rank","input":{"company":"Walmart"}}' # 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": "fortune.com/get_company_rank" , "input": { "company": "Walmart" }})# 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": "fortune.com/get_company_rank" , "input": { "company": "Walmart" } }), 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 fortune.com/get_company_rank# with {"company":"Walmart"}"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": { "year": { "type": "integer", "description": "List year, for example 2025. Omit for the latest available list." }, "company": { "type": "string", "minLength": 1, "description": "Company name, for example Walmart." } }}Output schema
{ "type": "object", "required": [ "company", "year", "rank_this_year", "fortune_profile_link" ], "properties": { "ceo": { "type": [ "string", "null" ] }, "year": { "type": "integer" }, "sector": { "type": [ "string", "null" ] }, "ticker": { "type": [ "string", "null" ] }, "company": { "type": "string" }, "website": { "type": [ "string", "null" ] }, "industry": { "type": [ "string", "null" ] }, "employees": { "type": [ "integer", "null" ] }, "rank_last_year": { "type": [ "integer", "null" ] }, "rank_this_year": { "type": "integer" }, "headquarters_city": { "type": [ "string", "null" ] }, "headquarters_state": { "type": [ "string", "null" ] }, "assets_millions_usd": { "type": [ "number", "null" ] }, "profit_millions_usd": { "type": [ "number", "null" ] }, "fortune_profile_link": { "type": "string" }, "revenue_millions_usd": { "type": [ "number", "null" ] }, "revenue_change_percent": { "type": [ "number", "null" ] }, "market_value_millions_usd": { "type": [ "number", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
fortune.com/get_company_rank- Returns
- rank, previous rank, revenue, profit, assets, market value, employees, CEO, headquarters, sector, industry, ticker, website
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 fortune.com/get_company_rank with the inputs above.
Ask your agent
- What rank did Walmart hold on the Fortune 500 list in 2025, and what were its revenue and profit?
- Look up Amazon's Fortune 500 ranking for the most recent list, including previous rank and employee count.
- Find Exxon Mobil's Fortune 1000 position and market value for the 2023 list year.
- How did Apple's Fortune 500 rank and total assets compare to the prior year's list on fortune.com?
- Show me Berkshire Hathaway's headline figures and headquarters from the 2024 Fortune 500.
See more
All Fortune methodsLists 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_500Finds 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).
forbes.com/get_company_rankingsLists 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_2000Ranks 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_companiesLooks up a public company's size, financial figures and completed-year market-cap history from its name or ticker.
companiesmarketcap.com/get_company_sizeLooks up a company by name or ticker on Yahoo Finance and returns its latest news headlines, with article summaries when the article page provides one.
finance.yahoo.com/get_company_newsLooks up a public company by name or ticker on SEC EDGAR and returns its reported annual or quarterly financial figures from XBRL company facts. Quarterly flows are derived from year-to-date totals when no quarterly figure is filed. Unavailable figures are null.
sec.gov/get_company_financialsGets a company's quarterly or annual income statement, balance sheet or cash flow lines from its Google Finance quote page, with exact reported amounts and year-over-year changes.
google.com/get_company_financials