Skip to main content
The catalog changes over time. APIs and sources are added and removed, prices move, and input and output schemas change. GET /catalog/changes lists each of those changes, oldest first. Reading it is free and needs no key.

Do you need it?

If you leave source out of your requests, you do not need to watch this feed. Routing picks a source for each request and fails over to another when one fails. A removed or repriced source is handled for you. If you name a source in source, poll this feed. A request that names a source is tied to that source: when it is removed, those requests are refused, and when its price changes, they cost the new price. See Choose sources for how pinning works. Most changes appear in the feed when they go live. A price increase can be announced ahead instead: see Announced price increases.

Poll the feed

Start with no cursor. You get the changes from the first one, up to 50 per response:
Save cursor. On your next poll, send it back:
You get only the changes after it. When nothing is new, changes is empty and cursor is the one you sent. When hasMore is true, poll again right away with the new cursor. limit asks for fewer changes per response. A value above the maximum is reduced to it.

Change kinds

source and before and after appear only on source changes. before is the source as it was, on source_removed and source_price_changed, and its current price on source_price_increase_scheduled. after is the source as it is now, on source_added and source_price_changed, and the price it will charge on source_price_increase_scheduled. Each holds the source’s identity and its offers, priced in USD in the same shape as lanes[].pricing on GET /catalog. Most sources have one offer.

Announced price increases

A price increase can arrive in three steps, tied together by the same changeId:
  1. source_price_increase_scheduled announces it. before holds the price the source charges now and after the price it will charge. effectiveAt is when the new price applies. Until then, requests that name the source keep paying the current price.
  2. source_price_changed reports it applying, with the same changeId and effectiveAt.
  3. Or source_price_increase_cancelled withdraws it, with the same changeId and a short reason code. The source keeps its price.
A source_price_changed with no changeId was not announced ahead; it went live when it appears.
What you pay for a failed request that the upstream bills is the upstream’s own charge for that attempt. It is not a source’s price, and the feed does not announce changes to it.

Sources that pause

A source that has stopped serving for a while after failures is not a change, and does not appear here. It stays listed on GET /catalog under notServingSources and returns on its own.