Endpoint Playground
Returns a Wattpad story's chapter list, in reading order: id, title, link, word count, reads, votes, comments, length, and created and modified dates for every chapter. The per-chapter reads show where readers drop off. Use it to see how a story is paced and which chapters readers react to. story_id is the numeric story id, or its wattpad.com link. Chapter text is never returned.
curl 'https://api.crawlora.net/api/v1/wattpad/story-parts?story_id=344352588' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| story_id | string | Yes | 344352588 | Numeric Wattpad story id, such as 344352588; a wattpad.com/story link is also accepted |
{
"code": 200,
"msg": "OK",
"data": {
"story_id": "344352588",
"title": "Lose You To Love Me (Mafia Romance-Complete)",
"total": 82,
"parts": [
{
"id": "1353317758",
"title": "CHAPTER 0",
"url": "https://www.wattpad.com/1353317758-lose-you-to-love-me-mafia-romance-complete-chapter",
"word_count": 1923,
"reads": 139834,
"votes": 1558,
"comments": 540,
"length": 9613,
"draft": false,
"created_at": "2023-06-16T20:49:32Z",
"modified_at": "2024-07-20T09:43:51Z"
},
{
"id": "1353318446",
"title": "CHAPTER 1",
"url": "https://www.wattpad.com/1353318446-lose-you-to-love-me-mafia-romance-complete-chapter",
"word_count": 1867,
"reads": 68686,
"votes": 1096,
"comments": 148,
"length": 9332,
"draft": false,
"created_at": "2023-06-16T20:50:37Z",
"modified_at": "2023-06-18T12:40:20Z"
},
{
"id": "1353318810",
"title": "CHAPTER 2",
"url": "https://www.wattpad.com/1353318810-lose-you-to-love-me-mafia-romance-complete-chapter",
"word_count": 2671,
"reads": 57036,
"votes": 975,
"comments": 162,
"length": 13353,
"draft": false,
"created_at": "2023-06-16T20:53:47Z",
"modified_at": "2023-06-16T20:53:47Z"
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.