![Google Rank Checker avatar](https://images.apifyusercontent.com/i2uL9DPo0Uu1H1p4dAMrfbVCojcn8yxLtC2ol_tvilw/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vcEV3TlV1YTk2VFlzWkMwd3EvVFhoRDdYZW9xVDVFOTM4dG4tREFMTF9FXzIwMjMtMTItMjZfMTEuNTQuNDlfLV9EZXNpZ25fYV9sb2dvX2Zvcl9fR29vZ2xlX1JhbmtfQ2hlYw.webp)
Google Rank Checker
Try for free
Pay $1.00 for 1,000 results
View all Actors![Google Rank Checker](https://images.apifyusercontent.com/i2uL9DPo0Uu1H1p4dAMrfbVCojcn8yxLtC2ol_tvilw/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vcEV3TlV1YTk2VFlzWkMwd3EvVFhoRDdYZW9xVDVFOTM4dG4tREFMTF9FXzIwMjMtMTItMjZfMTEuNTQuNDlfLV9EZXNpZ25fYV9sb2dvX2Zvcl9fR29vZ2xlX1JhbmtfQ2hlYw.webp)
![Google Rank Checker](https://images.apifyusercontent.com/i2uL9DPo0Uu1H1p4dAMrfbVCojcn8yxLtC2ol_tvilw/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vcEV3TlV1YTk2VFlzWkMwd3EvVFhoRDdYZW9xVDVFOTM4dG4tREFMTF9FXzIwMjMtMTItMjZfMTEuNTQuNDlfLV9EZXNpZ25fYV9sb2dvX2Zvcl9fR29vZ2xlX1JhbmtfQ2hlYw.webp)
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