App Store app ID: 4 Ways to Find It for Any iOS App
Originally published on Extenify. You need the App Store app ID for almost every integration: store links, review prompts, rating trackers and competitor lists. Apple uses several similar-looking identifiers, though, an
Originally published on Extenify.
You need the App Store app ID for almost every integration: store links, review prompts, rating trackers and competitor lists. Apple uses several similar-looking identifiers, though, and grabbing the wrong one is an easy way to waste an afternoon. Here is how to tell them apart and find the right one fast.
Which identifier do you actually need?
| Identifier | What it looks like | Who sets it |
|---|---|---|
| App Store app ID (shown as "Apple ID" in App Store Connect) | 284882215 |
Apple, when the app record is created; cannot be edited |
| Bundle ID | com.facebook.Facebook |
You, in Xcode; fixed after the first build upload |
| Provisioning App ID | Team ID prefix + bundle ID | You, in your developer account |
| SKU | MYAPP-IOS-01 |
You; internal only |
Developer ID (artistId) |
284882218 |
Apple, per developer account |
Rule of thumb: if a tool asks for an "App Store ID" or "iTunes ID", it wants the number. If it asks for a "bundle ID" or "package name", it wants the reverse-DNS string.
Find the ID of any public app
1. From the product URL. Take the digits after id in a link such as apps.apple.com/us/app/facebook/id284882215. The app name in the path is decorative, so a wrong or missing name still redirects to the right listing. On iOS, use Share on the app page to copy the link.
2. From Apple's marketing tools. Open tools.applemediaservices.com/app-store, pick a country and media type, then read the number between id and ? in the Content Link. Icons and developer names make it easier to spot the right listing when several apps look alike.
3. From the lookup API. No key is required:
https://itunes.apple.com/search?term=facebook&entity=software&country=us&limit=3
https://itunes.apple.com/lookup?bundleId=com.facebook.Facebook&country=us
https://itunes.apple.com/lookup?id=284882215&country=us
The ID comes back as trackId. Search is fuzzy, so confirm the developer name and bundle ID before saving anything.
Find the ID of your own app
- App Store Connect: open the app, then General, App Information, and read Apple ID. It exists as soon as the record is created, before review or release.
-
App Store Connect API: call
GET /v1/appswithfilter[bundleId]orfilter[sku]; the responseidis the same number. -
StoreKit 2:
AppTransaction.appIDreturns aUInt64?. It isnilin sandbox and Xcode test environments, so keep a fallback for test builds.
Four mistakes that break lookups
-
Ignoring the storefront. Lookups default to the US store. A Japan-only app (
1435783608) returnedresultCount: 0with a 200 status untilcountry=jpwas added, and its US product URL returned a 404. Store the country next to the ID. -
Overflowing 32-bit integers. Newer IDs have 10 digits, and
6760173601exceeds the signed 32-bit maximum of 2,147,483,647. Use strings or 64-bit integers. -
Mixing up app ID and bundle ID. Passing a bundle ID as
idreturned HTTP 400 with "Invalid value(s) for key(s): [itunesId]". -
Using a developer ID as an app ID. Developer URLs use
/developer/with the sameidpattern. To list a developer's apps, calllookup?id=<developer ID>&entity=software.
A tiny script that loops through candidate countries and returns the first software result avoids most of these. The Extenify author's version accepts a URL, numeric ID or bundle ID and runs on Node 22 with built-in fetch.
What the ID unlocks
- Product links:
https://apps.apple.com/app/id<ID> - Review prompts: append
?action=write-review, opened from a user tap - Smart App Banners:
<meta name="apple-itunes-app" content="app-id=..."> - Tracking ratings, versions and release notes per app and country
Google Play identifies apps by package name instead, and Chrome extensions use a 32-character ID, so keep each store's identifier in its own column.
Key takeaways
- The App Store app ID is the number after
idin the URL and is called "Apple ID" in App Store Connect. - It is assigned at record creation and never changes, even if the app is renamed.
- Lookups are per country; an empty result usually means a different storefront, not a removed app.
- Store IDs as strings or 64-bit integers.
- Do not confuse it with the bundle ID, SKU or developer ID.
For the full walkthrough with test results, read the guide on how to find an App Store app ID and look it up. If you track apps and extensions across stores, Extenify's app and extension analytics can keep those IDs and stats in one place.
Which identifier has tripped you up the most: the app ID, the bundle ID or the storefront?
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.