Google Translation Scraper avatar
Google Translation Scraper

Pricing

$5.00/month + usage

Go to Store
Google Translation Scraper

Google Translation Scraper

dev_bodex/google-translation-scraper

Developed by

Festus Befgrp

Maintained by Community

This Google Translation Scraper Actor automates extracting translations for any input text from Google Translate. Built with Node.js and Puppeteer, it efficiently retrieves translations in multiple languages, providing structured data for use in language apps, research, or educational projects.

0.0 (0)

Pricing

$5.00/month + usage

1

Monthly users

1

Runs succeeded

>99%

Last modified

6 months ago

This Apify actor utilizes Google Translate to translate text between various languages. It's useful for scraping translations, automating multilingual content, and integrating translation capabilities into your workflows.

Features

  • Text Translation: Translate text from one language to another using Google Translate.
  • Multiple Language Support: Supports translations for a wide range of languages.
  • Automatic Language Detection: Detect the source language automatically when not provided.
  • Batch Translations: Translate multiple texts in one request.

Input

The actor accepts the following input parameters:

ParameterTypeDescription
sourceTextStringThe text you want to translate.
targetStringThe target language or language code (e.g., en for English, es for Spanish, fr for French).
sourceStringThe source language or language code (e.g., en for English, es for Spanish, fr for French).

Example Input

1{
2  "sourceText": "How are you",
3  "source": "en"
4  "target": "spanish",
5}

Output

The output is a JSON object containing the original text, the translated text, the source language, and other relevant data.

Example Output

1[{
2  "source": {
3    "language": "english",
4    "iso-code": "en",
5    "text": "How are you"
6  },
7  "target": {
8    "language": "spanish",
9    "iso-code": "es",
10    "text": [
11      "Cómo estás"
12    ]
13  }
14}]

#Usage

  • Deploy the Actor: Deploy this actor on Apify by uploading the source code and configuring the environment.
  • Run the Actor: You can run the actor with the Apify SDK or directly from the platform's console.
  • View the Output: The output will be available in the actor's execution results in JSON format.

Notes

Ensure the target and source provided is a valid language or language code (e.g., fr for French, de for German, en for English, es for Spanish).

Supported Languages

This actor supports all the languages available in Google Translate

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

1 day

Price

$5.00