Translate Text API
Submit text with optional context, source language, and tone of voice. Track the job and collect translated content with from and to metadata. Text…
AI & machine learning#text-analysis
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Submit text with optional context, source language, and tone of voice. Track the job and collect translated content with from and to metadata.
Text Translation lets you submit text for translation as an asynchronous job, then check the job status and retrieve the translated result when it is ready.
Send a content string, and optionally include context, language, and voice_tone to guide the translation. context helps disambiguate terms, language specifies the language of the source content, and voice_tone lets you steer style toward a tone such as funny, joyous, or a named authorial voice. The submit endpoint returns a job_id immediately so you can track the translation without blocking your workflow.
Authenticate every request with your ApyHub token in the apy-token header. Documentation: https://apyhub.com/utility/sharpapi-translate-text
Endpoints 2
- POSTTranslate Text Submit Job
/sharpapi/translate-textSend the text you want translated in a JSON body to start a translation job. - GETTranslate Text Check Job Status
/sharpapi/translate-text/job/status/:job_idCheck the status of a translate-text job by its job_id.
API details
- Base URL
https://api.eu.apyhub.com- Authentication
- An API key in the apy-token header
- Operations
- 2 operations on 2 pathsGET 1POST 1
- Response formats
application/json- Description format
- OpenAPI 3.0.3, API version
1.0.0 - Links
- Documentation · OpenAPI document
How to test the Translate Text API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Translate Text API collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the apy-token header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Translate Text Submit Job” (POST /sharpapi/translate-text), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Translate Text API?
Submit text with optional context, source language, and tone of voice. Track the job and collect translated content with from and to metadata. Text… It is listed under AI & machine learning and has 2 endpoints.
Who publishes the Translate Text API?
It is listed from ApyHub's public API description (an OpenAPI document), not published by ApyHub on Swastik Codes. Anyone who controls apyhub.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Translate Text API?
Requests go to https://api.eu.apyhub.com. Endpoint paths are added to this base URL.
How do I authenticate with the Translate Text API?
With an API key in the apy-token header.
How many endpoints does the Translate Text API have?
2 operations on 2 paths (1 GET, 1 POST).
Is forking the Translate Text API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.