Stats API

From Coin Hunt World Wiki
Jump to navigation Jump to search

The Stats API is a publicly accessible API to provide CHW data to anyone who wants to use it.

For now, there are no API keys, it is entirely public, but that may change in the future if the API is abused. Please don't go crazy and DDoS us.

Currently there are two useful API Endpoints for you to use:

Endpoints

Cubies

Query for one or more cubies. Data includes recipe, first to print, release date, and other useful parameters.

It is located at this URL https://stats.coinhuntworldwiki.com/records/cubies

Official AH Pricing Data

This data is provided by the CHW devs for us to share with the community.

It is located at this URL https://stats.coinhuntworldwiki.com/records/ah_monthly_official

Here is an example url you can search by item name: https://stats.coinhuntworldwiki.com/records/ah_monthly_official?filter=item,eq,Resin

Unofficial AH Pricing Data

This data is collected from players via screenshots and submissions to our .

It is located at this URL https://stats.coinhuntworldwiki.com/records/ah

Here is an example url you can search by item name: https://stats.coinhuntworldwiki.com/records/ah?filter=item,eq,Resin

URL Parameters

For more advanced queries, you can have multiple filters (such as date) or show multiple items in the same query. That is not documented yet but if you need that information you can contact khag.

Filter

Examples:

filter=item,eq,Resin


filter=CubieName,eq,Chill Cubie

Format

For JSON:

format=json

For HTML Table (this is useful for importing to Google Sheets):

format=html