Read Frog
Model Providers

DeepLX

DeepLX is a free, unofficial API with DeepL-like translation quality. Set it up in Read Frog: baseURL formats, API token placement and keyless endpoints.

Read Frog

Read Frog is an open-source browser extension for side-by-side translation of web pages and YouTube or X videos, with flashcards for the words and sentences you save. Install it first, then follow the steps below.

Install on Chrome60k+ Chrome users are using itOther browsersFirefoxEdge

What is DeepLX?

DeepLX is a free, unofficial API that provides DeepL-like translation quality through reverse engineering. It offers an alternative to the official DeepL API for developers who need high-quality translation services without the cost.

Flexible BaseURL Configuration

Read Frog supports flexible DeepLX baseURL configuration to work with different DeepLX providers. You can customize the baseURL to match your provider's specific endpoint format.

Token Placeholder Support

You can use the {{apiKey}} placeholder in your baseURL to insert your API token at any position. This is useful when different DeepLX providers require tokens in different URL formats.

Examples:

  1. Token in path: https://api.deeplx.com/{{apiKey}}/translate
  2. Token as query parameter: https://api.deeplx.com/v1/translate?token={{apiKey}}
  3. Token in subdomain: https://{{apiKey}}.api.deeplx.com/translate

The Base URL Is Used as Entered

Apart from filling in {{apiKey}}, Read Frog sends requests to the Base URL exactly as you enter it. It does not add /translate or insert the token for you, so enter your provider's full endpoint, which usually ends in /translate. The default is https://api.deeplx.org/{{apiKey}}/translate.

If your provider needs a token, put {{apiKey}} where the token belongs. The API Key field is only used to fill in this placeholder.

Configuration Examples

No API Token Required

Some DeepLX providers don't require authentication:

BaseURL: https://deeplx.vercel.app/translate
API Key: (leave empty)
Result: https://deeplx.vercel.app/translate

Token in Path

BaseURL: https://api.deeplx.com/{{apiKey}}/translate
API Key: your-secret-token
Result: https://api.deeplx.com/your-secret-token/translate

Token as Query Parameter

BaseURL: https://api.example.com/v1/translate?key={{apiKey}}
API Key: your-api-key
Result: https://api.example.com/v1/translate?key=your-api-key

Custom Endpoint with Token

BaseURL: https://deeplx.mydomain.com/api/{{apiKey}}/translate
API Key: abc123
Result: https://deeplx.mydomain.com/api/abc123/translate

Setting Up DeepLX in Read Frog

  1. Open Extension Options: Click the Read Frog extension icon and go to Options
  2. Navigate to API Providers: Go to the API Providers section
  3. Configure DeepLX:
    • Set Base URL to your provider's full endpoint, including /translate
    • If the provider needs a token, put {{apiKey}} where it belongs in the Base URL and enter the token as your API Key
    • Leave API Key empty for providers that don't need one
  4. Test Translation: Try translating some text to verify the configuration works

Common DeepLX Providers

Free Providers (No API Key)

  • https://deeplx.vercel.app/translate
  • https://deeplx.herokuapp.com/translate

Paid/Self-hosted Providers

  • https://api.deeplx.org/{{apiKey}}/translate (requires an API key; this is the default)
  • Your own self-hosted instance

Troubleshooting

URL Construction Issues

If you're having issues with URL construction:

  1. Check that the Base URL is the full endpoint: Read Frog does not add /translate, so the Base URL must include it
  2. Verify token placement: Make sure {{apiKey}} is in the correct position
  3. Test without token first: Try with a free provider to isolate configuration issues

Common Errors

  • "API key is required when using {{apiKey}} placeholder": You specified {{apiKey}} in the baseURL but didn't provide an API key
  • "DeepLX translation request failed": Check if your baseURL and API key are correct
  • Network errors: Verify the DeepLX provider is accessible and online

API Response Format

DeepLX providers should return JSON responses in this format:

{
  "data": "translated text here"
}

If you're setting up your own DeepLX instance, ensure it returns responses in this expected format.

On this page