API reference

Errors & limits

Status codes, rate limiting, idempotency, and account info.

Status codes

Common responses
200 / 201OKSuccess; 201 when a resource is created.
400Bad RequestBody or query failed validation.
401UnauthorizedMissing or invalid API key / token.
402Payment RequiredInsufficient credits.
403ForbiddenMissing scope or plan limit reached.
404Not FoundResource does not exist (or result not ready).
429Too Many RequestsRate limited; retry after a short delay.
502Bad GatewayA dependency (conversion, billing) is unavailable.

Rate limits & idempotency

Requests are rate limited per account. On a 429, back off and retry. Credit-spending POSTs accept an Idempotency-Key header so a retried request replays the original response instead of charging twice.

Account

GEThttps://api.markitdown.ai/meThe authenticated account
GEThttps://api.markitdown.ai/usageCredit usage and limits