Endpoint Playground
Returns Wattpad's story categories (Romance, Fantasy, Fanfiction, Werewolf, ...) with id, name and English name. These ids are the values the category parameter of wattpad-search takes and the values in every story's category_ids. The list is read live from Wattpad.
curl 'https://api.crawlora.net/api/v1/wattpad/categories' \
-H "x-api-key: $CRAWLORA_API_KEY"No request parameters
{
"code": 200,
"msg": "OK",
"data": {
"categories": [
{
"id": 1,
"name": "Teen Fiction",
"name_english": "Teen Fiction"
},
{
"id": 2,
"name": "Poetry",
"name_english": "Poetry"
},
{
"id": 3,
"name": "Fantasy",
"name_english": "Fantasy"
},
{
"id": 4,
"name": "Romance",
"name_english": "Romance"
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.