Aller au contenu
GET /v1/user

A writer's profile

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/wattpad-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}