Zum Inhalt springen
GET /v1/random

Random definitions

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/urbandict-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/urbandict-api/v1/random" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/urbandict-api/v1/random", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/urbandict-api/v1/random");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/urbandict-api/v1/random",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 10,
        "definitions": [
            {
                "word": "fapsturbate",
                "defid": 8135873,
                "score": 0,
                "author": "put a dick all up inside her",
                "example": "[Isabelle] likes to fapsturbate to her [boyfriend] when he [faps] on a skype call.",
                "permalink": "https://www.urbandictionary.com/define.php?term=fapsturbate&defid=8135873",
                "thumbs_up": 0,
                "definition": "Fapsturbating is when someone ([girl] or guy) masturbates to [a guy] [fapping].",
                "written_on": "2015-03-02T00:00:00.000Z",
                "thumbs_down": 0
            },
            {
                "word": "kaknook",
                "defid": 3431741,
                "score": 0,
                "author": "alisha danielle t",
                "example": "\"[Lauren] and I were kaknooking about [Jane]'[s] party tomorrow.\"\n\n\"I will get back at her, I'm doing to kaknook tonight\"",
                "permalink": "https://www.urbandictionary.com/define.php?term=kaknook&defid=3431741",
                "thumbs_up": 0,
                "definition": "to plot against; to [plan] deceit, evil, or plundering activities; to think up [something] horrible; to plot [revenge]",
                "written_on": "2009-03-01T00:00:00.000Z",
                "thumbs_down": 0
            },
            {
                "word": "Mom's gonna punt you to the moon",
                "defid": 18062343,
                "score": 0,
                "author": "Not_actually_blind",
                "example": "Younger sibling: Did you hear that [dad] bought me [robux]!!!???\nOlder sibling: Shut up mom's gonna punt you to the [moon].",
                "permalink": "https://www.urbandictionary.com/define.php?term=Mom%27s%20gonna%20punt%20you%20to%20the%20moon&defid=18062343",
                "thumbs_up": 0,
                "definition": "A common saying among siblings being [loud] at 10pm. The [mother] won't actually [punt] you. But will beat your ass if you don't quiet down.",
                "written_on": "2023-12-29T20:21:26.000Z",
                "thumbs_down": 0
            },
            {
                "word": "Charismatic",
                "defid": 15452749,
                "score": 0,
                "author": "Suckmy10imchghostdick",
                "example": "\"charismatic is so [sweet]\" \"omg i love charismatic he stayed [up all night] playing among us with me when i had no [one] else,",
                "permalink": "https://www.urbandictionary.com/define.php?term=Charismatic&defid=15452749",
                "thumbs_up": 0,
                "definition": "A amazing person who will [always] be there when u need them. Funny as hell and just a good peraon in general. Will support you in everything u do. They will spemd all night playing [video games] with you. If u are special to thia person you will always be on there [mind]. Your welcome MerakiXD
…