Leetcode Global Ranking Scraper
Pricing
from $2.99 / 1,000 results
Leetcode Global Ranking Scraper
This Actor collects global contest leaderboard standings and competitive programming metrics from LeetCode based on page ranges or user limits. It extracts global ranks, usernames, profile URLs
Pricing
from $2.99 / 1,000 results
Rating
0.0
(0)
Developer
ZeroBreak
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
17 hours ago
Last modified
Categories
Features
Share
LeetCode Global Ranking Scraper — Collect Contest Leaderboard and Public Profile Data

Collect publicly available LeetCode global contest ranking data. Extract usernames, global ranking positions, contest ratings, regions, and public profile information to build leaderboard datasets and monitor competitive programming performance.
Features
- Collect public global contest leaderboard records
- Extract usernames and global ranking positions
- Capture current contest ratings
- Retrieve leaderboard region codes
- Collect public profile details such as avatars, country codes, and display names
- Include community reputation scores
- Configure the maximum number of records to collect
- Export results in JSON, CSV, or Excel
What Data Does This Actor Extract?
| Field | Description |
|---|---|
id | Username used as a stable deduplication key |
username | Public LeetCode username |
currentGlobalRanking | Current global ranking position |
currentRating | Current contest rating |
dataRegion | Region code from the leaderboard |
userAvatar | Public avatar image URL |
countryCode | Country code from the public profile |
realName | Public display name, when available |
reputation | Community reputation score |
rankingPosition | Ranking position from the leaderboard record |
scrapedAt | ISO timestamp indicating when the record was saved |
Use Cases
- Competitive programming dashboards: Track highly rated LeetCode users and their rankings.
- Recruiting research: Filter leaderboard records by country code and region.
- Rising talent monitoring: Build recurring lists of competitive programming performers.
- Leaderboard tracking: Monitor ranking positions and contest ratings over time.
- Profile research: Organize publicly available usernames and profile information.
How to Run
- Open the Actor and configure
maxItemsandrequestTimeoutSecs. - Start the run.
- Open the dataset and download the results in JSON, CSV, or Excel format.
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
maxItems | Integer | No | 3 | Maximum number of leaderboard records to save. Maximum: 1000 |
requestTimeoutSecs | Integer | No | 30 | Timeout in seconds for each request |
Example Input
{"maxItems": 3,"requestTimeoutSecs": 30}
Example Output
{"id": "example_user","username": "example_user","currentGlobalRanking": 1,"currentRating": 3800,"dataRegion": "US","userAvatar": "https://assets.leetcode.com/algo_avatar/example.png","countryCode": "US","realName": "Example User","reputation": 100,"rankingPosition": 1,"scrapedAt": "2026-11-15T00:00:00+00:00"}
Frequently Asked Questions
How many records can one run collect?
The Actor collects up to the configured maxItems value, with a maximum of 1000 records per run.
Do I need a LeetCode login?
No. The Actor collects publicly available leaderboard and profile information.
Does this include private account data?
No. It only collects fields available through the public global ranking leaderboard and public profile information.
Can I schedule recurring runs?
Yes. You can configure recurring runs using Apify schedules and use the resulting datasets for leaderboard monitoring and reporting.
Disclaimer
This Actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or officially associated with LeetCode or its owners. It collects publicly available information. Users are responsible for ensuring their use of collected data complies with applicable laws and the source website's terms.
Is Web Scraping Legal?
Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.
This actor collects information from public pages. It does not log in and it does not bypass access controls.
For a longer explanation, see Apify's article Is web scraping legal?.