Wattpad API endpoint
Returns a Wattpad author's public profile: username, display name, bio, avatar, location, website, verified and ambassador flags, follower and following counts, votes received, published story count, reading list count and join date. username is the name from the author's wattpad.com/user/ link, case-insensitive. Authors with a private profile or who have opted out of crawling are not returned. An unknown author returns not found.
/wattpad/userusername is required: the name from the author's profile address (wattpad.com/user/notjustarandomgirl has username notjustarandomgirl). A profile link or @name is also accepted.
Notable response behavior:
followers, following, votes_received, stories_published and lists are Wattpad's public counters.403.404; a malformed username returns 400.Example response (long values and lists shortened):
{
"code": 200,
"msg": "OK",
"data": {
"user": {
"username": "notjustarandomgirl",
"avatar": "https://img.wattpad.com/useravatar/notjustarandomgirl.128.763251.jpg",
"background": "https://img.wattpad.com/userbg/notjustarandomgirl.50380.jpg",
"description": "welcome to my world of fiction! New chapters every week.",
"location": "London",
"website": "patreon.com/notjustarandomgirl",
"url": "https://www.wattpad.com/notjustarandomgirl",
"verified": true,
"ambassador": false,
"votes_received": 3386470,
"stories_published": 9,
"followers": 317276,
"following": 7,
"lists": 1,
"joined_at": "2012-01-15T05:01:34Z",
"modified_at": "2024-08-22T00:49:22Z"
}
}
}
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| username | string | Yes | Wattpad username from wattpad.com/user/{username}; a profile link or @name is also accepted | notjustarandomgirl | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/wattpad/user?username=notjustarandomgirl" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"user": {
"username": "notjustarandomgirl",
"avatar": "https://img.wattpad.com/useravatar/notjustarandomgirl.128.763251.jpg",
"background": "https://img.wattpad.com/userbg/notjustarandomgirl.50380.jpg",
"description": "welcome to my world of fiction! New chapters every week.",
"location": "London",
"website": "patreon.com/notjustarandomgirl",
"url": "https://www.wattpad.com/notjustarandomgirl",
"verified": true,
"ambassador": false,
"votes_received": 3386470,
"stories_published": 9,
"followers": 317276,
"following": 7,
"lists": 1,
"joined_at": "2012-01-15T05:01:34Z",
"modified_at": "2024-08-22T00:49:22Z"
}
}
}Request schema
No body schema
Response schema
#/definitions/wattpad.userResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | wattpad.UserResponse | No | ||||
| data.user | wattpad.UserProfile | No | ||||
| data.user.ambassador | boolean | No | ||||
| data.user.avatar | string | No | ||||
| data.user.background | string | No | ||||
| data.user.description | string | No | ||||
| data.user.followers | integer | No | ||||
| data.user.following | integer | No | ||||
| data.user.joined_at | string | No | ||||
| data.user.lists | integer | No | ||||
| data.user.location | string | No | ||||
| data.user.modified_at | string | No | ||||
| data.user.name | string | No | ||||
| data.user.stories_published | integer | No | ||||
| data.user.url | string | No | ||||
| data.user.username | string | No | ||||
| data.user.verified | boolean | No | ||||
| data.user.votes_received | integer | No | ||||
| data.user.website | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/wattpad/user?username=notjustarandomgirl" \
-H "x-api-key: $CRAWLORA_API_KEY"