Drifyt.2598:

What are the differences between the commerce/listings and commerce/prices api’s at present? From what I can tell and a SHA-1 hash of each they are identical and have been for numerous hours.

Is it safe to assume that each is identical and only the id query will result in a different data set?

If so from a developer perspective, why not just maintain the 1 API for listings?

Eearslya.6309:

Not quite sure how you’re getting the exact same data for both endpoints..They have distinctly different roles.

/v2/commerce/prices shows only the highest buy order and the lowest sell order, so you can quickly determine what the price is on the trading post. example

/v2/commerce/listings shows you all the buy and sell orders for the item. example

EDIT: Ah, wait..I understand the question now. Yes, their base endpoints will return the same list of all the item IDs, but that’s just how the v2 ID-expanded APIs work. They all work similarly so you could, in theory, write one function in a program to fetch 1 endpoint, and it’ll work for them all.

Drifyt.2598:

Thank you for the details, much appreciated.