---
updatedAt: 2026-05-27T08:51:17.000Z
agentTools:
  projectIndex: https://docs.tatum.io/llms.txt
---

# GetEnergyPrices

Query historical energy unit price

This endpoint supports both POST and GET methods.

# OpenAPI definition

```json
{
  "paths": {
    "/wallet/getenergyprices": {
      "get": {
        "summary": "GetEnergyPrices",
        "description": "Query historical energy unit price\n\nThis endpoint supports both POST and GET methods.",
        "operationId": "rpc-tron-getenergyprices",
        "deprecated": false,
        "security": [
          {
            "X-API-Key": []
          }
        ],
        "x-added-property": true,
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "tags": [
          "Tron - HTTP API"
        ],
        "x-readme": {
          "samples-languages": [
            "shell",
            "javascript",
            "python",
            "java",
            "php"
          ]
        }
      }
    }
  },
  "openapi": "3.0.2",
  "info": {
    "version": "1.4.13",
    "title": "Tron - HTTP API",
    "description": "Build Once. Integrate Your Blockchain Everywhere.\n",
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "components": {
    "securitySchemes": {
      "X-API-Key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header",
        "description": "Your **API key** is used to identify your account & your plan, including the number of API calls per second and total monthly calls you have.\n\nEach key is for individual use only.\n\nIf you don't have a key already you can [Sign up for a Free Tatum account](https://co.tatum.io/signup) to get two keys (testnet and mainnet), allowing up to 5 API calls per second and 1,000,000 Credits.\n\nFor testing purposes, you can use the following key which only works inside docs and has limited functionality (e.g. you cannot create virtual accounts or notification subscriptions with it):\n* t-66a730ccccfd17001c479705-2f597d14ad7543f289a03418\n\nFor more details on limits and plans, [click here](https://docs.tatum.io/docs/plans-limits).\n"
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "servers": [
    {
      "url": "https://{network-tron}.gateway.tatum.io",
      "description": "RPC Gateway - Recommended",
      "variables": {
        "network-tron": {
          "default": "tron-mainnet",
          "enum": [
            "tron-mainnet",
            "tron-testnet"
          ]
        }
      }
    },
    {
      "url": "https://api.tatum.io/v3/blockchain/node/{network-tron}",
      "description": "Deprecated",
      "variables": {
        "network-tron": {
          "default": "tron-mainnet",
          "enum": [
            "tron-mainnet",
            "tron-testnet"
          ]
        }
      }
    }
  ]
}
```