companiesmarketcap

Scrape financial rankings, historical market cap, and ETF holdings from CompaniesMarketCap.

173|28|Updated Jun 2, 2026
One-click install
npx skills add https://github.com/gauss314/skills --skill companiesmarketcap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: companiesmarketcap
Source: https://github.com/gauss314/skills/tree/main/skills/companiesmarketcap
Command: npx skills add https://github.com/gauss314/skills --skill companiesmarketcap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, beautifulsoup4, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the difficulty of accessing structured financial data, such as market capitalization, earnings, and ETF holdings, without relying on expensive or restrictive proprietary APIs.

Core Features & Use Cases

  • Financial Rankings: Retrieve comprehensive lists of companies ranked by market cap, revenue, P/E ratio, and other key metrics.
  • Historical Data: Access multi-year market capitalization history for individual stocks.
  • ETF Intelligence: Extract detailed holdings and composition data for global ETFs.
  • Use Case: A researcher can use this to generate a list of the top 50 most profitable companies by earnings and export the data directly to a JSON file for further analysis.

Quick Start

Use the companiesmarketcap skill to fetch the current market cap ranking for the top 10 companies and save the output to a file named rankings.json.

Frequently Asked Questions about companiesmarketcap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape company market cap rankings without a paid financial API?

You can extract company market cap rankings without a paid financial API by using Python requests and BeautifulSoup to parse HTML and CSV data from the CompaniesMarketCap platform, providing programmatic access to structured financial data for free.

Can I get historical market capitalization data for individual stocks using web scraping?

Yes, you can retrieve historical market capitalization data for individual stocks using web scraping. The skill extracts multi-year market cap history directly from the platform's HTML content, enabling data-driven investment research.

What's the best way to extract ETF holdings data for financial analysis?

The best way to extract ETF holdings data for financial analysis is using a Python script with requests and BeautifulSoup to scrape composition data from the platform, avoiding restrictive proprietary APIs and outputting structured data.

Does web scraping financial data with Python handle rate limiting?

Yes, web scraping financial data with Python can handle rate limiting. The skill implements rate limiting during requests to ensure reliable data retrieval from the platform without overwhelming the server or getting blocked.

How do I export scraped stock financial data to a JSON file?

To export scraped stock financial data to a JSON file, you run the skill's script to fetch the desired metrics, such as top company rankings by earnings. The parsed data is then saved directly to a file like rankings.json for further analysis.

What financial metrics can I retrieve by scraping the CompaniesMarketCap platform?

By scraping the CompaniesMarketCap platform, you can retrieve comprehensive financial metrics including market capitalization, revenue, P/E ratio, and earnings. This data is parsed from HTML and CSV content for investment research.