Navigation
POST text

reading_time

1 credit

Estimate reading time for text at a given words-per-minute rate

Endpoint

POST /api/v1/tools/text/reading_time

Body Parameters

wpm integer optional default: 200
text string required

Example

input Request
{
    "wpm": 200,
    "text": "The quick brown fox"
}
output Response
{
    "wpm": 200,
    "words": 4,
    "minutes": 0.02,
    "seconds": 2
}

Response Format

HTTP/1.1 200 OK SUCCESS
{
  "success": true,
  "data": {
    "wpm": 200,
    "words": 4,
    "minutes": 0.02,
    "seconds": 2
},
  "meta": {
    "tool": "reading_time",
    "credits_consumed": 1
  }
}
HTTP/1.1 422 Unprocessable Entity ERROR
{
  "success": false,
  "data": null,
  "error": {
    "code": "validation_error",
    "message": "The given data was invalid."
  }
}

Sign in to try this tool directly from the docs.

Code Examples
Request Example
lightbulb Developer Tip

Credits are deducted before execution. If the upstream tool fails, credits are automatically refunded to your account.