Keywords Extractor avatar
Keywords Extractor
Try for free

No credit card required

View all Actors
Keywords Extractor

Keywords Extractor

lukaskrivka/keywords-extractor
Try for free

No credit card required

Use our free website keyword extractor to crawl any website and extract keyword counts on each page.

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

Node.js

Python

curl

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    {
9      "url": "https://apify.com"
10    }
11  ],
12  "keywords": [
13    "apify",
14    "web",
15    "scraping",
16    "automation"
17  ],
18  "linkSelector": "a[href]",
19  "pseudoUrls": [
20    {
21      "purl": "https://apify.com/[.*]"
22    }
23  ],
24  "proxyConfiguration": {
25    "useApifyProxy": false
26  }
27}
28EOF
29
30# Run the Actor using an HTTP API
31# See the full API reference at https://docs.apify.com/api/v2
32curl "https://api.apify.com/v2/acts/lukaskrivka~keywords-extractor/runs?token=$API_TOKEN" \
33  -X POST \
34  -d @input.json \
35  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 23 monthly users
  • 100.0% runs succeeded
  • Created in Mar 2020
  • Modified about 3 years ago
Categories