# MyMemory Translation Scraper (`parseforge/mymemory-translation-scraper`) Actor

Sends an array of texts to the MyMemory translation API and returns each source string with its translation, match score, and detected language as a flat row.

- **URL**: https://apify.com/parseforge/mymemory-translation-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 1 total users, 0 monthly users, 89.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 result items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### MyMemory Translation Scraper

**Translate batches of text through the MyMemory API, up to a million segments per run.** Each row returns the source text, the best machine translation, a match quality score, and the detected language. Export to CSV, JSON, Excel, or XML.

MyMemory is the world's largest translation memory, but calling its public API for bulk work means handling rate limits, email quotas, and pagination yourself. This Actor sends your list of texts to the MyMemory translation endpoint, respects the anonymous and authenticated quotas, and collects every result into one clean dataset. You pick the language pair from over 70 supported codes, and the Actor returns the translations with their match scores.

| Who uses it | What they scrape MyMemory for |
|---|---|
| Localization engineers | Pre-translate UI strings or help articles before sending them to human review. |
| Content managers | Generate first-draft translations of product descriptions for multiple markets. |
| Data analysts | Build parallel corpora by translating survey responses or social media comments. |
| App developers | Populate a translation table for an app's interface strings across several languages. |

### What it does

This Actor sends an array of texts to the MyMemory translation API and returns each source string alongside its translated text, match quality, and detected language as a flat row.

- 🌐 **70+ language pairs:** source and target languages from Afrikaans to Yiddish, including regional variants like en-GB and pt-BR.
- 📊 **Match quality score:** each result includes a match percentage so you can filter for high-confidence translations.
- 📧 **Quota uplift with email:** pass an optional email address to raise the anonymous daily limit through MyMemory's public parameter.
- 📋 **Batch input as a list:** paste up to a million strings in the text array, or leave it empty to run a 10-phrase travel sampler.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with MyMemory data

**🌍 Pre-translate a content inventory.**

A content team uploads 5,000 product titles in English and targets Spanish, French, and German, then exports the CSV to their TMS for post-editing.

**📊 Build a bilingual glossary.**

A linguist sends 2,000 domain-specific terms through the Actor and filters results with a match score above 80% to seed a termbase.

**📱 Localize an app's string table.**

A mobile developer pastes 500 UI strings, sets source to English and target to Japanese, and imports the JSON output directly into the project.

**📝 Translate open-ended survey responses.**

A researcher collects free-text answers in 10 languages, runs them through the Actor with auto-detected source, and analyzes the English translations.

### Why choose this scraper

|  | What you get |
|---|---|
| **No API wrapper to write** | Call the MyMemory endpoint with a list of strings and get structured results back. |
| **Quota handling built in** | The Actor respects the public rate limits and uses your email to lift the anonymous cap. |
| **Fixed output schema** | Every row has the same columns: source text, translation, score, and detected language. |

### How it compares

No other Store actor targets MyMemory the same way, so the honest comparison is with the alternatives teams actually weigh.

| | MyMemory Translation Scraper | Build it in-house | By hand |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When MyMemory changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |

### Configure the run

Drive the Actor with a list of texts and a language pair. The source and target language dropdowns set the translation direction, and the optional email field raises your daily quota. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "maxItems": 10,
  "texts": [
    "Hello, world!",
    "Good morning",
    "How are you?",
    "Thank you very much",
    "See you soon"
  ],
  "sourceLanguage": "en",
  "targetLanguage": "es"
}
```

A larger pull:

```json
{
  "maxItems": 200,
  "texts": [
    "Hello, world!",
    "Good morning",
    "How are you?",
    "Thank you very much",
    "See you soon"
  ],
  "sourceLanguage": "en",
  "targetLanguage": "es"
}
```

### Pricing

Pay-per-result: **$0.01333 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $1.33 |
| 1,000 results | $13.33 |
| 10,000 results | $133.30 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [MyMemory Translation Scraper](https://apify.com/parseforge/mymemory-translation-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to MyMemory through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/mymemory-translation-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that both the source and target language codes are set and that the texts array contains at least one non-empty string. If the array is empty, the sampler runs, but a run with an empty string may produce no output.

**The run stopped early and I only got a few translations.**

You likely hit the anonymous daily quota. Add a valid email address in the optional Email field and rerun. The MyMemory API raises the limit when an email is supplied.

**Some translations look wrong or are in the wrong language.**

Verify the source language code matches the actual language of your input texts. If you send Spanish text with source set to 'en', the translation quality will degrade.

**I get an error about an invalid language code.**

Use only the codes from the dropdown list. Free-form entries like 'esp' instead of 'es' will fail. Stick to the ISO codes provided in the input schema.

**The match score is always 0 or very low.**

A low match score means MyMemory found no close human translation for that segment. This is common for rare language pairs or very domain-specific text. The machine translation is still returned.

### FAQ

| Question | Answer |
|---|---|
| What is MyMemory? | MyMemory is a free translation memory built from the European Union's public documents and crowd-sourced corrections. It returns machine translations along with a match score that tells you how close the result is to a human-reviewed segment. |
| How many texts can I translate in one run? | You can set the maximum up to 1,000,000 items. The actual throughput depends on the MyMemory API rate limits and whether you supply an email to raise the anonymous quota. |
| Do I need a MyMemory API key? | No. The public endpoint works without authentication. Adding an email address in the optional field raises the daily quota, but no key or registration is required. |
| Which languages are supported? | Over 70 languages, from Afrikaans to Yiddish. The dropdowns include regional codes like en-GB, pt-BR, and zh-CN so you can target specific locales. |
| What does the match score mean? | It is a percentage that indicates how closely the returned translation matches an existing human translation in the MyMemory database. Higher scores usually mean more reliable output. |
| Can I leave the text list empty? | Yes. When the texts array is empty, the Actor runs a built-in sampler of 10 common travel phrases so you can test the output format before committing a large batch. |
| How do I export the translations? | The dataset is stored in Apify's key-value store and can be downloaded as CSV, JSON, Excel, or XML from the run console or via the API. |
| Does the Actor auto-detect the source language? | You must pick a source language from the dropdown. The MyMemory API can detect language in some cases, but this Actor sends the code you select to ensure consistent results. |
| Is there a cost to use MyMemory? | The MyMemory API is free for anonymous use up to a daily quota. Supplying an email raises that limit. The Actor itself consumes Apify platform credits based on run time. |
| Can I translate into multiple target languages at once? | One run translates from one source language to one target language. To get multiple targets, run the Actor once per language pair with the same input texts. |

### Related actors

- [website-content-crawler](https://apify.com/parseforge/website-content-crawler?fpr=vmoqkp): Use this to extract raw text from web pages that you can then feed into the MyMemory Translation Scraper as input texts.
- [youtube-transcript-scraper](https://apify.com/parseforge/youtube-transcript-scraper?fpr=vmoqkp): Use this to pull video transcripts in one language, then pipe the text into the MyMemory Translation Scraper for translation.

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Translated srl. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `maxItems` (type: `integer`):

How many translations to collect per run.

## `texts` (type: `array`):

Array of strings to translate. Each string becomes one record. Defaults to a 10-phrase travel sampler when empty.

## `sourceLanguage` (type: `string`):

ISO language code (e.g. en, en-GB, es, fr).

## `targetLanguage` (type: `string`):

ISO language code for the target.

## `notifyEmail` (type: `string`):

Optional email passed to MyMemory. Adding a valid email raises the anonymous daily quota.

## Actor input object example

```json
{
  "maxItems": 10,
  "texts": [
    "Hello, world!",
    "Good morning",
    "How are you?",
    "Thank you very much",
    "See you soon"
  ],
  "sourceLanguage": "en",
  "targetLanguage": "es"
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 10,
    "texts": [
        "Hello, world!",
        "Good morning",
        "How are you?",
        "Thank you very much",
        "See you soon"
    ],
    "sourceLanguage": "en",
    "targetLanguage": "es"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/mymemory-translation-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "maxItems": 10,
    "texts": [
        "Hello, world!",
        "Good morning",
        "How are you?",
        "Thank you very much",
        "See you soon",
    ],
    "sourceLanguage": "en",
    "targetLanguage": "es",
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/mymemory-translation-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 10,
  "texts": [
    "Hello, world!",
    "Good morning",
    "How are you?",
    "Thank you very much",
    "See you soon"
  ],
  "sourceLanguage": "en",
  "targetLanguage": "es"
}' |
apify call parseforge/mymemory-translation-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/mymemory-translation-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/B2nhbvKF8zGep04mq/builds/43h63MhRgHuU8EW0I/openapi.json
