Zum Inhalt springen
GET /v1/story

One story in full

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/wattpad-api/v1/story" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wattpad-api/v1/story", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wattpad-api/v1/story");
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/wattpad-api/v1/story",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

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

{
    "data": {
        "id": "26327373",
        "url": "https://www.wattpad.com/story/26327373",
        "tags": [
            "betrayal",
            "complete",
            "danger",
            "dragon",
            "fantasy",
            "fiancee",
            "forbiddenlove",
            "kidnap",
            "kidnapped",
            "kingdom",
            "love",
            "prince",
            "princess",
            "romance",
            "shifter",
            "texttospeech"
        ],
        "cover": "https://img.wattpad.com/cover/26327373-256-k228682.jpg",
        "parts": 34,
        "reads": 614366,
        "title": "The Dragon and the Princess",
        "votes": 18709,
        "author": {
            "name": "Dragon",
            "username": "Dragon__Wolf",
            "followers": 679
        },
        "mature": false,
        "source": "Wattpad",
        "comments": 2381,
        "language": "English",
        "completed": true,
        "created_at": "2014-11-10T14:25:53Z",
        "description": "You all know the old fairy-tale's where an evil and cruel dragon kidnaps the princess because of her beauty and then knights in shinning armour arrives to save her. After saving her they get the half of the kingdom and marry the princess and lives happily ever after.. But this story is very different... There was once were a beautiful, kind princess named Lydia who got engaged to a prince, but the princess wasn't in love with him at all. One day as she was sleeping peacefully in her bed with her window opened, a dragon named Lithon attacked the kingdom. In it's attack on the kingdom the dragon",
        "modified_at": "2020-07-10T15:17:49Z"
    },
    "meta": {
        "timestamp": "2026-06-09T11:38:13.316Z",
        "request_id": "4f2ff25b-9d5d-486e-8770-0425eff19ccf"
    },
    "status": "ok",
    "message": "Story retrieved successfully",
    "success": true
}