GPU database

API documentation

The GPU DB uses GraphQL for its API. All requests must be made through the GraphQL endpoint.

GraphQL allows you to query multiple resources at the same time, removing the need for repeated requests. The main entry point is search, which allows searching for an ASIC or card. Note that the search is paginated, and as such, you must provide first or last arguments to get any results.

Example query

A simple query to find all cards named RX and retrieve the number of ALUs on each, as well as the ASIC name could look like this:

{
  search(query:"RX",type:CARD,first:3) {
    edges {
      node {
        ... on Card {
          aluCount,
          asic { name }
        }
      }
    }
  }
}

This will return a list of hits in the response in the data field.

Changelog

2.2.0