# AnyTUS 应用与包名字典 > Public application dictionary and official-store lookup API. Resolve application names, > Android package names, iOS bundle identifiers, App Store IDs, and maintained aliases. > Canonical website: https://dict.ui.sb/ ## Entry points - [Interactive search](https://dict.ui.sb/): local dictionary, online lookup, batch lookup, candidate selection, CSV export. - [This document](https://dict.ui.sb/llms.txt): identical content is available at /llm.txt. - [API usage](https://dict.ui.sb/README.txt): human-readable integration notes. - [Dictionary](https://dict.ui.sb/api/dictionary): the complete maintained dictionary (gzip JSON, several MB). - [Dictionary JSON](https://dict.ui.sb/package_dict.json): the same dictionary as a static file. - [Dictionary CSV](https://dict.ui.sb/package_dict.csv): the dictionary for spreadsheets. - [In-app purchase prices](https://dict.ui.sb/api/iap?id=6448311069): read-only App Store price comparison across storefronts. - [Build metadata](https://dict.ui.sb/version.json): dictionary date, build date, counts and JSON SHA-256. - [Health](https://dict.ui.sb/api/health): service status, record count and dictionary date (storage is "none"). ## Access and side effects HTTPS, no API key, JSON responses, and cross-origin browser access are supported. /api/lookup (GET and POST) saves exact App Store ID / package results after official-store verification: a new record, or one more store verification on the existing record of that package and platform (maintained names and codes are kept). Name searches return candidates and never save. Only perform lookups that may save when that is authorized by whoever asks. Every other public endpoint is read-only. Maintainers correct, hide and add records in /console. The former endpoints /api/save, /api/changes, /api/manual and /api/overrides answer HTTP 410. ## Preferred lookup API Use the small lookup response for individual questions; avoid downloading the full dictionary for each query. Keep numeric identifiers as strings. GET https://dict.ui.sb/api/lookup?q=414478124&platform=ios&country=cn GET https://dict.ui.sb/api/lookup?q=com.tencent.mm&platform=android GET https://dict.ui.sb/api/lookup?q=%E7%BE%8E%E5%9B%A2&platform=android&mode=name POST https://dict.ui.sb/api/lookup Content-Type: application/json {"queries":["414478124","com.tencent.mm"],"platform":"all","country":"cn","mode":"auto"} Parameters: - queries: 1–20 nonempty strings per online request. For store lookups, keep each input at most 220 characters. GET uses q and accepts comma/newline-separated inputs. - platform: all (default), ios, android. Specify the platform when it is known. - mode: auto (default), id (App Store ID), package (Android package/iOS bundle), name. - country: cn (default), us, hk, tw, jp, kr, sg, gb. Affects Apple store availability. - forceExternal: optional boolean in POST; GET equivalent is refresh=1. Asks the stores even when the dictionary already has a complete store-verified record. - POST bodies must be valid JSON and no larger than 16 KiB. Response shape: {"results":[{"query":"...","status":"exact","origin":"dictionary","saved":false,"hits":[]}],"warnings":[],"source_errors":[],"notes":[],"version":{"dictionary_updated":"...","live_updated":"..."}} Read results[].hits. Useful hit fields include package, app_name, os, kind, aliases, app_store_id (Apple), store_id (Android), source, source_url, verified_at, match_type, version, unverified, flags and saved. Optional fields may be absent. hit.saved=true means the hit is a store-verified record in the dictionary (possibly saved by this request); result.saved=true means this request saved something. Each package+platform is one record: records[key].stores lists every store verification (source, name, source_url, verified_at, ids); the preferred one is mirrored in the top-level source fields. os is an array; an empty array means the platform is unknown, not Android or iOS. source can be apple, tencent, vivo, xiaomi or manual; maintained baseline entries may omit source. source=manual marks an internal app code entered by a maintainer: it maps codes (appgen) to a package and/or application name, carries updated_at instead of verified_at, and has no official store page. Treat it as maintained information, not as store verification. ## Sources and interpretation Apple uses the public iTunes lookup/search API. Empty regional results may be checked against the US store. Country and source_url identify the selected store result. Android uses official 应用宝 pages, the public vivo 应用商店 H5 store API and 小米应用商店 detail pages. 应用宝 and vivo answer name searches and package checks; Xiaomi has no public name search and is checked by package name (optionally for the first name candidates of the other stores). Maintainers choose which Android stores are asked; GET /api/health lists them in "stores" (on = names and packages, exact = packages only, off = not asked) and any store paused after repeated timeouts in "paused". A paused store is skipped and explained in notes, not reported as an error. No store CAPTCHA, signature or verification is bypassed. Names can return multiple applications, similar names or store search suggestions. Never equate the search term with every returned candidate. Choose using package/bundle, platform, App Store ID and official source page. An exact identifier result must match the returned official identifier. Display identifiers as "package | app_name" when both are known. kind=domain is a domain, not an installable application package. kind=itunes_id is an App Store identifier, not an iOS bundle identifier. Maintained app codes/aliases differ from packages and App Store IDs. Do not infer an unknown platform from the requested platform or from name similarity. Keep unverified and flags visible when using baseline information. HTTP 200 alone does not prove every source succeeded. Check warnings, source_errors, notes, hit identifiers and match_type. A source outage, redirect, block, timeout or empty regional result does not establish that an application does not exist. source_errors contains sanitized query/source/code/message/retryable fields, and may add via (edge, worker or direct: which egress read the store) and fallback (why the edge entry or Worker was skipped). Xiaomi name candidates that Xiaomi does not list are reported in notes. HTTP 4xx/5xx responses may contain error and message; handle them before reading results. Do not retry permanent validation errors or bypass a store restriction. ## In-app purchase prices (read-only) GET https://dict.ui.sb/api/iap?id=6448311069 GET https://dict.ui.sb/api/iap?id=6448311069&countries=us,tr,in Reads each storefront's public App Store product page and returns the listed in-app purchases with a CNY conversion. No storage is read or written. - id: App Store ID, 5–20 digits. countries: optional comma-separated storefront codes. The default covers 31 storefronts: Chinese (cn, hk, tw), reference (us, jp, kr, sg, gb, de, au, ca, ae) and common low-price storefronts (tr, eg, ng, pk, in, id, ph, vn, th, my, ar, br, mx, co, cl, za, pl, kz, ua). regions[].group is zh, ref or low. - regions[].status: ok (purchases listed), no_iap, unlisted_iap (page says purchases exist but lists none), not_listed (app not offered in that storefront), error. error.code geo_redirect means Apple redirected the service's request to another storefront; it does not mean the app is unavailable there. - items[]: name, price_text (as shown by the store), price (parsed amount in the storefront currency) and cny. regions[].currency comes from the product page. - cny uses Bank of China conversion rates published by currency.owo.nz first. Currencies without a BOC quote, or with a quote older than 7 days, use ExchangeRate-API daily rates (open.er-api.com; attribution "Rates By Exchange Rate API" required where shown). fx.rates gives cny_per_unit, source (boc, exchangerate-api, base), released_at and stale for the currencies used in that result only; it is not a general exchange-rate feed. Convert to another currency with cny / fx.rates[target].cny_per_unit. Currencies with no rate from either source keep cny=null and are listed in notes. - Product pages list only some top purchases. Prices are storefront list prices, not settlement prices, and exclude taxes or payment-channel differences. - Names are localized per storefront, so cross-region alignment is best-effort. Several purchases may share one name; align them only with care. - Responses may be cached for up to 20 minutes; a full query reads about 31 pages. - Pages are read from an egress outside mainland China when available. fetched_via counts regions by path (cloudflare or edgeone); regions[].via gives the path per storefront. ## Android APK link (read-only) GET https://dict.ui.sb/api/download?package=com.tencent.mm Reads the package's 应用宝 detail page on demand and returns its official APK link: {"available":true,"package","app_name","version","size" (bytes),"md5","url","source":"tencent","source_url"}. Only the card whose pkg_name equals the package is used, never a recommended app. When 应用宝 does not carry the package or gives no link: {"available":false,"message"}; a temporary store failure adds "retryable":true. The link is meant for a person's own browser: 应用宝's CDN answers servers and scripts with a bot check, and this service neither downloads, caches nor relays APK files. Links change with each version and are not stored in the dictionary. Verify downloads with md5. ## Icons (read-only) GET https://dict.ui.sb/api/icons?items=android:com.tencent.mm,ios:com.tencent.xin,appstore:414478124 1–24 comma-separated items of the form android:, ios: or unknown: plus a package / bundle ID, or appstore: plus an App Store ID. Returns {"icons":{"":{"icon","source","source_url"}|null}}. The returned store record must match the identifier exactly; null means no artwork was found. ## Download, pagination and dictionary keys The live `/api/dictionary` export is gzip-encoded to keep large responses complete through the hosting gateway. Use a gzip-capable HTTP client, for example `curl --compressed`, browser `fetch`, or Python `requests`. Python `urllib` callers must decode `Content-Encoding: gzip` before parsing JSON. `/api/lookup` keeps ordinary JSON responses. The optional `?encoding=identity` export is limited to 4 MiB and returns HTTP 413 above that size, rather than returning truncated JSON. /api/dictionary has records, alias_to_key, by_app_name, lookup, lookup_ci, stats and dictionary_updated. Record keys are opaque identifiers. Store-verified records carry source, source_url, verified_at and store identifiers (store_id, app_store_id); one package can have records from several sources and platforms, which are not automatically duplicates. For platform-aware resolution and store metadata, prefer /api/lookup over assuming that records[input] or a single alias_to_key entry describes every platform/source record. The dictionary date (published version) and each record's verified_at are different concepts. Cache downloads using version.json: the dictionary only changes with a new published version. ## Minimal JavaScript example const response = await fetch('https://dict.ui.sb/api/lookup?q=414478124&platform=ios'); const data = await response.json(); if (!response.ok) throw new Error(data.message || `HTTP ${response.status}`); for (const result of data.results) { for (const hit of result.hits) console.log(hit.package, hit.app_name, hit.os, hit.source); } console.log(data.warnings, data.source_errors); ## Scope This service supplies application identity metadata. Official source links are included for attribution and direct verification.