Trading Post buys capping at 50 — Guild Wars 2 Forums

Trading Post buys capping at 50

Admittedly I'm new to using the api, so this may be intended behaviour, but when I pull my TP current buys list from:
api.guildwars2.com/v2/commerce/transactions/current/buys?access_token=[apikey]
the results are capped to the most recent 50, even though I have ~75 active buy orders

Comments

  • Such endpoints are paginated. You can define the page size by adding the parameter page_size=<size> (max 200), and the page by adding page=<page> (0-indexed).
    Also note the returned response headers X-Page-Size, X-Page-Total, X-Result-Count and X-Result-Total.

  • That makes total sense, thankyou

©2010–2018 ArenaNet, LLC. All rights reserved. Guild Wars, Guild Wars 2, Heart of Thorns, Guild Wars 2: Path of Fire, ArenaNet, NCSOFT, the Interlocking NC Logo, and all associated logos and designs are trademarks or registered trademarks of NCSOFT Corporation. All other trademarks are the property of their respective owners.