API Documentation

Use your API key with Authorization: Bearer YOUR_API_KEY or X-Pidgin-API-Key: YOUR_API_KEY.

Base URL: https://intelligence.pidginbible.com/wp-json/pidgin-translator/v1

GET /status

Basic API status and feature information.

Authentication: Public

GET /health

Operational health check for API, WordPress and Mistral configuration.

Authentication: Public

GET /languages

List supported languages.

Authentication: Public

POST /register-client

Create an API key and browser client_id.

Authentication: Public

POST /auth/token

Exchange a public client_id for a short-lived browser access token after Origin validation.

Authentication: Public

POST /translate

Translate up to 25 text items per request.

Authentication: API key or short-lived browser token required

POST /website/translate

Website Translation Engine endpoint for DOM text, attributes, AJAX and dynamic content.

Authentication: API key or short-lived browser token required

GET /website/script

Browser-side Website Translation Engine script.

Authentication: Public

GET /usage

View usage, subscription and plan limits for the authenticated key.

Authentication: API key or short-lived browser token required

GET /plans

List public subscription plans and limits.

Authentication: Public

POST /test-key

Validate a key and run a small translation test.

Authentication: API key or short-lived browser token required

GET /docs

Machine-readable API documentation.

Authentication: Public