Rephrase and improve text via DeepL Write with per-call crypto micropayments
What it does
This endpoint exposes DeepL's Write (rephrase) capability through the Locus MPP (Micropayment Protocol), settling payments on Tempo L2 in pathUSD. You send text along with a target language and optional style/tone parameters, and receive improved, rephrased text back. Supported target languages for rephrasing include German, English (US/GB), Spanish, French, Italian, and Portuguese (BR/PT). Writing style options are simple, business, academic, casual, or default, and tone options include enthusiastic, friendly, confident, diplomatic, or default.
Pricing starts at $0.025 per call and scales with text length. The payment method is "tempo" (pathUSD on Tempo L2) with a per-call charge intent, meaning each request is independently settled. The endpoint is a POST-only route; HEAD and GET probes return 404, which is expected since the OpenAPI spec defines only a POST method. The same Locus MPP gateway also hosts a /deepl/translate endpoint for translation and a /deepl/languages endpoint for listing supported languages.
The request schema requires two fields: `text` (the content to improve) and `target_lang` (language code). Optional fields `writing_style` and `tone` let you control the output register. No API key is needed — authentication and billing are handled entirely through the MPP 402 payment challenge flow.
Capabilities
Use cases
- —Improving draft emails or business documents by rephrasing for clarity and tone
- —Adjusting writing style (e.g., academic to casual) for multilingual content
- —Agents that polish user-generated text before publishing
- —Automated copy-editing pipelines that need per-call billing without API keys
- —Rephrasing text into a specific tone (confident, diplomatic) for customer communications
Fit
Best for
- —AI agents needing pay-per-call text improvement without subscription management
- —Developers who want DeepL Write access settled via crypto micropayments
- —Workflows requiring style and tone control over rephrased output
Not for
- —Full document translation (use the sibling /deepl/translate endpoint instead)
- —Languages not supported by DeepL Write rephrasing (currently limited to DE, EN, ES, FR, IT, PT)
- —High-volume batch processing where subscription pricing would be more economical
Quick start
curl -X POST https://deepl.mpp.paywithlocus.com/deepl/rephrase \
-H "Content-Type: application/json" \
-d '{"text": "This is a text that needs to be improved.", "target_lang": "en-US", "writing_style": "business", "tone": "confident"}'Example
Request
{
"text": "I think we should maybe consider looking into this option if possible.",
"tone": "confident",
"target_lang": "en-US",
"writing_style": "business"
}Endpoint
Quality
The OpenAPI spec provides a clear request schema, pricing description, and payment metadata for this endpoint. However, no actual 402 challenge was captured (POST was not probed), no response schema or example response is documented, and crawled pages returned only generic 404 messages. The endpoint is likely live for POST requests but liveness could not be directly confirmed.
Warnings
- —Probe used HEAD/GET which returned 404; the endpoint is POST-only per the OpenAPI spec, so liveness was not directly confirmed
- —No response schema or example response is available in the provided material
- —Pricing described as '$0.025+ (scales with text length)' but exact scaling formula is not documented
- —Rephrase target languages are limited to DE, EN-US, EN-GB, ES, FR, IT, PT-BR, PT-PT
Citations
- —Rephrase endpoint accepts text, target_lang (required), writing_style, and tone parametershttps://deepl.mpp.paywithlocus.com
- —Pricing starts at $0.025 and scales with text length, settled via Tempo in pathUSDhttps://deepl.mpp.paywithlocus.com
- —Supported rephrase languages: de, en-US, en-GB, es, fr, it, pt-BR, pt-PThttps://deepl.mpp.paywithlocus.com
- —Writing style options: simple, business, academic, casual, default; tone options: enthusiastic, friendly, confident, diplomatic, defaulthttps://deepl.mpp.paywithlocus.com
- —API reference available at developers.deepl.com; LLM docs at beta.paywithlocus.com/mpp/deepl.mdhttps://deepl.mpp.paywithlocus.com