全语言翻译数据 API
全语言翻译(All Languages Translator)是 HyperSoft AI - Apps Lab 推出的免费安卓翻译工具,把多语种文本与语音翻译和需要登录的英语口语练习服务放进同一个应用。翻译界面之外,它还内置英语词典(音标、释义与例句)、货币换算器,以及可随时提问的 AI 导师聊天。练习部分按性别、英语水平和职业为学习者匹配实时语音通话搭档,可以把搭档加为好友后直接拨打,好友请求与消息汇集在应用内收件箱,搭档搜索面板还会显示当前在线的学习者人数。每次通话结束后,AI 教练会从流利度、语法和词汇三方面为对话打分,并逐句纠正转写中的错误;通话会消耗每周的练习分钟额度,账户也可以升级为高级版。用户主要分布在美国、印度、印尼和巴西——既有需要快速翻译一句话或换算价格的旅行者,也有想练英语口语的学习者——使它介于普通翻译工具与口语陪练应用之间。
匹配成功的练习通话是这里的核心记录:每次匹配带有 callId 与 roomId,搭档卡片包含 english_level、country、interests 和 rating_average,学习者仍在排队时则返回 waitingForPartner 标志。通话记录补充 direction、durationSeconds、startedAt 与 endedAt,每通电话的 AI 复盘给出 fluency、grammar、vocabulary 和 overall 四项评分,并附 original / corrected 句子对和 mistakes 列表。学习者资料记录 profession、location_city、location_country_code、is_user_premium 以及每周分钟账目(weekly_total_minutes、weekly_used_minutes、weekly_remaining_minutes);好友列表给出 user_online_status,收件箱把每条消息标为好友请求、推送消息或用户消息并附 unread_count,面板计数器则发布实时 onlineCount。查询类记录补全整套数据:按源语言与目标语言(sl、tl)索引的翻译、带 phonetic、partOfSpeech、definition 与 example 的词典条目,以及按 fromCurrency 和 date 组织的汇率表。
语言学习 CRM 可以把学习者资料、好友列表与好友详情拼成练习搭档图谱,涵盖城市、english_level 与在线状态;辅导仪表盘可以从通话记录和复盘中按学习者、按周绘制四项口语评分;运营看板可以对比 onlineCount 与排队中的 waitingForPartner 匹配,掌握实时匹配容量;旅行助手则可以把一句译文、对应的词典条目和实时货币换算放在一起展示。openData Studio 把这些通话、评分、在线状态与查询记录变成可供上述应用调用的开放数据。
应用截图
API 端点一览
以下端点与请求/响应示例均依据应用界面推导重构,为示意说明,并非实际抓包。
校验 Firebase ID token
POST
/v1/auth/session/verifyosint用 Firebase ID token 换取已登录的语音通话资料(email、firebase_uid、每周分钟数、所在地、性别、最近一次通话搭档)。
认证方式: JSON 请求体中以 idToken 携带 Firebase ID token。后续请求发送 Authorization: Bearer <firebase-id-token> 以及 X-Device-FID 设备安装头部。
- idToken
- message
- user
- id
- firebase_uid
- name
- english_level
- location_city
- location_country
- location_country_code
- is_user_premium
- weekly_total_minutes
- weekly_used_minutes
- weekly_remaining_minutes
- gender
- avatar_id
- unread_count
POST /v1/auth/session/verify HTTP/1.1 Content-Type: application/json X-Device-FID: <device-installation-id> { "idToken": "<firebase-id-token>" }{ "message": "ok", "user": { "id": "usr_8f3c1d2e", "firebase_uid": "firebaseUid-01", "email": "[email protected]", "name": "Ada Khan", "about": "Practicing business English", "profession": "Software Engineer", "goal": "Fluency", "interest": ["travel", "tech"], "english_level": "B2", "partner_preference": "any", "location_city": "Karachi", "location_country": "Pakistan", "location_country_code": "PK", "notifications": true, "notify_me_available": true, "user_online_status": true, "is_user_premium": false, "created_at": "2026-01-12T08:14:00Z", "updated_at": "2026-09-26T11:02:00Z", "account_status": "active", "account_violation_reasons": [], "weekly_total_minutes": 120, "weekly_used_minutes": 18, "weekly_remaining_minutes": 102, "week_start_time": "2026-09-22T00:00:00Z", "gender": "FEMALE", "avatar_id": "12", "unread_count": 2, "last_call_id": "call_91ab", "last_call_partner_id": "usr_partner", "last_call_partner_name": "Jordan Lee", "last_call_partner_gender": "MALE", "last_call_partner_avatar_id": "4", "last_call_duration_seconds": 312, "last_call_ended_at": 1758873600000, "account_cool_down_remaining_ms": 0, "account_cool_down_total_ms": 0, "account_cool_down_start_ms": 0 } }获取已登录用户资料
GET
/v1/speakers/meosint读取当前练习通话资料,包括 weekly_remaining_minutes(当该值不大于 0 时客户端会阻止搭档搜索)。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- message
- user
- id
- firebase_uid
- name
- profession
- english_level
- location_city
- location_country_code
- user_online_status
- is_user_premium
- weekly_remaining_minutes
- gender
- avatar_id
- unread_count
GET /v1/speakers/me HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "user": { "id": "usr_8f3c1d2e", "firebase_uid": "firebaseUid-01", "email": "[email protected]", "name": "Ada Khan", "profession": "Software Engineer", "english_level": "B2", "location_city": "Karachi", "location_country": "Pakistan", "location_country_code": "PK", "user_online_status": true, "is_user_premium": false, "account_status": "active", "weekly_total_minutes": 120, "weekly_used_minutes": 18, "weekly_remaining_minutes": 102, "gender": "FEMALE", "avatar_id": "12", "unread_count": 2 } }更新用户资料
PUT
/v1/speakers/meosint写入练习通话资料中可编辑的身份字段(name、about、profession、english_level、location、gender、avatar_id)。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- name
- about
- profession
- goal
- interest
- english_level
- partner_preference
- location_city
- location_country
- location_country_code
- notifications
- notify_me_available
- user_online_status
- gender
- avatar_id
PUT /v1/speakers/me HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id> Content-Type: application/json { "name": "Ada Khan", "about": "Practicing business English", "profession": "Software Engineer", "goal": "Fluency", "interest": ["travel", "tech"], "english_level": "B2", "partner_preference": "any", "location_city": "Karachi", "location_country": "Pakistan", "location_country_code": "PK", "notifications": true, "notify_me_available": true, "user_online_status": true, "gender": "FEMALE", "avatar_id": "12" }{ "message": "updated", "user": { "id": "usr_8f3c1d2e", "name": "Ada Khan", "english_level": "B2", "location_city": "Karachi", "location_country_code": "PK", "gender": "FEMALE", "avatar_id": "12", "updated_at": "2026-09-26T11:20:00Z" } }匹配练习搭档
POST
/v1/matchmaking/partnerosint按 gender / english_level / profession 匹配实时英语练习搭档,并返回 RTC 房间凭证与搭档身份卡片。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- gender
- english_level
- profession
- callId
- roomId
- status
- zegoAppId
- zegoUserId
- token
- tokenExpireInSeconds
- waitingForPartner
- partner
- id
- name
- avatar_id
- rating_average
- is_friend
- country
- interests
POST /v1/matchmaking/partner HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id> Content-Type: application/json { "gender": "FEMALE", "english_level": "B2", "profession": "Software Engineer" }{ "message": "matched", "callId": "call_91ab", "roomId": "room_44c1", "status": "matched", "zegoAppId": 1234567890, "zegoUserId": "usr_8f3c1d2e", "token": "<rtc-room-token>", "tokenExpireInSeconds": 3600, "waitingForPartner": false, "partner": { "id": "usr_partner", "name": "Jordan Lee", "gender": "MALE", "avatar_id": "4", "about": "IELTS practice", "rating_average": 4.6, "is_friend": false, "english_level": "B2", "country": "IN", "profession": "Student", "interests": ["movies"] } }获取通话历史
GET
/v1/sessions/historyosint返回过往的练习通话,含搭档身份、durationSeconds、direction 与时间戳。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- message
- calls
- callId
- roomId
- status
- direction
- durationSeconds
- startedAt
- endedAt
- createdAt
- partner
- name
- country
- english_level
GET /v1/sessions/history HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "calls": [ { "callId": "call_91ab", "roomId": "room_44c1", "status": "ended", "direction": "outgoing", "durationSeconds": 312, "startedAt": "2026-09-26T10:00:00Z", "endedAt": "2026-09-26T10:05:12Z", "createdAt": "2026-09-26T10:00:00Z", "partner": { "id": "usr_partner", "name": "Jordan Lee", "gender": "MALE", "avatar_id": "4", "english_level": "B2", "country": "IN", "profession": "Student", "rating_average": 4.6, "is_friend": false } } ] }获取 AI 通话报告
GET
/v1/sessions/{callId}/reviewopendata返回通话后的 AI 辅导报告:fluency/grammar/vocabulary/overall 评分,以及来自通话文本的纠错句子。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- call_id
- duration_seconds
- ended_at
- has_transcript
- can_regenerate
- regenerated
- result
- scores
- fluency
- grammar
- overall
- vocabulary
- summary
- sentences
- original
- corrected
- start_ms
- mistakes
GET /v1/sessions/call_91ab/review HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "call_id": "call_91ab", "duration_seconds": 312, "ended_at": "2026-09-26T10:05:12Z", "has_transcript": true, "can_regenerate": true, "regenerated": false, "result": { "scores": { "fluency": 7.4, "grammar": 6.8, "overall": 7.1, "vocabulary": 7.0 }, "summary": "Clear B2 conversation about travel plans.", "unclear": [], "sentences": [ { "id": 1, "start_ms": 1200, "original": "I go to market yesterday", "corrected": "I went to the market yesterday", "mistakes": [] } ], "strengths": [], "moderation": [] } }获取好友列表
GET
/v1/contactsosint列出已接受的好友,含在线状态(user_online_status)、国家、职业与 avatar_id。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- message
- friends
- friendshipId
- id
- name
- avatar_id
- profession
- gender
- country
- user_online_status
GET /v1/contacts HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "friends": [ { "friendshipId": "fs_22", "id": "usr_partner", "name": "Jordan Lee", "avatar_id": "4", "profession": "Student", "gender": "MALE", "country": "IN", "user_online_status": true } ] }获取好友资料
GET
/v1/contacts/{friendId}/profileosint为好友详情页水合好友身份卡片,包括 email、城市/国家与 english_level。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- message
- friend
- friendshipId
- id
- name
- avatar_id
- user_online_status
- about
- interest
- profession
- english_level
- location_city
- location_country
- location_country_code
- gender
GET /v1/contacts/usr_partner/profile HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "friend": { "friendshipId": "fs_22", "id": "usr_partner", "name": "Jordan Lee", "email": "[email protected]", "avatar_id": "4", "user_online_status": true, "about": "IELTS practice", "interest": ["movies"], "profession": "Student", "english_level": "B2", "location_city": "Bengaluru", "location_country": "India", "location_country_code": "IN", "gender": "MALE" } }获取在线用户数
GET
/v1/presence/onlineopendata返回搭档搜索面板上显示的实时 onlineCount。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- message
- onlineCount
GET /v1/presence/online HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "onlineCount": 1842 }获取通知列表
GET
/v1/inboxosint返回应用内收件箱(friend_request / fcm_message / user_message)以及 unread_count。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- message
- unread_count
- notifications
- id
- title
- body
- type
- created_at
- avatar_id
- gender
- friendship_id
GET /v1/inbox HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id>{ "message": "ok", "unread_count": 2, "notifications": [ { "id": "ntf_01", "title": "Friend request", "body": "Jordan Lee sent you a friend request", "type": "friend_request", "created_at": "2026-09-26T09:40:00Z", "avatar_id": "4", "gender": "MALE", "friendship_id": "fs_22" } ] }呼叫好友
POST
/v1/sessions/directosint向某个 friendId 发起直接语音通话,并返回 RTC 房间凭证与搭档卡片。
认证方式: Authorization: Bearer <firebase-id-token>;X-Device-FID 设备安装头部。
- friendId
- message
- type
- callId
- roomId
- role
- status
- zegoAppId
- zegoUserId
- token
- tokenExpireInSeconds
- partner
POST /v1/sessions/direct HTTP/1.1 Authorization: Bearer <firebase-id-token> X-Device-FID: <device-installation-id> Content-Type: application/json { "friendId": "usr_partner" }{ "message": "ringing", "type": "outgoing", "callId": "call_a2c4", "roomId": "room_77e0", "role": "caller", "status": "ringing", "zegoAppId": 1234567890, "zegoUserId": "usr_8f3c1d2e", "token": "<rtc-room-token>", "tokenExpireInSeconds": 3600, "partner": { "id": "usr_partner", "name": "Jordan Lee", "gender": "MALE", "avatar_id": "4", "english_level": "B2", "country": "IN", "is_friend": true } }翻译文本
GET
/v1/translate/textopendata在源语言与目标语言之间翻译自由文本;客户端把返回的分段拼接为显示的字符串。
认证方式: 无。公共翻译查询,携带客户端标记、源/目标语言代码以及原始查询文本。
- sl
- tl
- q
- client
- dt
GET /v1/translate/text?client=app&dt=t&sl=en&tl=es&q=good%20morning HTTP/1.1{ "segments": [ { "translated": "buenos días", "original": "good morning" } ], "detected_source": "en" }OpenAI 聊天补全
POST
/v1/tutor/chatopendata驱动应用内 AI 辅导 / 洞察聊天(gpt-3.5-turbo,temperature 0.7,max_completion_tokens 500),并使用语言代码系统提示词。
认证方式: 每次调用均携带 Authorization: Bearer <api-key> 与 Content-Type: application/json。
- model
- messages
- role
- content
- temperature
- max_completion_tokens
- id
- created
- choices
- index
- message
POST /v1/tutor/chat HTTP/1.1 Authorization: Bearer <api-key> Content-Type: application/json { "model": "gpt-3.5-turbo", "messages": [ {"role": "system", "content": "Reply all chats only in `es` language code"}, {"role": "user", "content": "How do I say good morning?"} ], "temperature": 0.7, "max_completion_tokens": 500 }{ "id": "chatcmpl-8f3c", "created": 1758873600, "model": "gpt-3.5-turbo", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Buenos días." } } ] }英语词典查询
GET
/v1/dictionary/entries/{word}opendata为应用内词典面板查询英语单词(phonetic、meanings、definitions、examples)。
认证方式: 无。公共词典数据源。
- word
- phonetic
- meanings
- partOfSpeech
- definitions
- definition
- example
GET /v1/dictionary/entries/hello HTTP/1.1[ { "word": "hello", "phonetic": "/həˈloʊ/", "meanings": [ { "partOfSpeech": "noun", "definitions": [ { "definition": "A greeting.", "example": "She gave a cheerful hello." } ] } ] } ]货币汇率换算
GET
/v1/fx/rates/{fromCurrency}opendata获取 fromCurrency 的最新汇率表,供应用内换算器把金额换算为 toCurrency。
认证方式: 无。公共货币汇率数据源。
- date
- fromCurrency
GET /v1/fx/rates/usd HTTP/1.1{ "date": "2026-09-26", "usd": { "inr": 83.21, "idr": 15420.5, "brl": 5.42, "eur": 0.91 } }
数据类别
- 资料
- 搭档匹配
- 通话历史
- AI 评分
- 在线状态
- 通知
- 翻译
- 词典
- 汇率
数据使用场景与案例
练习搭档身份图谱
语言学习 CRM 可关联 /v1/speakers/me、/v1/contacts 与 /v1/contacts/{friendId}/profile,构建含 email、城市、english_level 与在线状态的练习搭档图谱。
口语评分时间序列
辅导仪表盘可先轮询 /v1/sessions/history 再查 /v1/sessions/{callId}/review,按学习者每周绘制 fluency、grammar、vocabulary 与 overall 评分曲线。
实时匹配容量
运营看板可关注 /v1/presence/online 及匹配的 waitingForPartner 标记,查看排队与已匹配的学习者数量。
翻译加汇率叠加
旅行助手可调用 /v1/translate/text 查询、词典词条与 /v1/fx/rates/{fromCurrency} 汇率表,展示短语并叠加实时货币换算。
常见问题
全语言翻译如何认证语音通话 API?
客户端把 Firebase idToken 提交到 POST /v1/auth/session/verify,随后在 GET /v1/speakers/me、POST /v1/matchmaking/partner 等调用中发送 Authorization: Bearer <firebase-id-token> 与 X-Device-FID 设备头。
哪些字段标识匹配到的练习搭档?
POST /v1/matchmaking/partner 返回 partner.id、name、gender、avatar_id、english_level、country、profession、interests、rating_average 与 is_friend,以及 callId、roomId、zegoAppId、zegoUserId 和 token。
流利度评分存储在哪里?
GET /v1/sessions/{callId}/review 返回 result.scores(fluency、grammar、overall、vocabulary),以及 sentences[].original / corrected 和 duration_seconds。
哪些公共源驱动翻译与汇率?
文本翻译用 GET /v1/translate/text(sl、tl、q)。AI 辅导提交到 POST /v1/tutor/chat。词典查询用 GET /v1/dictionary/entries/{word}。汇率用 GET /v1/fx/rates/{fromCurrency} 获取以基础货币为键的汇率表。
与 All Languages Translator 相似的应用
- Google Translate — 谷歌翻译在线覆盖 100 多种语言(打字离线包超过 50 种),并提供相机翻译和把译文朗读出来的实时对话模式。
- Microsoft Translator — 微软翻译支持 60 多种语言,可进行最多 100 人的双向对话,安卓端还有自动模式,无需每次点麦克风就能监听双方语言。
- DeepL Translate — DeepL 翻译覆盖 29 种语言,可用键盘或麦克风输入,并提供识别菜单和路牌的相机模式。
- Naver Papago — Naver Papago 可在 13 种语言间实时翻译文本、图片和语音,并支持离线使用与手写输入。
- iTranslate — iTranslate 是覆盖 100 多种语言的免费 iOS/安卓应用,付费档提供语音翻译、相机翻译和离线语言包。
- SayHi Translate — SayHi Translate 由亚马逊旗下 SayHi LLC 推出,面向 101 多种语言和方言的双语语音对话,对话模式会自动识别所选的两种语言。
相关主题
- 全语言翻译 API
- HyperSoft 语音通话资料
- 搭档匹配 english_level
- Firebase idToken 认证
- AI 流利度语法评分
- 文本翻译 API
- 词典词条 API
- 货币汇率 API
需要集成这个 App 的数据 API?
我们可为任意指定 App 交付定制集成——源码交付 USD 500 起,或托管 API 按调用计费。告诉我们您需要的数据即可。
- 每个项目均签 NDA 与 SOW
- 3–7 天交付
- 验收通过后才付款
- 仅在授权范围内作业