Writ docs
Your own API to any website.
Describe what you need from a website. Writ builds and tests an API for it, signs in as you when the site needs it, and lets you call it from your code, your AI assistant or a schedule. On Writ’s servers, or free on your own computer.
Start with what you need
- ▸API Turn a website into an API Describe it in a sentence; Scribe builds and tests it. →
- MCP Connect your AI assistant Claude, ChatGPT, Cursor and other MCP clients. →
- REST Call your API from code One HTTP request from any language. →
- LIB Use a ready-made API Install a tested API for a popular site in one click. →
- CRWL Collect a whole site Harvest a site or a section into a dataset. →
- ⌂ Run it on your computer Writ Desktop is free and works without an account. →
Try it without an account
This call reads a page and returns its main text as Markdown. No sign-up, no key. When you want your own API, follow the Quickstart.
curl -X POST https://api.usewrit.app/v1/keyless/scrape \
-H "Content-Type: application/json" \
-H "X-Writ-Client-Id: 6f1d2c4e-0b7a-4c1e-9f3a-2d5e8b9c0a11" \
-d '{"url": "https://news.ycombinator.com"}' import requests
res = requests.post(
"https://api.usewrit.app/v1/keyless/scrape",
headers={"X-Writ-Client-Id": "6f1d2c4e-0b7a-4c1e-9f3a-2d5e8b9c0a11"},
json={"url": "https://news.ycombinator.com"},
)
print(res.json()["markdown"][:500]) const res = await fetch("https://api.usewrit.app/v1/keyless/scrape", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Writ-Client-Id": "6f1d2c4e-0b7a-4c1e-9f3a-2d5e8b9c0a11",
},
body: JSON.stringify({ url: "https://news.ycombinator.com" }),
});
console.log((await res.json()).markdown.slice(0, 500)); Every page
01Start
- Quickstart Build an API for a website, test it, and call it from code or your AI assistant in about ten minutes.
- Choose how to start Website to API, Record, Harvest or Monitor: which door fits the job, with examples.
- How Writ works APIs, functions, runs, sign-ins, credits and the places they run, on one page.
- Cloud or Desktop Writ Cloud runs on Writ’s servers; Writ Desktop runs on your computer for free. What changes between them.
02Build
- Turn a website into an API Describe what you need from a site; Scribe builds the API, tests it, and gives you REST and MCP access.
- Record a workflow Show Writ the clicks once in a real browser, then replay them with new inputs on demand or on a schedule.
- Ready-made APIs Install a tested API from the marketplace in one click and call it like your own.
- Scribe, the assistant The AI inside Writ: what it can build, what it asks you, and what it costs.
- Harvest a site Collect a whole site or one section into a dataset; Writ picks how to read each page and prices it per page.
- Monitor a page Watch a page for changes, then alert you, run a workflow or wake an AI agent.
- Test and edit an API Functions, inputs and outputs, test runs, the Call tab, and changing an API after it is built.
- Keep an API working Daily checks, automatic repairs, and what to do when a call starts failing.
- Outputs and exports Where results land, how to search and filter them, and how to export them or read them over the API.
- Sign-ins and secrets Let Writ act as you on sites behind a login: personas, 2FA codes and the secrets vault.
- Blocks, CAPTCHAs and hand-offs What happens when a site pushes back: CAPTCHAs, sites that refuse servers, and pausing for you.
03Call
- Call your API Run an API over REST from any language: endpoints, keys, waiting for results, caching and responses.
- SDKs Python, TypeScript, Go and Rust clients for Writ Cloud and Writ Desktop.
- Connect an AI assistant Give Claude, ChatGPT, Cursor or any MCP client your Writ APIs and Writ’s tools.
- Live sessions Keep a signed-in browser open and drive it over an OpenAI-compatible endpoint.
- Schedules, triggers and webhooks Run on a schedule, react to events, receive webhooks and send signed deliveries.
- Alerts and notifications Email, SMS, Slack, Discord, Telegram and more: who gets told what, and how.
- Zapier, Make and n8n Connect Writ to automation tools with OAuth, HTTP calls and webhooks.
04Run
- Writ Desktop Install the free desktop app, run everything on your own computer, and connect your AI tools to it.
- Link Desktop to Writ Cloud Make APIs on your computer callable from Writ Cloud, your assistant or your code, without opening ports.
- Your own machines Connect Writ Desktop or the open-source agent so cloud jobs run on hardware you control.
- Credits and plans What each call, page and check costs in credits, what plans include, and what happens at zero.
- Team, roles and SSO Invite people, set roles, enforce single sign-on and provision accounts with SCIM.
05Reference
- REST API reference Every customer endpoint of Writ Cloud, grouped by resource, with requests and responses.
- API keys and OAuth Create keys, pick scopes, use OAuth for apps and assistants, and rotate or revoke access.
- Errors and limits Error shapes, status codes, rate limits, idempotency and the plan limits behind them.
- Desktop local API The REST and MCP endpoints Writ Desktop serves on your machine, with local keys.
- MCP tools Every Writ Cloud MCP tool, what it does, and when an assistant should use it.
- Workflow steps Every step a recorded workflow can contain, with its inputs and behaviour.