WriteHuman AI Humanizer API Documentation

The WriteHuman API rewrites AI-generated text so that it reads as human-written, scores text for AI authorship, and reports your word balance. It is a JSON API over HTTPS with Bearer key authentication and three endpoints.

Base URLhttps://api.writehuman.ai

Quickstart#

  1. Create an API key

    Subscribe to an API plan, then create a key on the API Keys tab of the API dashboard. The full key is displayed only once, at creation. Copy it before closing the dialog.

    Store the key in an environment variable. All code samples in this documentation read the key from it:

    export WRITEHUMAN_API_KEY="wh_live_..."
  2. Send a request

    Send the text to /v1/humanize using cURL, an official SDK (npm install @writehuman/sdk or pip install writehuman), or any HTTP client.

    curl https://api.writehuman.ai/v1/humanize \  -H "Authorization: Bearer $WRITEHUMAN_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "text": "Artificial intelligence has revolutionized the way we approach content creation and digital communication."  }'
  3. Read the response

    The rewritten text is returned in results. Standard plans receive one result. Premium plans receive three, ordered best first, each with a score from 0 to 1, where a higher score indicates more human-like text.

    {  "id": "hum_a1b2c3d4-e5f",  "created": 1778533901580,  "results": [    "AI has changed how we create content and communicate online."  ],  "scores": null,  "input_words": 14,  "words_remaining": {    "included": 124986,    "topup": 0,    "total": 124986  },  "model": "standard"}

    input_words is the number of words charged for the request, and words_remaining is the balance after it. Failed requests are not charged, with one exception.

Next steps#

Video walkthrough#

A seven-minute walkthrough of authentication and setup, followed by three example integrations: a Python script, a Lovable app and Claude.

Using this documentation with an AI assistant#

  • Each page has a Copy for LLM button that copies the page as Markdown. On this page, the button copies every page. The copied Markdown can be pasted into Claude Code, Cursor or another assistant.
  • llms-full.txt contains every page in a single Markdown file, and llms.txt is an index of the pages.
  • The OpenAPI document describes the three endpoints in machine-readable form.

To use WriteHuman from within Claude or another AI assistant without writing code, connect the MCP server.