馃彲 Urbandictionary Scraper (Pay Per Result) avatar
馃彲 Urbandictionary Scraper (Pay Per Result)
Try for free

Pay $1.00 for 1,000 results

View all Actors
馃彲 Urbandictionary Scraper (Pay Per Result)

馃彲 Urbandictionary Scraper (Pay Per Result)

apidojo/urbandictionary-scraper
Try for free

Pay $1.00 for 1,000 results

Introducing the Urban Dictionary Scraper, your ultimate tool for diving into the world of contemporary slang, memes, and expressions! With this user-friendly and versatile scraper, you can effortlessly search for any keyword and retrieve a treasure trove of definitions.

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    "https://www.urbandictionary.com/define.php?term=dude",
9    "https://www.urbandictionary.com/define.php?term=nah"
10  ],
11  "keywords": [
12    "afk",
13    "lol"
14  ],
15  "maxItems": 1000,
16  "customMapFunction": "(object) => { return {...object} }"
17}
18EOF
19
20# Run the Actor using an HTTP API
21# See the full API reference at https://docs.apify.com/api/v2
22curl "https://api.apify.com/v2/acts/apidojo~urbandictionary-scraper/runs?token=$API_TOKEN" \
23  -X POST \
24  -d @input.json \
25  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 1 monthly users
  • 98.1% runs succeeded
  • days response time
  • Created in Nov 2023
  • Modified 19 minutes ago