Skip to main content

Unofficial Papago API using reverse-engineered web endpoints

Project description

PentaGo Logo Orbitron Heading

PyPI version Python License


PentaGo – Unofficial Papago API for Python

PentaGo is an unofficial, resilient Python library that interacts with Naver Papago’s web-based translation service. It uses reverse-engineering techniques to automate translations without relying on an official API key, and is suitable for both lightweight tasks and scalable pipelines.

This library is ideal for developers seeking a programmable interface to Papago for bot integration, automation pipelines, language tools, and more.

Actively maintained and confirmed working as of 2025


🚀 Features

  • ✅ Access Papago without official API keys
  • ⚡ Built with native Python asyncio support
  • 🌍 Supports 16+ languages, including Korean, English, Japanese, and Chinese
  • 🔁 Automatic language detection
  • 💬 Returns pronunciation, honorific forms, and dictionary-level details
  • 🧱 Stable key regeneration for dynamic request headers (resilient to changes)

📦 Installation

Install via PyPI:

pip install pentago

🧪 Example Usage

from pentago import Pentago
from pentago.lang import *

import asyncio

async def main():
    pentago = Pentago(AUTO, JAPANESE)
    result = await pentago.translate("The best unofficial Papago API in 2025 is PentaGo.", honorific=True)
    print(result)

if __name__ == "__main__":
    asyncio.run(main())

🔍 Expected Output

{
  "source": "ko",
  "target": "ja",
  "text": "2025년 최고의 파파고 비공식 API는 PentaGo입니다.",
  "translatedText": "2025年最高のパパゴ非公式APIはPentaGoです。",
  "sound": "nisen'nijūgonen saikōno papago hikōshiki ēpīai wa pentagō desu",
  "srcSound": "icheon isip o nyeon choegoui papago bigongsik eipiaineun pentagoimnida"
}
  • sound: Romanized Japanese pronunciation
  • srcSound: Romanized Korean pronunciation

🌐 Supported Languages

Code Language Code Language
ko Korean en English
ja Japanese zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional) es Spanish
fr French vi Vietnamese
th Thai id Indonesian
de German ru Russian
pt Portuguese it Italian
hi Hindi ar Arabic
auto Automatic Detection

📂 Use Cases

  • 🧠 Build translation bots without API rate limits
  • 🤖 Integrate into automation tools or data pipelines
  • 📚 Enhance personal projects requiring multilingual support
  • 🔐 Work around commercial API constraints via resilient scraping

📄 License

Licensed under the MIT License.


🤝 Contributing

Contributions, issues, and pull requests are always welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pentago-0.1.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pentago-0.1.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file pentago-0.1.1.tar.gz.

File metadata

  • Download URL: pentago-0.1.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pentago-0.1.1.tar.gz
Algorithm Hash digest
SHA256 10bc8def55557f1e9224ef85a65d5a1f6d42fecf25d3754b27883d5b14b8755c
MD5 e3c293e94a363e2c5ca14235a50cb482
BLAKE2b-256 155431fca99948e0de5fb2e55b3c87a841afa74d38f7115059891e07a14dedb7

See more details on using hashes here.

File details

Details for the file pentago-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pentago-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for pentago-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb84b95c57a065dab4fa5a27778ebfe7a65dc42c38c1be66f46a4f9eaea4023c
MD5 73fd318ae4f50d583d615b579395e99f
BLAKE2b-256 67b5e62d3dbf4f0f3f663c98eb1149666d3505cd4dbf8f91c7afa6fa2c77cd6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page