/v1/parts
A story's chapters/parts with per-part stats
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/wattpad-api/v1/parts" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wattpad-api/v1/parts", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wattpad-api/v1/parts");
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/parts",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"parts": [
{
"id": "80845154",
"url": "https://www.wattpad.com/80845154",
"reads": 46864,
"title": "Declaration",
"votes": 706,
"words": 109,
"comments": 40,
"created_at": "2015-01-23T10:09:19Z"
},
{
"id": "80847228",
"url": "https://www.wattpad.com/80847228",
"reads": 45163,
"title": "Chapter 1",
"votes": 1288,
"words": 1371,
"comments": 302,
"created_at": "2015-01-23T10:09:50Z"
},
{
"id": "97805064",
"url": "https://www.wattpad.com/97805064",
"reads": 35573,
"title": "Chapter 2",
"votes": 1074,
"words": 1201,
"comments": 108,
"created_at": "2015-01-25T16:48:42Z"
},
{
"id": "81554698",
"url": "https://www.wattpad.com/81554698",
"reads": 33392,
"title": "Chapter 3",
"votes": 990,
"words": 1469,
"comments": 88,
"created_at": "2015-01-29T09:26:09Z"
},
{
"id": "81555031",
"url": "https://www.wattpad.com/81555031",
"reads": 28142,
"title": "Chapter 4",
"votes": 904,
"words": 1400,
"comments": 103,
"created_at": "2015-02-05T10:34:24Z"
},
{
"id": "100722846",
"url": "https://www.wattpad.com/100722846",
"reads": 25349,
"title": "Chapter 5",
"votes": 884,
"words": 1297,
"comments": 53,
"created_at": "2015-02-11T18:37:15Z"
},
{
"id": "81555534",
"url": "https://www.wattpad.com/81555534",
"reads": 22563,
"title": "Chapter 6",
"votes": 831,
"words": 878,
"comments": 84,
"created_at": "2015-02-22T09:49:15Z"
},
{
"id": "100728376",
"url": "https://www.wattpad.com/100728376",
"reads": 22718,
"title": "Chapter 7",
"votes": 831,
"words": 1329,
"comments": 154,
"created_at": "2015-02-25T19:04:07Z"
},
{
"id": "100728476",
"url": "https://www.wattpad.com/100728476",
"reads": 20450,
"title": "Chapter 8",
"votes": 721,
"words": 1272,
…