Urban Dictionary API Scraper — Slang Definitions avatar

Urban Dictionary API Scraper — Slang Definitions

Pricing

from $1.60 / 1,000 scraped definitions

Go to Apify Store
Urban Dictionary API Scraper — Slang Definitions

Urban Dictionary API Scraper — Slang Definitions

Look up Urban Dictionary slang definitions in bulk: definition, usage example, author, date and source URL for up to 25 terms. About USD 2 per 1,000.

Pricing

from $1.60 / 1,000 scraped definitions

Rating

0.0

(0)

Developer

Muhammad Afzal

Muhammad Afzal

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Features

Limited permissions

Share

Urban Dictionary API Scraper returns public Urban Dictionary definitions for the slang terms you give it: definition text, usage example, author, date and source URL, one row per definition. Content moderators, linguists, marketers and AI agents use it to look up slang definitions in bulk, and it costs about USD 2 per 1,000 definitions on the FREE tier, plus a start fee of about USD 0.006 per run.

You can send up to 25 terms or Urban Dictionary URLs per run, and the Actor returns up to 50 definitions for each, in the order the site shows them.

What does the Urban Dictionary scraper return?

Each dataset row is one Urban Dictionary definition card:

FieldWhat you get
definitionIdUrban Dictionary's ID for the definition, for example 12339851
termThe word or phrase as written on the card, for example Yeet
definitionFull definition text, with its line breaks kept as \n
exampleThe usage example with its line breaks, or null if the card has none
authorUsername credited on the definition
publishedAtDate as Urban Dictionary displays it, for example April 22, 2018
upvotes, downvotesCurrently null: Urban Dictionary now shows 0 for every vote count, on the page and in its own vote feed, so the real counts are not public. The Actor fills them again if the site shows real counts.
sourceUrlThe define.php?term= page the definition came from, including &page=N for later pages
scrapedAtExtraction time (UTC, ISO 8601)

How do I get Urban Dictionary definitions through an API?

Call this Actor through the Apify API with a list of terms, and read the dataset as JSON or CSV. It reads the public define.php?term= pages, so you need no Urban Dictionary key, only an Apify token. The same call works from JavaScript, Python, the REST API, or an AI assistant connected to Apify.

How many definitions can I get per slang term?

Up to 50. Urban Dictionary shows 7 definitions per page, so the Actor reads the next pages (up to 8) until it reaches maxDefinitionsPerTerm (default 10, range 1–50) or the term runs out of definitions. With 25 terms per run, one run returns at most 1,250 definitions. The run stops reading new pages 20 seconds before its timeout and keeps what it saved.

How do I look up slang definitions in bulk?

Put up to 25 words or phrases in terms, one per line, such as rizz, delulu or spill the tea. The Actor fetches each term's page, returns its definitions, and skips any definition ID it has already saved in the run. Terms with no Urban Dictionary entry add nothing and cost nothing.

When should I use it, and when not?

Use it when:

  • you need the crowd-written meaning of slang, memes or nicknames for moderation, brand-safety or marketing checks;
  • you build a slang glossary or a training or evaluation set for language tools;
  • an AI agent needs to look up an unfamiliar term with a source link.

Do not use it when:

  • you need standard dictionary meanings, pronunciations or etymology; Urban Dictionary is crowd-written and often offensive or joking;
  • you need vote counts, more than 50 definitions per term, or author profiles;
  • you want to see how a term is used in real conversations: Reddit Comment Scraper collects comments you can search for it.

Input examples

The default input looks up one term:

{
"terms": ["yeet"],
"maxDefinitionsPerTerm": 10
}

Several slang terms, top 3 definitions each:

{
"terms": ["rizz", "delulu", "spill the tea", "no cap"],
"maxDefinitionsPerTerm": 3
}

Definition page URLs only (no term is added when you leave terms out):

{
"startUrls": [{ "url": "https://www.urbandictionary.com/define.php?term=no%20cap" }],
"maxDefinitionsPerTerm": 5
}

Output example

The first two records for yeet, produced by the Actor's parser from the live page on 2026-10-27:

[
{
"definitionId": "12339851",
"term": "Yeet",
"definition": "To discard an item at a high velocity",
"example": "Alex finishes his soda and proceeds to yeet his empty can into a trash bin\n\nAlex (while throwing the can): “YEET!”",
"author": "Le anonymous",
"publishedAt": "April 22, 2018",
"upvotes": null,
"downvotes": null,
"sourceUrl": "https://www.urbandictionary.com/define.php?term=yeet",
"scrapedAt": "2026-10-27T09:00:00.000Z"
},
{
"definitionId": "12087363",
"term": "yeet",
"definition": "A word one may scream while propelling an object through the air at alarming speeds, heights, and etc.",
"example": "\"YEET!\" Mei screamed, hurling the football at her catcaller's head.",
"author": "carryingthebanner",
"publishedAt": "October 23, 2017",
"upvotes": null,
"downvotes": null,
"sourceUrl": "https://www.urbandictionary.com/define.php?term=yeet",
"scrapedAt": "2026-10-27T09:00:00.000Z"
}
]

Use it from an AI assistant

Urban Dictionary API Scraper works from Claude, ChatGPT, Cursor or any other MCP client through Apify's MCP server. Add https://mcp.apify.com/?tools=muhammadafzal/urban-dictionary-definitions-scraper as a server, and the assistant can look terms up for you. Example prompt: "What does 'delulu' mean on Urban Dictionary? Give me the top 3 definitions with their examples."

Run it with the Apify API

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('muhammadafzal/urban-dictionary-definitions-scraper').call({
terms: ['rizz', 'delulu'],
maxDefinitionsPerTerm: 3,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const d of items) console.log(`${d.term}: ${d.definition}`);

Python (apify-client 3.x):

from apify_client import ApifyClient
client = ApifyClient(token="YOUR_APIFY_TOKEN")
run = client.actor("muhammadafzal/urban-dictionary-definitions-scraper").call(
run_input={"terms": ["no cap", "spill the tea"], "maxDefinitionsPerTerm": 3}
)
for d in client.dataset(run.default_dataset_id).iterate_items():
print(d["term"], "-", d["definition"])

Pricing

You pay per definition saved, plus a start fee. Apify platform usage is included in these prices.

EventFREEBRONZESILVERGOLDPLATINUMDIAMOND
Scraped definition (primary)$0.002001$0.00195$0.0019$0.0016$0.0016$0.0016
Actor start$0.006251$0.006094$0.005938$0.005$0.005$0.005

The start fee is charged once per started GB of allocated memory; the default 256 MB counts as one.

Worked totals:

  • Default run, yeet with 10 definitions: FREE $0.006251 + 10 × $0.002001 = $0.026261; GOLD $0.005 + 10 × $0.0016 = $0.021.
  • 25 terms × 50 definitions (1,250 records, the per-run maximum): FREE $0.006251 + 1,250 × $0.002001 = $2.507501; GOLD $0.005 + 1,250 × $0.0016 = $2.005.

The minimum maximum-charge setting for a run is $0.008252, which covers the start fee and one definition. The run's starting status message estimates the result cost at your tier's live price.

Limits and reliability

  • Per run: up to 25 terms and URLs combined; more is rejected before any definition is saved.
  • Per term: up to 50 definitions, read from up to 8 pages of 7.
  • Votes: upvotes and downvotes are null while Urban Dictionary shows 0 for every count.
  • Dates: publishedAt is the display string, for example April 22, 2018, not an ISO date.
  • Line breaks: line breaks inside a definition or example are kept as \n.
  • Speed: plain page requests at 256 MB, one page after another; the default run timeout is 120 seconds, and the run stops reading new pages 20 seconds before it.
  • Failures: a term whose page fails or shows a challenge is skipped and listed in the SUMMARY record. If every term's page fails, the status is BLOCKED, the run ends as failed, and nothing is charged beyond the start fee.
  • URLs: only https://www.urbandictionary.com/define.php?term=... URLs are accepted.

FAQ

Is this Actor affiliated with Urban Dictionary?

No. It reads Urban Dictionary's public definition pages and is not endorsed by Urban Dictionary.

Why are upvotes and downvotes null?

Urban Dictionary currently shows 0 for every vote count, both on the page and in the vote feed its own page loads, so the real counts are not public. The Actor returns null instead of a misleading 0, and fills the counts again if the site shows them.

Can I get more than 7 definitions for a word?

Yes, up to 50. Set maxDefinitionsPerTerm, and the Actor reads further pages of the term until it has that many or the term runs out.

Does it work for phrases?

Yes, for example spill the tea. Terms are URL-encoded before the request, so any text Urban Dictionary itself accepts can be looked up.

What happens if a term has no definitions?

It returns no rows and no charge for that term. If no term returns anything, the run ends as EMPTY.

Can I export the results to CSV?

Yes. Export the run's dataset from Apify Console as CSV, Excel or JSON, or read it through the dataset API.

Definitions are user-written content owned by their authors and Urban Dictionary, and many are offensive. Use the data for research, moderation or analysis within your legal rights, follow Urban Dictionary's terms, and do not use it to target or profile individuals.

Last verified: 2026-10-27