Leetcode Global Ranking Scraper avatar

Leetcode Global Ranking Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Leetcode Global Ranking Scraper

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

ZeroBreak

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 hours ago

Last modified

Categories

Features

Limited permissions

Share

LeetCode Global Ranking Scraper — Collect Contest Leaderboard and Public Profile Data

LeetCode Global Ranking Scraper cover

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?

FieldDescription
idUsername used as a stable deduplication key
usernamePublic LeetCode username
currentGlobalRankingCurrent global ranking position
currentRatingCurrent contest rating
dataRegionRegion code from the leaderboard
userAvatarPublic avatar image URL
countryCodeCountry code from the public profile
realNamePublic display name, when available
reputationCommunity reputation score
rankingPositionRanking position from the leaderboard record
scrapedAtISO 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

  1. Open the Actor and configure maxItems and requestTimeoutSecs.
  2. Start the run.
  3. Open the dataset and download the results in JSON, CSV, or Excel format.

Input Parameters

ParameterTypeRequiredDefaultDescription
maxItemsIntegerNo3Maximum number of leaderboard records to save. Maximum: 1000
requestTimeoutSecsIntegerNo30Timeout 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.

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?.