Google Rank Checker avatar
Google Rank Checker
Try for free

Pay $1.00 for 1,000 results

View all Actors
Google Rank Checker

Google Rank Checker

caprolok/google-rank-checker
Try for free

Pay $1.00 for 1,000 results

Maximize your SEO impact with Google Rank Checker. Effortlessly monitor keyword rankings, analyze competitors, and tailor your strategy for peak online visibility. A must-have tool for smart, data-driven SEO optimization.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "keywords": [
11        "Iphone",
12        "Samsung Galaxy"
13    ],
14    "urls": [
15        "www.apple.com",
16        "www.samsung.com",
17        "www.amazon.com",
18        "www.flipkart.com",
19        "www.croma.com",
20        "www.gadgetsnow.com",
21        "www.tomsguide.com",
22        "www.91mobiles.com"
23    ]
24};
25
26(async () => {
27    // Run the Actor and wait for it to finish
28    const run = await client.actor("caprolok/google-rank-checker").call(input);
29
30    // Fetch and print Actor results from the run's dataset (if any)
31    console.log('Results from dataset');
32    console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
33    const { items } = await client.dataset(run.defaultDatasetId).listItems();
34    items.forEach((item) => {
35        console.dir(item);
36    });
37})();
38
39// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 4 monthly users
  • 1 star
  • 95.7% runs succeeded
  • Created in Dec 2023
  • Modified 15 days ago