Naar de inhoud
GET /v1/user

A writer's profile

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/wattpad-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "url": "https://www.wattpad.com/user/Wattpad",
        "name": "Wattpad",
        "avatar": "https://img.wattpad.com/useravatar/Wattpad.128.838617.jpg",
        "source": "Wattpad",
        "location": "Wattpad HQ",
        "username": "Wattpad",
        "followers": 79464806,
        "following": 82,
        "created_at": "2006-11-05T20:37:42Z",
        "description": "Welcome to the Wattpad profile 🧡 AKA your go-to spot for what's happening across a millions-strong global community of readers and writers. From totally free stories to compelling Wattpad Originals... basically, if it's trending on Wattpad, you'll find it here first. Follow us for News & Updates, Community Happenings, and Wattpad Group Chat. Here, we highlight the stories everyone's talking about, the creators behind them, and the fandoms that make it all feel bigger. Everything we share here l",
        "reading_lists": 99,
        "stories_published": 4
    },
    "meta": {
        "timestamp": "2026-06-09T11:38:13.564Z",
        "request_id": "7acd0084-6fdb-4e44-a6b4-7972e830e17c"
    },
    "status": "ok",
    "message": "User retrieved successfully",
    "success": true
}