Is there an API or a script to monitor iPhone Duo stock at Apple Stores in Mexico?

Yes: PickupChecker publishes a free, read-only JSON API covering all 2 Apple Stores in Mexico (473 stores in 21 countries in all), built from checks every 15 s per store and cached 30 s at the edge, with no key and no sign-up. One request returns every store's current pickup availability for the iPhone Duo by configuration; a second returns the confirmed restocks of the last 24 hours. Right now 0 of 2 stores in Mexico list one and 5 restocks were confirmed in the last 24 hours. Below: the endpoints, working examples in curl, Python and JavaScript, the field reference, the limits — and why a script polling at the 30-second cache interval is still slower than a push alert.

Updated Nov 26, 2026, 7:42 AM CST · 2 Apple Stores in Mexico · checked every 15 s · API cached 30 s

2
Apple Stores covered
0/2
listing an iPhone Duo now
5
confirmed restocks, last 24 h
30s
seconds the API is cached
Hands typing on a laptop whose screen shows a code editor
A few lines of code and the stock data is in your own script. · Photo: cottonbro studio / Pexels

What does the iPhone Duo stock API return in Mexico?

Three GET endpoints, all JSON, all under https://pickupchecker.com/api/v1: `stock` gives every Apple Store in Mexico with the configurations it lists for pickup right now and when it was last checked; `restocks` gives confirmed restocks of the last 1–168 hours, newest first, with whether each is still listed; `iphone-duo` is a shortcut to `stock?model=duo`. The country code goes in the path (mx); models are duo, 18-pro and 18-pro-max.

Endpoints (replace {country} with us, ca, uk, au, de, fr, it, es, jp, kr, hk, sg, ae, ch, nl, se, tw, at, be, mx or tr)
EndpointReturnsParameters
/api/v1/mx/stockEvery store: in_stock, the available configurations, last_checked_at, last_in_stock_at; a summary with stores_in_stock.model (duo | 18-pro | 18-pro-max), storage (e.g. 512GB), color (e.g. night-sky)
/api/v1/mx/restocksConfirmed restocks newest first: at, store, configuration, still_listed.model, hours (1–168, default 24), limit (1–200, default 100)
/api/v1/mx/iphone-duoRedirects to stock?model=duo.—
/api/v1This list, the countries and models, the limits.—

How do I call it from curl, Python or JavaScript?

Copy one of these; each prints the stores that list an iPhone Duo right now. No key, no header beyond a User-Agent that names your script (so we can write to you if it misbehaves).

curl (any shell)

curl -s -A "my-duo-watcher (me@example.com)" \
  "https://pickupchecker.com/api/v1/mx/stock?model=duo" \
  | jq -r '.stores[] | select(.in_stock) | "\(.name) (\(.city)): \(.available | map(.storage + " " + .color) | join(", "))"'

Python 3, standard library only

import json, time, urllib.request

URL = "https://pickupchecker.com/api/v1/mx/stock?model=duo"
REQ = urllib.request.Request(URL, headers={"User-Agent": "my-duo-watcher (me@example.com)"})

seen = set()
while True:
    data = json.load(urllib.request.urlopen(REQ, timeout=20))
    for s in data["stores"]:
        for a in s["available"]:
            key = (s["store_number"], a["part_number"])
            if key not in seen:
                seen.add(key)
                print(f'{data["generated_at"]} {s["name"]} ({s["city"]}): {a["storage"]} {a["color"]}')
    time.sleep(30)  # answers are cached 30 s; polling faster returns the same JSON

JavaScript (Node 18+ or a browser)

const URL = "https://pickupchecker.com/api/v1/mx/restocks?model=duo&hours=1";

async function tick() {
  const res = await fetch(URL, { headers: { "User-Agent": "my-duo-watcher (me@example.com)" } });
  const { restocks } = await res.json();
  for (const r of restocks) console.log(r.at, r.store, r.city, r.storage, r.color, r.still_listed ? "still listed" : "gone");
}
tick();
setInterval(tick, 30_000);
A terminal window scrolling log lines on a dark screen
What a polling script sees: one JSON answer every 30 seconds. · Photo: Lewis Kang'ethe Ngugi / Pexels

What do the fields mean?

Every field is snake_case and every time is ISO 8601 in UTC. Store identifiers are Apple's own (R-numbers), so they match Apple's store pages and the URLs on this site.

Field reference
FieldTypeMeaning
generated_atstringWhen this answer was computed; the CDN may serve it for up to 30 s.
country.code / name / currencystringThe country of the stores.
configurations[]objectThe part numbers the query covers, with storage and color as Apple writes them.
summary.stores_in_stockintegerStores listing at least one covered configuration for pickup now.
stores[].store_numberstringApple's store id, e.g. R085.
stores[].in_stockbooleanAt least one covered configuration is listed for pickup.
stores[].available[]objectThe listed configurations: part_number, storage, color.
stores[].last_checked_atstring | nullWhen we last read Apple's pickup page for this store (normally under 15 s ago).
stores[].last_in_stock_atstring | nullThe last moment this store listed a covered configuration.
restocks[].atstringWhen the configuration went from sold out to available (confirmed by two checks).
restocks[].still_listedboolean | nullWhether that store still lists it at the time of the answer.
attributionobjectThe source, the licence line and this page.

How often can I poll, and what are the terms?

Poll at an interval of 30 seconds or longer per endpoint — answers are cached that long at the edge, so a shorter interval returns the same JSON — and stay under 60 requests a minute from one address, which is the limit that reaches our servers. The data is free to use, including commercially, on one condition: show "Source: PickupChecker" with a link to pickupchecker.com (or the store or country page) wherever the numbers appear. No key, no sign-up, CORS open, so a browser page can call it directly.

30s
seconds the API is cached
60
requests a minute per address
0
API keys needed
  • A 429 answer means more than 60 requests in a minute from your address; wait the Retry-After seconds.
  • Breaking changes get a new version path (/api/v2); fields are added, never renamed, under v1.
  • Please set a User-Agent naming your project and a contact; we have never blocked a polite script.

Should I write my own script or just use alerts?

If you want a dashboard, a Discord bot, a spreadsheet or research, write the script — that is what the API is for. If you want to actually buy an iPhone Duo, a script is the slower tool: it sees a restock at its next poll, up to 30 s later, and then has to tell you; our push alert reads the same stores every 5 s, confirms the restock and sends the push about 3 s after — inside the median listing time of about a minute. Many people do both: the alert for buying, the API for watching.

A polling script against a push alert
Your script on this APIPickupChecker alert
Sees a restock afterup to 30 s (cache) + your intervalpush sent about 3 s after our check sees it
Reaches your phonewhatever you build (email, bot, SMS)a notification on the Home Screen app
Stores watchedall of them, every callyour chosen stores every 5 s, all stores every 15 s
Costsfreea plan for the alerts; this site is free to read

Set up alerts

Hand holding a phone showing notifications on the lock screen
An alert arrives on the lock screen. · Photo: Tranmautritam / Pexels

Can I poll apple.com myself instead?

You can, within limits: apple.com's pickup page answers per store and configuration, which is exactly what we read. What a one-off script misses is the care — IPv6 rotation so Apple keeps answering, a two-observation rule so a flapping "unavailable" does not become a false restock, time-zone handling for every store, and a record kept since launch day. If you only want the answer, the API is that work done; if you want to learn, our method page explains each piece.

  • Apple's page is a snapshot: it tells you now, never how long a listing lasted or when the last one was.
  • Our checks are 15 s apart per store and never faster than 5 s; a script that polls apple.com harder than that gets blocked and learns nothing.

Where the data comes from

Every number comes from PickupChecker reading Apple's own in-store pickup availability for all 2 Apple Stores in Mexico every 15 s (every 5 s at stores with alerts). A change is committed only after two consistent observations; the first sighting after a gap is not a restock. The API serves the same tables the pages on this site read; nothing is sampled or estimated.

  • Method in full: the how-it-works page.
  • Attribution is the whole price; a link back keeps this free.

Keep reading

Same data, other questions
This page for other countries

Questions people ask

Is there a free API for iPhone Duo stock at Apple Stores in Mexico?

Yes — PickupChecker's, at https://pickupchecker.com/api/v1/mx/stock: every Apple Store in Mexico with the configurations it lists for pickup now, JSON, no key, cached 30 s. A second endpoint returns confirmed restocks of the last 24 hours.

Does Apple have an official stock API?

No public one. apple.com's pickup page can be read per store and configuration, which is what this site does with care (rotation, confirmation, time zones); the API here is that work exposed as JSON.

How current is the data?

Each store is checked every 15 s (every 5 s at stores with alerts) and the API answer is cached 30 s, so a figure is at most about 45 s old; last_checked_at tells you exactly.

Can I use it in a commercial product?

Yes, with attribution: "Source: PickupChecker" linked to pickupchecker.com wherever the data is shown, and a polling interval of 30 s or longer. No key is needed.

Will a script get me an iPhone Duo faster than an alert?

No: a script sees a restock at its next poll, up to 30 s later; the alert confirms it and is sent about 3 s after we see it. Use the script to watch and the alert to buy.

Sources

  1. PickupChecker live tracker: every iPhone Duo, 18 Pro and 18 Pro Max configuration at all 2 Apple Stores in Mexico, checked every 15 seconds (every 5 for stores with alerts) since November 21, 2026; numbers on this page as of Nov 26, 7:42 AM CST.
  2. Apple – In-store pickup
  3. PickupChecker – how the checks work
  4. PickupChecker – the restock log
Alert me

Get an alert