# DocScout API: overview

> One public endpoint, `POST /api/audit`, runs the same free LLM-readiness audit as the form on https://getdocscout.com/. No API key needed. Machine-readable spec: [https://getdocscout.com/openapi.json](https://getdocscout.com/openapi.json).

Base URL `https://getdocscout.com` · JSON over HTTPS

**API v1.0.0** (stable) · Last updated 2026-10-10 · [Changelog](https://getdocscout.com/docs/api/changelog)

Docs: [Overview](https://getdocscout.com/docs/api) · [POST /api/audit](https://getdocscout.com/docs/api/audit) · [Errors](https://getdocscout.com/docs/api/errors) · [Changelog](https://getdocscout.com/docs/api/changelog) · [OpenAPI](https://getdocscout.com/openapi.json)

## Quickstart

Send the docs URL you want audited. Expect a 20–60 second response.

```bash
curl -X POST https://getdocscout.com/api/audit \
  -H "Content-Type: application/json" \
  -d '{"url": "https://docs.stripe.com/api"}'
```

```javascript
const res = await fetch("https://getdocscout.com/api/audit", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ url: "https://docs.stripe.com/api" }),
});
if (res.status === 429) console.log("Retry after", res.headers.get("retry-after"), "s");
const audit = await res.json();
console.log(audit.overall, audit.alerts.map((a) => a.title));
```

```python
import requests

r = requests.post("https://getdocscout.com/api/audit", json={"url": "https://docs.stripe.com/api"}, timeout=120)
r.raise_for_status()
audit = r.json()
print(audit["overall"], [a["title"] for a in audit["alerts"]])
```

## Authentication

None. The endpoint is public and free. Abuse protection is done with rate limits, not keys.

## Rate limits and caching

| Limit | Value | Error `code` |
|---|---|---|
| Per IP | 3 audits per day | `ip_limit` |
| Per network (/24) | 8 audits per day | `net_limit` |
| Global | daily cap across all users | `daily_cap` |

Limits reset at 00:00 UTC. A 429 response includes `Retry-After` (seconds until reset). Results are cached for 24 hours per normalized URL (`cached: true`), and cached results and failed audits don't count toward your limit.

## Next steps

- [POST /api/audit reference](https://getdocscout.com/docs/api/audit): request and response fields, and how to process results.
- [Errors](https://getdocscout.com/docs/api/errors): every status with JSON examples, retry code and recovery steps.
- [Changelog](https://getdocscout.com/docs/api/changelog): versions and deprecation policy.

## Not available via API

The paid [Fix Report](https://getdocscout.com/pricing) is purchased on the website, not through the API.
