Discover/Twkan API
live

Twkan APItwkan.com

Access twkan.com novel listings, full chapter text, keyword search, and detail records via a structured API. 5 endpoints covering ranked lists, TOC, and content.

Endpoint health
verified 4h ago
list_novels
search_novels
get_novel
list_chapters
get_chapter
5/5 passing latest checkself-healing
Endpoints
5
Updated
4h ago

What is the Twkan API?

The twkan.com API provides 5 endpoints for reading free Chinese web novels from twkan.com, covering ranked novel listings, keyword search, full novel detail records, complete chapter tables of contents, and per-chapter text retrieval. The get_chapter endpoint returns chapter text as both an ordered paragraph array and a newline-joined string, along with adjacent chapter IDs for sequential reading.

This call costs1 credit / call— charged only on success
Try it
1-based result page. Each page holds up to 30 novels.
Ranking to list: new (newest books), popular (weekly visits), recommended (all-time recommendation votes).
Completion filter; all = both ongoing and completed novels, completed = finished novels only.
Genre filter from the site's category menu; all = no genre filter.
api.parse.bot/scraper/28add905-136f-4ef9-8e0e-5d555e388124/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/28add905-136f-4ef9-8e0e-5d555e388124/list_novels?sort=popular&status=completed&category=urban' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace twkan-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: twkan.com novel SDK — browse rankings, drill into a novel, read chapters."""
from parse_apis.twkan_com_api import Twkan, Category, Sort, Status, InputNotFound

client = Twkan()

# Browse popular completed urban novels; limit= caps total items fetched.
for summary in client.novel_summaries.list(
    category=Category.URBAN, status=Status.COMPLETED, sort=Sort.POPULAR, limit=5
):
    print(summary.title, summary.author, summary.status)

# Search by keyword, take the first hit, then drill into full detail.
hit = client.novel_summaries.search(keyword="獵人", limit=1).first()
if hit is not None:
    novel = hit.details()
    print(novel.title, novel.author, novel.chapter_count, novel.rating)
    print("Tags:", ", ".join(novel.tags))

    # List the first few chapters from the table of contents.
    for ch_summary in novel.chapters.list(limit=3):
        print(f"  #{ch_summary.index} {ch_summary.title}  ({ch_summary.word_count} chars)")

    # Read the full text of the first chapter.
    first_ch = novel.chapters.list(limit=1).first()
    if first_ch is not None:
        chapter = novel.chapters.get(chapter_id=first_ch.chapter_id)
        print(chapter.title)
        print(chapter.content[:200])

# Point lookup by a known novel_id.
try:
    detail = client.novels.get(novel_id="82888")
    print(detail.title, detail.word_count_label)
except InputNotFound:
    print("Novel not found")

print("exercised: novel_summaries.list / novel_summaries.search / details / novels.get / chapters.list / chapters.get")
All endpoints · 5 totalmissing one? ·

Lists novels from the site's ranking pages, filtered by category and completion status and ordered by one of the site's three rankings (new books, weekly popularity, recommendations). Returns one page of up to 30 novel summaries per call; pass page to move through the result space (page 1 when omitted) and use has_more / total_pages for continuation. The per-item category field is not shown on these ranking pages and is always null here; use get_novel for a novel's category. Descriptions are the site's own truncated blurbs; latest_chapter_id can be passed to get_chapter.

Input
ParamTypeDescription
pageinteger1-based result page. Each page holds up to 30 novels.
sortstringRanking to list: new (newest books), popular (weekly visits), recommended (all-time recommendation votes).
statusstringCompletion filter; all = both ongoing and completed novels, completed = finished novels only.
categorystringGenre filter from the site's category menu; all = no genre filter.
Response
{
  "type": "object",
  "fields": {
    "page": "integer, the page that was returned",
    "novels": "array of novel summaries: novel_id (string, use with get_novel/list_chapters), title, author, category (always null on this endpoint), status (site label, e.g. 連載 ongoing / 全本 completed), description, cover_url, latest_chapter_id, latest_chapter_title",
    "has_more": "boolean, true when a following page exists",
    "total_pages": "integer, number of pages the site reports for this ranking/filter"
  },
  "sample": {
    "data": {
      "page": 2,
      "novels": [
        {
          "title": "誤吞了秦皇陵仙丹",
          "author": "二兩消愁",
          "status": "全本",
          "category": null,
          "novel_id": "111151",
          "cover_url": "https://twkan.com/files/article/image/111/111151/111151s.jpg",
          "description": "秦始皇陵失竊,剛大學畢業正在出租屋待業的王浩,誤打誤撞獲得失竊秦皇陵文物。",
          "latest_chapter_id": "58214404",
          "latest_chapter_title": "第984章 大結局"
        }
      ],
      "has_more": true,
      "total_pages": 16
    },
    "status": "success"
  }
}

About the Twkan API

Novel Discovery and Search

The list_novels endpoint returns up to 30 novel summaries per page drawn from the site's ranking pages. Three sort modes are available: new (newest additions), popular (weekly visit ranking), and recommended (all-time recommendation votes). Results can be narrowed by category (genre label from the site's menu) and status (all or completed). Each summary includes novel_id, title, and author; note that category is always null on this endpoint. The search_novels endpoint accepts a keyword (typically a partial Chinese title) and returns up to 20 matches per page, including category, status, description, and a total_results count from the site.

Novel and Chapter Detail

The get_novel endpoint fetches a single novel's full record by novel_id: title, author, category, status (連載 or 全本), description, cover_url, rating (out of 5 or null), tags array, updated_at, and additional metadata. Passing an unknown or removed novel_id returns a stale_input error rather than empty results.

The list_chapters endpoint returns the complete, unpaginated table of contents for a novel in reading order. Each entry carries index, chapter_id, title, word_count, and publish time. Long novels with several hundred chapters are returned in a single response. The get_chapter endpoint resolves a chapter_id (as emitted by list_chapters, or the latest_chapter_id from novel summaries) into the full chapter: paragraphs array, content string, author, updated_at, and prev_chapter_id / next_chapter_id for cursor-based sequential reading.

Identifiers and Navigation

All identifiers are numeric strings. novel_id flows from list_novels or search_novels into get_novel, list_chapters, and get_chapter. chapter_id flows from list_chapters into get_chapter. The prev_chapter_id and next_chapter_id fields on chapter responses allow walking an entire novel sequentially without re-fetching the table of contents.

Reliability & maintenanceVerified

The Twkan API is a managed, monitored endpoint for twkan.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when twkan.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official twkan.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
4h ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Chinese web novel reader app that navigates chapters using prev_chapter_id and next_chapter_id
  • Index a corpus of novel blurbs and tags from get_novel for a recommendation or similarity search system
  • Track weekly popularity ranking shifts by polling list_novels with sort=popular across dates
  • Monitor newly published chapters for a watchlist of novel_ids using updated_at from get_novel
  • Compile word-count statistics per chapter for a given novel using the word_count field from list_chapters
  • Search twkan.com by partial title keyword and surface category and status labels for a discovery UI
  • Aggregate completed novels by genre by combining status=completed and category filters in list_novels
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does twkan.com have an official developer API?+
Twkan.com does not publish an official developer API or documented public endpoints for third-party use.
What does list_chapters return, and is it paginated?+
list_chapters returns the complete table of contents for a novel in a single response, not paginated. Each entry includes index, chapter_id, title, word_count, and publish time. The chapter_count field tells you the total number of rows. For very long novels this means a single large payload.
Why is the category field null in list_novels results?+
The ranking pages that back list_novels do not surface genre labels per novel summary, so category is always null there. Genre information is available in search_novels results and in the full record returned by get_novel.
Does the API expose reader comments or review text for novels?+
Not currently. The API covers novel metadata (rating, tags, description), chapter text, and ranking/search data. Reader comments and review text are not included in any endpoint response. You can fork this API on Parse and revise it to add an endpoint that retrieves comment data.
How fresh is the data returned by get_novel and get_chapter?+
Both endpoints reflect what the site currently shows for that novel or chapter. The updated_at field on get_novel is the last-update timestamp as displayed by the site in its local time (YYYY-MM-DD HH:MM:SS format). There is no built-in polling or webhook; freshness depends on how often you call the endpoints.
Page content last updated . Spec covers 5 endpoints from twkan.com.
Related APIs in EntertainmentSee all →
webnovel.com API
Look up comprehensive details about any webnovel including its title, cover image, synopsis, category, chapter count, view count, ranking, ratings, and tags in one request. Perfect for finding book information, comparing rankings, or discovering new titles across different categories.
novelbin.me API
Search and browse novels by title, genre, or popularity, and explore trending, completed, or recently updated works. Access full novel details, chapter listings, chapter content, author information, related titles, and reader comments. Authenticated users can manage bookmarks with reading-status tracking and subscribe to novels for update notifications.
qingheks.com API
Search and discover novels on Qinghe Book City by title or keyword, then browse chapter lists and read full chapter content directly. Access a comprehensive library of books with seamless navigation between chapters for uninterrupted reading.
bookwalker.jp API
Search and browse Japanese ebooks including manga and light novels on BookWalker Japan, with access to book details, rankings, category listings, and autocomplete suggestions. Discover new titles through curated rankings and explore the full catalog by category.
wutheringwaves.kurogames.com API
Access the latest news, notices, and event articles from the official Wuthering Waves website in your preferred language. Read full articles and browse through available publications to stay updated on game announcements and events.
tapas.io API
Look up detailed information about any comic or novel on Tapas.io to view titles, cover images, reader statistics, author names, and story synopses all in one place. Perfect for discovering new series or getting comprehensive details about your favorite Tapas stories.
fanfiction.net API
Search and browse fan fiction stories across FanFiction.net, accessing story metadata, full chapter content, and author profiles all in one place. Discover new stories and dive deeper into author information without navigating the website directly.
search.kongfz.com API
Search for used books on Kongfz by keyword or ISBN to discover available listings with pricing, condition ratings, and seller information. Find affordable secondhand books across thousands of sellers in China's largest used book marketplace.