A Store API change on November 15 would have stopped our nightly pull without an error. We found it two weeks early.
Catching an upstream API change before it lands
Who this was for. Us. A nightly snapshot of the whole Apify Store catalog, used to benchmark our actors against their categories.
The drawing
The problem
Apify announced in its Store API changelog that from November 15 the Store API would ignore the sort parameter. Our snapshot pulled four sort orders, plus three sorts per category, to reach more of the catalog. After the change every sort would return the same window.
What we built
A replay of the pull in post change mode against the live Store, before the date. It asked each sort and category window the way the Store will answer after November 15, then counted the distinct actors that came back against tonight's snapshot.
What it produced
- After the change the pull would reach about 11,585 actors against 27,861 today. That trips the job's own guard against a half empty pull, so from November 15 it would have written nothing each night and raised an alert we'd have to trace.
- A fix that pulls each window once with no sort: the same 11,585 actors in 22 windows and 18 seconds, a quarter of the calls.
- The nightly schedule came off. The snapshot now runs on demand, and no stored rows were deleted.
Your scenario
If a pipeline depends on someone else's API, read their changelog before it reads you. API Change Monitor returns only what changed since your last run: deprecations, breaking changes, and sunset dates. Run it on Apify against the APIs you depend on, or send us your list and we'll tell you which one we'd watch first.
Related tools: Apify, API Change Monitor on the Apify Store, API Change Monitor
Some of the links on this page are affiliate links.