AI & LLM
DeepL API mock API
DeepL API: multilingual (v3) and monolingual (v2) glossaries, document translation with polled status, style rules and style profiles; translate and write endpoints answer deterministic samples.
At a glance
- Operations
- 66
- Stateful operations
- 30
- Stateful resources
- 5
- Webhook events
- 0
- Vendor API version
- 3.14.0
- Verification
- Spec-verified
How it works
Use DeepL API without calling DeepL SE
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
authorization: DeepL-Auth-Key 00000000-0000-0000-0000-000000000000:fx State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Glossaries (v3, multilingual) | 8 |
| Glossaries (v2) | 5 |
| Document translation | 3 |
| Style rules | 10 |
| Style profiles | 5 |
Webhooks
Events your handlers can receive
This API sends no webhooks.
Coverage
66 operations
30 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 35 |
| Style rules | 10 |
| Glossaries (v3, multilingual) | 8 |
| Glossaries (v2) | 5 |
| Style profiles | 5 |
| Document translation | 3 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
1 operations cannot be checked against the specification.
Source and limits
License, source and limits
- Generated from the DeepL SE API description, licensed under MIT.
- DeepL SE API documentation
- Source specification
Each collection holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Stateful: multilingual (v3) and monolingual (v2) glossaries, document translation (status derived by age: queued under 500 ms, translating under 1.5 s, then done; the result downloads only when done, else 503) and style rules with custom instructions and style profiles. A fresh key owns one seeded glossary (id 11111111-1111-4111-8111-111111111111, visible in both v2 and v3; dictionaries en-de and the sampler stand-in pair ar-ar), one seeded finished document, one style rule with an instruction and one style profile. Translation, write, usage, language and the remaining operations answer deterministic schema-valid samples (no real translation, no quota or 456/429 behaviour). Glossary create/patch/replace accept one dictionary per request (a second one answers 400), language codes are echoed as sent (lower-case, as the response schemas define), entry_count is exact up to 100 entries and duplicate-key detection covers adjacent duplicate keys only. Document ids are 32 alphanumeric characters and keys 64 (the real API uses hex); a translated document can be downloaded repeatedly. Uploads above 1 MiB are rejected by the runtime with 413 (VS_MAX_BODY_BYTES). Glossary v2 create accepts the JSON body the spec describes. DeepL sends no outbound webhooks.
MaxoPerf is not affiliated with, endorsed by, or sponsored by DeepL SE. DeepL API is a trademark of its owner.