Vai al contenuto
GET /v1/user

A writer's profile

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/wattpad-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}