Marketplace
No threads yet
Live

get_chapter_text

fanfiction.net

Returns full chapter text, chapter and story titles, chapter number, total chapter count, and source URL from https://fanfiction.net.

Parameters2
Runs7
Updated1d ago
Operational7 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_chapter_text?

Returns full chapter text, chapter and story titles, chapter number, total chapter count, and source URL from https://fanfiction.net. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass story_id, chapter_number and get the result back without maintaining a scraper.

Response

{
  "text": "<string>",
  "story_id": 0,
  "chapter_url": "<string>",
  "story_title": "<string>",
  "chapter_title": "<string>",
  "chapter_number": 0,
  "total_chapters": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/ac67ac79-fbd5-47fc-9c8f-e5b48bb45ee5/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "ac67ac79-fbd5-47fc-9c8f-e5b48bb45ee5",
    "variables": {
        "story_id": 5782108,
        "chapter_number": 1
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="ac67ac79-fbd5-47fc-9c8f-e5b48bb45ee5") — the "get_chapter_text" function, which returns full chapter text, chapter and story titles, chapter number, total chapter count, and source URL from https://fanfiction.net..

It takes story_id (int), chapter_number (int). Return the result as structured JSON.