ThorGPT

ThorGPT · Actions GPT

ThorGPT API

API for interacting with ThorGPT services.

  • GET /retrieve/get_thorchain_docsGet detailed information about how the Thorchain blockchain works and its different features via various sources
  • GET /retrieve/get_current_pools_infoGet current information about all Thorchain mainnet pools via the Midgard API
  • GET /retrieve/get_current_network_infoGet current information about all Thorchain network data (such as bonds and nodes) via the Midgard API
  • GET /retrieve/get_non_rune_tvlGet the current non RUNE TVL locked into the Thorchain Network via Flipsidecrypto
  • GET /retrieve/get_current_statisticsGet current statistics about Thorchain data (such as rune price, active users, swap related data) via the Midgard API
  • GET /retrieve/get_thorchain_developer_docsGet detailed developer-related information about the Thorchain blockchain. For example: How are memos used for swapping, how can saving and lending be implemented, how can Thorchain be queried, SwapIn and SwapOut operations of aggregator contracts
  • GET /retrieve/get_transaction_detailsShows details (chain, from, to, asset, amount, out_hashes) about one specific transaction on the Thorchain blockchain
  • GET /retrieve/get_thorchain_monthly_news_from_thorchain_universityGet monthly Thorchain updates from Thorchain university about the current state of Thorchain, its ecosystem projects and what happened in the community.
  • GET /retrieve/get_weekly_tvl_historyGet the total pool depths, total bonds, and total value locked (TVL) over the last 7 days.
  • GET /retrieve/get_weeky_rune_price_historyGet the weekly rune price in USD history
  • GET /retrieve/get_connected_chain_health_statusShows the status and health of all chains and whether trading has been halted on them (AVAX, BCH, BNB, BSC, BTC, DODGE, GAIA, LTC). Always make sure you identify the correct chain. In case the user has an issue with a transaction, check whether trading is halted on that specific chain.
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "ThorGPT API",
    "version": "1.0.0",
    "description": "API for interacting with ThorGPT services."
  },
  "servers": [
    {
      "url": "https://api-thorgpt.app.eway.space",
      "description": "Main API server"
    }
  ],
  "paths": {
    "/retrieve/get_thorchain_docs": {
      "get": {
        "operationId": "get_thorchain_docs",
        "summary": "Get detailed information about how the Thorchain blockchain works and its different features via various sources",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_current_pools_info": {
      "get": {
        "operationId": "get_current_pools_info",
        "summary": "Get current information about all Thorchain mainnet pools via the Midgard API",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_current_network_info": {
      "get": {
        "operationId": "get_current_network_info",
        "summary": "Get current information about all Thorchain network data (such as bonds and nodes) via the Midgard API",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_non_rune_tvl": {
      "get": {
        "operationId": "get_non_rune_tvl",
        "summary": "Get the current non RUNE TVL locked into the Thorchain Network via Flipsidecrypto",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_current_statistics": {
      "get": {
        "operationId": "get_current_statistics",
        "summary": "Get current statistics about Thorchain data (such as rune price, active users, swap related data) via the Midgard API",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_thorchain_developer_docs": {
      "get": {
        "operationId": "get_thorchain_developer_docs",
        "summary": "Get detailed developer-related information about the Thorchain blockchain. For example: How are memos used for swapping, how can saving and lending be implemented, how can Thorchain be queried, SwapIn and SwapOut operations of aggregator contracts",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_transaction_details": {
      "get": {
        "operationId": "get_transaction_details",
        "summary": "Shows details (chain, from, to, asset, amount, out_hashes) about one specific transaction on the Thorchain blockchain",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter - transaction id",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_thorchain_monthly_news_from_thorchain_university": {
      "get": {
        "operationId": "get_thorchain_monthly_news_from_thorchain_university",
        "summary": "Get monthly Thorchain updates from Thorchain university about the current state of Thorchain, its ecosystem projects and what happened in the community.",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_weekly_tvl_history": {
      "get": {
        "operationId": "get_weekly_tvl_history",
        "summary": "Get the total pool depths, total bonds, and total value locked (TVL) over the last 7 days.",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_weeky_rune_price_history": {
      "get": {
        "operationId": "get_weeky_rune_price_history",
        "summary": "Get the weekly rune price in USD history",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/retrieve/get_connected_chain_health_status": {
      "get": {
        "operationId": "get_connected_chain_health_status",
        "summary": "Shows the status and health of all chains and whether trading has been halted on them (AVAX, BCH, BNB, BSC, BTC, DODGE, GAIA, LTC). Always make sure you identify the correct chain. In case the user has an issue with a transaction, check whether trading is halted on that specific chain.",
        "parameters": [
          {
            "in": "query",
            "name": "query",
            "required": true,
            "description": "Query parameter",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  }
}