{
  "openapi": "3.1.1",
  "info": {
    "title": "Crypto.PublicApi | v2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api-p.herowallet.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/v2/Blockchains/GetActiveBlockchains": {
      "get": {
        "tags": [
          "Blockchains"
        ],
        "summary": "GetActiveBlockchains",
        "description": "Gets active mainnet blockchains for website clients.",
        "operationId": "Blockchains_GetActiveBlockchains",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicBlockchainResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicBlockchainResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicBlockchainResponse"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v2/BlockchainSupports/GetBlockChainSupports": {
      "get": {
        "tags": [
          "BlockchainSupports"
        ],
        "summary": "GetBlockChainSupports",
        "description": "Returns which public catalog features are supported for the given blockchain.",
        "operationId": "BlockchainSupports_GetBlockChainSupports",
        "parameters": [
          {
            "name": "blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BlockchainSupportResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlockchainSupportResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BlockchainSupportResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/TokenLogos/GetTokenLogo": {
      "get": {
        "tags": [
          "TokenLogos"
        ],
        "summary": "GetTokenLogo",
        "description": "Proxies a token logo image from an allowed external host.",
        "operationId": "TokenLogos_GetTokenLogo",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v2/Tokens/GetTokens": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetTokens",
        "description": "Gets a paginated page of active mainnet tokens with optional filters.",
        "operationId": "Tokens_GetTokens",
        "parameters": [
          {
            "name": "NetworkId",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "ChainId",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageId",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageCount",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetNewTokens": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetNewTokens",
        "description": "Gets tokens listed in the last 24 hours enriched with public metadata.",
        "operationId": "Tokens_GetNewTokens",
        "parameters": [
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicNewTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicNewTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicNewTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetTrendingTokens": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetTrendingTokens",
        "description": "Gets currently trending tokens on CoinGecko with optional filters.",
        "operationId": "Tokens_GetTrendingTokens",
        "parameters": [
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicTrendingTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicTrendingTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicTrendingTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetHighVolumeTokens": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetHighVolumeTokens",
        "description": "Gets tokens ordered by highest 24h trading volume with optional filters.",
        "operationId": "Tokens_GetHighVolumeTokens",
        "parameters": [
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicHighVolumeTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicHighVolumeTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicHighVolumeTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetHighLiquidityTokens": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetHighLiquidityTokens",
        "description": "Gets tokens ordered by liquidity ratio (TotalVolume / MarketCap) with optional filters.",
        "operationId": "Tokens_GetHighLiquidityTokens",
        "parameters": [
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicHighLiquidityTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicHighLiquidityTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicHighLiquidityTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetTopGainers": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetTopGainers",
        "description": "Gets tokens with the highest price change percentage in the given interval.",
        "operationId": "Tokens_GetTopGainers",
        "parameters": [
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicGainerLoserTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicGainerLoserTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicGainerLoserTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetTopLosers": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetTopLosers",
        "description": "Gets tokens with the lowest price change percentage in the given interval.",
        "operationId": "Tokens_GetTopLosers",
        "parameters": [
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Interval",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicGainerLoserTokenResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicGainerLoserTokenResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IIndexOfPublicGainerLoserTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetTokenDetail": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetTokenDetail",
        "description": "Gets detailed token information including market data and supported networks.",
        "operationId": "Tokens_GetTokenDetail",
        "parameters": [
          {
            "name": "apiId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contractAddress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PublicTokenDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicTokenDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicTokenDetailResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/Tokens/GetTokenHistoryChart": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "GetTokenHistoryChart",
        "description": "Gets token price/market-cap/volume history.",
        "operationId": "Tokens_GetTokenHistoryChart",
        "parameters": [
          {
            "name": "ContractAddress",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "TokenApiId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Blockchain",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "TimeFrame",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/TimeFrame"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PublicTokenHistoryChartResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicTokenHistoryChartResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicTokenHistoryChartResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BlockchainSupportResponse": {
        "type": "object",
        "properties": {
          "blockchain": {
            "type": "string"
          },
          "hasNewTokens": {
            "type": "boolean"
          },
          "hasTrendingTokens": {
            "type": "boolean"
          },
          "hasHighVolumeTokens": {
            "type": "boolean"
          },
          "hasHighLiquidityTokens": {
            "type": "boolean"
          },
          "hasTopGainers": {
            "type": "boolean"
          },
          "hasTopLosers": {
            "type": "boolean"
          }
        }
      },
      "IIndexOfPublicGainerLoserTokenResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicGainerLoserTokenResponse"
            }
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRecords": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paging": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IIndexOfPublicHighLiquidityTokenResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicHighLiquidityTokenResponse"
            }
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRecords": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paging": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IIndexOfPublicHighVolumeTokenResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicHighVolumeTokenResponse"
            }
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRecords": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paging": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IIndexOfPublicNewTokenResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicNewTokenResponse"
            }
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRecords": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paging": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IIndexOfPublicTokenResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicTokenResponse"
            }
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRecords": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paging": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IIndexOfPublicTrendingTokenResponse": {
        "type": "object",
        "properties": {
          "currentPage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "list": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicTrendingTokenResponse"
            }
          },
          "pageCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRecords": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paging": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "NetworkType": {
        "type": "integer"
      },
      "PublicBlockchainResponse": {
        "type": "object",
        "properties": {
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "name": {
            "type": "string"
          },
          "showName": {
            "type": [
              "null",
              "string"
            ]
          },
          "chainName": {
            "type": [
              "null",
              "string"
            ]
          },
          "networkApiId": {
            "type": [
              "null",
              "string"
            ]
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "networkType": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "supportOnMobile": {
            "type": "boolean"
          },
          "supportOnWeb": {
            "type": "boolean"
          },
          "supportOnExtension": {
            "type": "boolean"
          },
          "supportSend": {
            "type": "boolean"
          },
          "supportReceive": {
            "type": "boolean"
          },
          "supportSwap": {
            "type": "boolean"
          }
        }
      },
      "PublicGainerLoserTokenResponse": {
        "type": "object",
        "properties": {
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockChain": {
            "type": "string"
          },
          "contractAddress": {
            "type": [
              "null",
              "string"
            ]
          },
          "dexerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "currentPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "liquidity": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "volume24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "PublicHighLiquidityTokenResponse": {
        "type": "object",
        "properties": {
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockChain": {
            "type": "string"
          },
          "apiIdMarket": {
            "type": [
              "null",
              "string"
            ]
          },
          "contractAddress": {
            "type": "string"
          },
          "dexerName": {
            "type": "string"
          },
          "currentPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "volume24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "liquidity": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "PublicHighVolumeTokenResponse": {
        "type": "object",
        "properties": {
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockChain": {
            "type": "string"
          },
          "apiIdMarket": {
            "type": [
              "null",
              "string"
            ]
          },
          "contractAddress": {
            "type": "string"
          },
          "dexerName": {
            "type": "string"
          },
          "currentPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "volume24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "createdAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "PublicNewTokenResponse": {
        "type": "object",
        "properties": {
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockChain": {
            "type": "string"
          },
          "apiIdMarket": {
            "type": [
              "null",
              "string"
            ]
          },
          "contractAddress": {
            "type": [
              "null",
              "string"
            ]
          },
          "dexerName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "PublicTokenDetailResponse": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "symbol": {
            "type": [
              "null",
              "string"
            ]
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "currentPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "volume24H": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "circulatingSupply": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCapRank": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "genesisDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "supportedNetworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicTokenDetailResponseSupportedNetwork"
            }
          }
        }
      },
      "PublicTokenDetailResponseSupportedNetwork": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "showName": {
            "type": [
              "null",
              "string"
            ]
          },
          "chainName": {
            "type": [
              "null",
              "string"
            ]
          },
          "networkType": {
            "type": "string"
          }
        }
      },
      "PublicTokenHistoryChartResponse": {
        "type": "object",
        "properties": {
          "prices": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "type": [
                  "number",
                  "string"
                ],
                "format": "double"
              }
            }
          },
          "marketCaps": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "type": [
                  "number",
                  "string"
                ],
                "format": "double"
              }
            }
          },
          "totalVolumes": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                "type": [
                  "number",
                  "string"
                ],
                "format": "double"
              }
            }
          }
        }
      },
      "PublicTokenResponse": {
        "type": "object",
        "properties": {
          "assetNetworkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockChain": {
            "type": "string"
          },
          "caption": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiId": {
            "type": [
              "null",
              "string"
            ]
          },
          "apiIdMarket": {
            "type": [
              "null",
              "string"
            ]
          },
          "contractAddress": {
            "type": [
              "null",
              "string"
            ]
          },
          "decimals": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "rank": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "currentPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "totalVolume": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "PublicTrendingTokenResponse": {
        "type": "object",
        "properties": {
          "networkId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "chainId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "network": {
            "$ref": "#/components/schemas/NetworkType"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "blockChain": {
            "type": "string"
          },
          "apiIdMarket": {
            "type": [
              "null",
              "string"
            ]
          },
          "contractAddress": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "currentPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "marketCap": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "liquidity": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "priceChangePercentage24h": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "TimeFrame": {
        "type": "integer"
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "Pass your API key in the **X-Api-Key** header.",
        "name": "X-Api-Key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": [ ]
    }
  ],
  "tags": [
    {
      "name": "Blockchains"
    },
    {
      "name": "BlockchainSupports"
    },
    {
      "name": "TokenLogos"
    },
    {
      "name": "Tokens"
    }
  ]
}