Guides · VersionPing

How to check an iOS app's latest App Store version (iTunes Lookup API)

Updated · By the VersionPing team

Short answer

Request https://itunes.apple.com/lookup?id=APP_ID&country=us, where APP_ID is the number after 'id' in the app's App Store link. Apple returns JSON with the current version, releaseNotes, currentVersionReleaseDate and other listing fields. No API key is needed. It shows only the latest version, so save results over time to keep a history.

Whether you want to know if your own release is live, or what version a competitor is on, Apple's public lookup endpoint answers it in one request.

The request

https://itunes.apple.com/lookup?id=389801252&country=us
  • id: the App Store ID, the number after "id" in the app's link.
  • country: the two-letter App Store country (us, gb, de, jp...). Versions can reach countries at slightly different times, and release notes are often translated, so ask for the country you care about.
  • You can look up by bundle ID instead: https://itunes.apple.com/lookup?bundleId=com.example.app&country=us.

From a terminal, with curl and jq installed:

curl -s "https://itunes.apple.com/lookup?id=389801252&country=us" \
  | jq '.results[0] | {trackName, version, currentVersionReleaseDate, releaseNotes}'

The fields you will use

FieldWhat it is
versionThe current version string, for example "4.2.0".
releaseNotesThe "What's New" text of the current version.
currentVersionReleaseDateWhen the current version was released.
trackNameThe app's name on the store.
artworkUrl512The icon. A new URL usually means a new icon.
screenshotUrls, ipadScreenshotUrlsThe screenshot images, in order.
price, formattedPriceThe upfront price (in-app purchases are not included).
fileSizeBytesApp size.
minimumOsVersionThe lowest iOS version the app supports.
primaryGenreNameThe App Store category.

If resultCount is 0, the ID is wrong or the app is not available in that country.

Turning it into an update alert

  1. Store the last version you saw for each app and country.
  2. On a schedule (every 15 to 60 minutes is plenty), request the lookup again.
  3. If the version differs, save the release notes and send yourself a message, for example to a Slack incoming webhook.
  4. Optionally compare the name, icon URL, screenshot URLs and price with the last result to catch listing changes between releases.
  5. Keep requests well under Apple's documented limit of about 20 per minute.

That is a small script plus a scheduler and somewhere to store results. If you would rather not run it, that is what VersionPing does. For other ways to follow competitors, see how to track competitor App Store updates.

Limits worth knowing

  • Only the current version is returned: there is no history.
  • Results are cached and can lag a release for a short while.
  • It covers the App Store only. Google Play has no equivalent public endpoint for other developers' apps.
  • Apple describes the Search API for promoting and linking to store content; it is not a guaranteed service, so handle errors and empty results.

Questions

What is the iTunes Lookup API?

A public, free endpoint from Apple (part of the iTunes Search API) that returns App Store listing data as JSON for a given app ID or bundle ID. No API key or developer account is needed. It is the simplest official way to read another app's current version and release notes.

How do I find an app's App Store ID?

Open the app's App Store page in a browser. The ID is the number after "id" in the address, for example 389801252 in apps.apple.com/us/app/instagram/id389801252.

Why does the Lookup API show an older version than the App Store?

The lookup data is cached, so for a short time after a release it can still return the previous version. A script that checks regularly will see the new version on a later check. Also make sure you are asking for the right country.

Is there a rate limit?

Apple's documentation for the Search API says it is limited to approximately 20 calls per minute, and may change. For a short competitor list that is plenty; space requests out if you check many apps.

Can I get older release notes from the API?

No. It returns only the current version and its release notes. To build a history, save each result yourself from the day you start checking.

Skip the script

VersionPing runs this check for you every 15 minutes, keeps every release note from the day you add an app, and sends the change by email, Slack, Discord or webhook. Free for 3 apps.

Related guides

All guides