{"service":"apple-iap-worker","version":"1.0.0","description":"查询任一 App 的内购/订阅 productId 列表 (StoreKit productIdentifier)。基于 Apple Configurator session 调用 itunes.apple.com viewSoftware,可拿到包括开发者未在 App Store 商品页展示的隐藏 IAP (覆盖率约 95%)。","endpoints":{"GET /iap":{"auth":"X-API-Key 头 (或 ?api_key=)","params":{"bundleId":"bundle ID, 如 flux.inchmade.app","trackId":"数字 track ID, 如 393765873","url":"App Store 完整链接, 自动解析 trackId","country":"可选, 默认 us. 支持: us, cn, hk, tw, jp, gb, kr, de, fr, ca, au, in"},"threeWaysToProvideInput":"bundleId / trackId / url 三选一","response":{"ok":"boolean","trackId":"string","country":"string","app.{name,bundleId,artistName,userRating}":"App 元信息","iaps[].productId":"开发者在 ASC 配置的 productIdentifier","iaps[].salableAdamId":"Apple 内部 IAP 数字 ID","iaps[].priceMicroUnits":"价格 × 1000","iaps[].priceFormatted":"价格字符串","iaps[].productType":"A=IAP/订阅, B=Bundle, C=主App"}},"POST /tg/<WEBHOOK_SECRET>":"Telegram webhook (内部使用)"},"supportedCountries":["us","cn","hk","tw","jp","gb","kr","de","fr","ca","au","in"]}