Skip to content
gridicon
The Grid - Public Docs
  • Pages
    • gridicon
      The Grid Developer Docs
      • Using the API
        • icon picker
          Example GraphQL queries
      • gridicon
        TGS - Data model
        • TGS Change Log
        • Lenses at The Grid
        • Full lenses
        • DB Visualisation
      • Definitions
      • Our data collection
      • Getting an API key
      • Claiming your profile
        • Ecosystem Coverage Policy
      • Reporting a data issue
    • Join The Grid

Example GraphQL queries

Profiles Query
query Profiles {
profileInfos(limit: 10) {
name
logo
profileSector {
name
}
profileStatus {
name
}
profileType {
name
}
tagLine
descriptionShort
descriptionLong
foundingDate
urls {
url
urlType {
name
}
}
root {
slug
socials {
socialType {
name
}
urls {
url
}
}
}
}
}


Assets Query:
query Assets {
assets(limit: 10) {
name
icon
description
ticker
assetType {
name
}
assetStatus {
name
}
assetDeployments {
smartContractDeployment {
smartContracts {
address
deploymentDate
}
deployedOnProduct {
name
}
deploymentType {
name
}
}
}
urls {
url
urlType {
name
}
}
}
}

Products Query:
query Products {
products(limit: 10) {
name
launchDate
description
isMainProduct
productType {
name
}
productStatus {
name
}
productDeployments {
smartContractDeployment {
smartContracts {
address
deploymentDate
}
deploymentType {
name
}
deployedOnProduct {
name
}
}
}
supportsProducts {
supportsProduct {
name
}
}
}
}

Products and assets Context:
query Assets_Products {
roots(limit: 10) {
assets {
assetStatus {
name
}
assetType {
name
}
description
icon
name
ticker
}
products {
productStatus {
name
}
productType {
name
}
name
isMainProduct
description
}
}
}

Type Query:
query Types {
profileInfos(limit: 10) {
profileType {
name
}
profileStatus {
name
}
profileSector {
name
Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.