Trunk information is available in the ryzom api with the inventory module enabled.
The guild inventory works as before, except that it has 10,000 slots available instead of 1,000.
Then each trunk corresponds to a segment of the inventory:
Box 1: slots 0-499
Box 2: slots 500-999
Box 3: slots 1000-1499
Box 4: slots 1500-1999
...
All you have to do is filter the slots according to the chosen inventory.
It's not impossible that an additional parameter will be added to allow you to choose the trunk, thus reducing the time taken to load data from the api.
For example: https://api.ryzom.com/guild.php?apikey=XXX&chest=2
How to manage safes via the ryzom api
The guild inventory works as before, except that it has 10,000 slots available instead of 1,000.
Then each trunk corresponds to a segment of the inventory:
Box 1: slots 0-499
Box 2: slots 500-999
Box 3: slots 1000-1499
Box 4: slots 1500-1999
...
All you have to do is filter the slots according to the chosen inventory.
It's not impossible that an additional parameter will be added to allow you to choose the trunk, thus reducing the time taken to load data from the api.
For example: https://api.ryzom.com/guild.php?apikey=XXX&chest=2