
Binance Futures Leaderboard Scraper
- epctex/binance-futures-leaderboard
- Modified
- Users 534
- Runs 104.8k
- Created by
epctex
Unleash the power of Binance Futures Leaderboard Scraper! Gather and analyze top user positions on the largest cryptocurrency exchange. Optimize your coin trading with advanced filtering and sorting features. Gain valuable insights for informed decisions.
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
import { ApifyClient } from 'apify-client';
// Initialize the ApifyClient with API token
const client = new ApifyClient({
token: '<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input = {
"startUrls": [
"https://www.binance.com/en/futures-activity/leaderboard/user/cm?encryptedUid=708A41D98F05FD23F8423AB41514E489",
"https://www.binance.com/en/futures-activity/leaderboard/futures"
],
"maxItems": 20,
"proxy": {
"useApifyProxy": true
}
};
(async () => {
// Run the Actor and wait for it to finish
const run = await client.actor("epctex/binance-futures-leaderboard").call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
console.dir(item);
});
})();