Μετάβαση στο περιεχόμενο
GET /v1/user

A writer's profile

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/wattpad-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

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