The Toolbox Pro REST API lets you integrate readability scoring and health literacy compliance checking directly into your EHR, CMS, document management system, or any custom application. Available on Team and Enterprise plans.
⚡ Team plan required. API access is included with Team ($149/mo) and Enterprise plans. Upgrade your plan →
All requests return JSON. All inputs accept plain text. The API processes documents synchronously for single analyses and asynchronously for bulk jobs.
Authentication
All API requests must include your API key in the Authorization header using Bearer token format. Find your API key in the dashboard under Settings → API.
⚠️ Never expose your API key in client-side code or public repositories. Rotate keys immediately if compromised.
Base URL & Versioning
Every request to the Toolbox Pro API is made to a single base URL. All endpoints documented here are relative paths appended to this base — you never call an endpoint on its own.
Production Base URL
https://api.cleartext.health/v1
How to Read the URL
https://api.cleartext.health/v1/analyze
Protocol — https://All API traffic is encrypted over TLS. HTTP requests are not accepted.
Domain — api.cleartext.healthThe dedicated API subdomain. Separate from the web app at cleartext.health.
Version — /v1The API version. Pinned so changes to future versions never break your integration.
Endpoint — /analyzeThe specific operation you're calling. Changes with each request.
Constructing a Full Request URL
Always combine the base URL with the endpoint path. Never call an endpoint path on its own.
# Base URL
https://api.cleartext.health/v1
# Endpoint path (as shown in these docs)
/analyze
# Full URL you actually call
https://api.cleartext.health/v1/analyze
# Another example — history endpoint
https://api.cleartext.health/v1/history?limit=20&page=1
In Code
We recommend storing the base URL as a constant in your code so you only ever need to update it in one place.
The API version is part of the URL path (/v1). This means your integration is pinned to a specific version — we can release new versions without breaking your existing code.
Version
Status
Base URL
Notes
v1
Active
api.cleartext.health/v1
Current stable version. All new integrations should use v1.
v2
Planned
api.cleartext.health/v2
In development. Will be announced with a 90-day migration window before v1 deprecation.
📌 Version stability guarantee. We will never introduce breaking changes to /v1. When a new version ships, you'll receive at least 90 days notice before v1 is deprecated, giving you time to migrate on your own schedule.
Environments
The API currently operates in a single production environment. A sandbox environment for testing without affecting your usage quota is on the roadmap.
Environment
Base URL
Status
Notes
Production
api.cleartext.health/v1
Live
Real data. Counts against your rate limits and monthly quota.
Sandbox
sandbox.cleartext.health/v1
Coming Soon
Test your integration freely. No quota usage, no real data stored.
⚠️ Always use HTTPS. The API does not accept plain HTTP connections. Requests over HTTP will be rejected with a connection error before reaching our servers.
Rate Limits
Plan
Single /analyze
Bulk /analyze/bulk
Monthly total
Pro
60 req / min
5 jobs / hour
10,000
Team
200 req / min
20 jobs / hour
Unlimited
Enterprise
Custom
Custom
Custom
Rate limit headers are returned with every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
Analyze Text
Score a single document against all readability formulas and healthcare compliance standards.
POST/analyzeSingle document analysis
curl -X POST https://api.cleartext.health/v1/analyze \
-H "Authorization: Bearer tb_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"text": "Following your myocardial infarction, it is imperative that you adhere to your prescribed pharmacological regimen...",
"name": "Discharge Instructions v3",
"standards": ["ahrq", "ama", "joint_commission"],
"save": true
}'
Request Body Parameters
Parameter
Type
Required
Description
text
string
Required
The document text to analyze. Plain text, max 100,000 characters.
name
string
Optional
Human-readable document name for history and exports.
standards
array
Optional
Compliance standards to check: "ahrq", "ama", "joint_commission", "nih". Defaults to all.
save
boolean
Optional
If true, saves result to your analysis history. Default: false.
metadata
object
Optional
Arbitrary key-value pairs attached to the result (e.g. department, author, version).