My Colony GPT Contracts API
Brandon Stecklein
@bastecklein@accounts.ape-apps.com
Last updated
Developers can access all of the active contracts that are currently posted to My Colony's in-game Galactic Board of Trade. When used in conjunction with the GBT Prices API, a developer could write a complete GBT browsing application.
Sample Endpoints
<!-- all resources -->
https://mc1.my-colony.com/api.php?pf=4&g=1
<!-- specific resource -->
https://mc1.my-colony.com/api.php?pf=4&g=1&r=25
In the Specific Resource call with the additional "r" parameter, r stands for the resource id number, and can be found using the GBT Prices API linked above.
Sample Output
[
{
"resource": "Dark Matter",
"seller": "Ceres",
"sellercharter": "4kE8TLLcWV",
"quantity": "100",
"price": "52040634824848",
"expires": "2025-08-12 23:04:59",
"offerflag": "0"
},
{
"resource": "Dark Matter",
"seller": "Ceres",
"sellercharter": "4kE8TLLcWV",
"quantity": "100",
"price": "52040634824848",
"expires": "2025-08-12 23:05:13",
"offerflag": "0"
},
...
{
"resource": "Uranium",
"seller": "Region 1",
"sellercharter": "7nuZBK3cDF",
"quantity": "6400",
"price": "220672",
"expires": "2025-08-16 21:01:35",
"offerflag": "1"
}
]
For questions/issues/suggestions regarding the API, please sign in to the official Ape Apps Discord channel.
First published