Returns every energy Auto Refill rule on your account, oldest first. Deleted rules are not included. Requires the view scope.
Response
array
Your energy rules.
Show rule object
number
Rule ID — use it in the edit and delete paths
string
The address the rule keeps supplied
string | null
Your name for the rule
number
The rule buys when available energy is below this
number
Energy bought per refill
string
Rental duration of each refill — always 1h
string
active, paused or stopped_insufficient_balance — see Rule status
string | null
Why the rule was paused or stopped: insufficient_balance, order_failed, activation_failed or invalid_params. null when there is none.
number
Failed refills in a row. The rule is paused when this reaches 5; a successful refill resets it to 0.
string | null
When we last checked the address (ISO 8601, UTC), whether or not the read succeeded. null before the first check.
number | null
Energy available on the address at the last successful check. null before the first successful read.
string | null
When a check last failed to read the address (ISO 8601, UTC). null when the last check succeeded. While it is set, last_available_energy is from an earlier check and may be out of date. A check that cannot read the address buys nothing.
string | null
When the last refill was made. null if there has been none.
number
Successful refills since the rule was created
string
TRX spent on those refills, in total
string
When the rule was created (ISO 8601, UTC)
string | null
Full price of one refill for your account at current prices, fixed fee included. Address activation, when needed, is charged on top. null if the price is temporarily unavailable.
boolean
true when add_volume is smaller than threshold_energy. One refill may then not lift the address above the threshold, and the rule buys again after every spend — see the warning in the overview.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"TronRental API","colors":{"primary":"#0ea5e9","light":"#38bdf8","dark":"#0284c7"},"logo":{"light":"https://mintcdn.com/tronrental/20OO1jA0GYzPr7Jk/logo/light.svg?fit=max\u0026auto=format\u0026n=20OO1jA0GYzPr7Jk\u0026q=85\u0026s=755913eb3cd39bab199ec580d8010c29","dark":"https://mintcdn.com/tronrental/20OO1jA0GYzPr7Jk/logo/dark.svg?fit=max\u0026auto=format\u0026n=20OO1jA0GYzPr7Jk\u0026q=85\u0026s=bb8c8e7bb9c7d20bfa099ee10bb89587"},"favicon":"https://mintcdn.com/tronrental/20OO1jA0GYzPr7Jk/favicon.svg?fit=max\u0026auto=format\u0026n=20OO1jA0GYzPr7Jk\u0026q=85\u0026s=77932be27c14778b9560f967a3f32558","api":{"mdx":{"server":"https://api.tronrental.com"}},"contextual":{"options":["copy","chatgpt","claude","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"ru","href":"ru/introduction"},{"language":"zh","href":"zh/introduction"},{"language":"es","href":"es/introduction"},{"language":"tr","href":"tr/introduction"},{"language":"pt","href":"pt/introduction"},{"language":"hi","href":"hi/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tronrental","hasAudioNarration":false,"actualSubdomain":"tronrental","customDomains":["docs.tronrental.com"],"gitSource":{"type":"github","owner":"tronrentalcom","repo":"tronrental-com-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6afb0e04b09aae6e4396bfb9","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"API Reference","count":57},{"language":"es","tag":"Referencia API","count":56},{"language":"hi","tag":"API संदर्भ","count":56},{"language":"pt","tag":"Referência API","count":56},{"language":"ru","tag":"Справочник API","count":56},{"language":"tr","tag":"API Referansı","count":56},{"language":"zh","tag":"API 参考","count":56},{"language":"en","tag":"Auto Refill","count":11},{"language":"en","tag":"Node API","count":11},{"language":"es","tag":"Recarga automática","count":11},{"language":"es","tag":"Node API","count":11},{"language":"hi","tag":"ऑटो रिफिल","count":11},{"language":"hi","tag":"Node API","count":11},{"language":"pt","tag":"Recarga automática","count":11},{"language":"pt","tag":"Node API","count":11},{"language":"ru","tag":"Автопополнение","count":11},{"language":"ru","tag":"Node API","count":11},{"language":"tr","tag":"Otomatik Dolum","count":11},{"language":"tr","tag":"Node API","count":11},{"language":"zh","tag":"自动补充","count":11},{"language":"zh","tag":"Node API","count":11},{"language":"en","tag":"Auto Bandwidth","count":9},{"language":"es","tag":"Bandwidth automático","count":9},{"language":"hi","tag":"ऑटो बैंडविड्थ","count":9},{"language":"pt","tag":"Bandwidth automático","count":9},{"language":"ru","tag":"Авто-bandwidth","count":9},{"language":"tr","tag":"Otomatik Bandwidth","count":9},{"language":"zh","tag":"自动带宽","count":9},{"language":"en","tag":"Account","count":8},{"language":"en","tag":"Core API","count":7},{"language":"es","tag":"Cuenta","count":7},{"language":"es","tag":"API Principal","count":7},{"language":"hi","tag":"खाता","count":7},{"language":"hi","tag":"मुख्य API","count":7},{"language":"pt","tag":"Conta","count":7},{"language":"pt","tag":"API Principal","count":7},{"language":"ru","tag":"Аккаунт","count":7},{"language":"ru","tag":"Основное API","count":7},{"language":"tr","tag":"Hesap","count":7},{"language":"tr","tag":"Temel API","count":7},{"language":"zh","tag":"账户","count":7},{"language":"zh","tag":"核心 API","count":7},{"language":"en","tag":"Smart Mode","count":6},{"language":"en","tag":"Guides","count":6},{"language":"en","tag":"Resources","count":6},{"language":"es","tag":"Smart Mode","count":6},{"language":"es","tag":"Guías","count":6},{"language":"es","tag":"Recursos","count":6},{"language":"hi","tag":"Smart Mode","count":6},{"language":"hi","tag":"गाइड","count":6},{"language":"hi","tag":"संसाधन","count":6},{"language":"pt","tag":"Smart Mode","count":6},{"language":"pt","tag":"Guias","count":6},{"language":"pt","tag":"Recursos","count":6},{"language":"ru","tag":"Smart Mode","count":6},{"language":"ru","tag":"Руководства","count":6},{"language":"ru","tag":"Ресурсы","count":6},{"language":"tr","tag":"Smart Mode","count":6},{"language":"tr","tag":"Kılavuzlar","count":6},{"language":"tr","tag":"Kaynaklar","count":6},{"language":"zh","tag":"Smart Mode","count":6},{"language":"zh","tag":"指南","count":6},{"language":"zh","tag":"资源","count":6},{"language":"en","tag":"Transfer Packages","count":4},{"language":"es","tag":"Paquetes de transferencia","count":4},{"language":"hi","tag":"ट्रांसफर पैकेज","count":4},{"language":"pt","tag":"Pacotes de transferência","count":4},{"language":"ru","tag":"Пакеты переводов","count":4},{"language":"tr","tag":"Transfer Paketleri","count":4},{"language":"zh","tag":"转账套餐","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/auto-refill/list-energy-rules","slug":"/api-reference/auto-refill/list-energy-rules","pageMetadata":{"title":"List Energy Rules","api":"GET /v1/energy/auto-refill","description":"All energy Auto Refill rules on your account","href":"/api-reference/auto-refill/list-energy-rules"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"All energy Auto Refill rules on your account\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Expandable,Heading,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`list-energy-rules`,children:`List Energy Rules`}),`\n`,_jsxs(_components.p,{children:[`Returns every energy Auto Refill rule on your account, oldest first. Deleted rules are not included. Requires the `,_jsx(_components.code,{children:`view`}),` scope.`]}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsxs(ResponseField,{name:`rules`,type:`array`,id:`param-rules`,children:[_jsx(_components.p,{children:`Your energy rules.`}),_jsxs(Expandable,{title:`rule object`,children:[_jsx(ResponseField,{name:`id`,type:`number`,id:`param-id`,children:_jsx(_components.p,{children:`Rule ID — use it in the edit and delete paths`})}),_jsx(ResponseField,{name:`target_address`,type:`string`,id:`param-target-address`,children:_jsx(_components.p,{children:`The address the rule keeps supplied`})}),_jsx(ResponseField,{name:`label`,type:`string | null`,id:`param-label`,children:_jsx(_components.p,{children:`Your name for the rule`})}),_jsx(ResponseField,{name:`threshold_energy`,type:`number`,id:`param-threshold-energy`,children:_jsx(_components.p,{children:`The rule buys when available energy is below this`})}),_jsx(ResponseField,{name:`add_volume`,type:`number`,id:`param-add-volume`,children:_jsx(_components.p,{children:`Energy bought per refill`})}),_jsx(ResponseField,{name:`duration`,type:`string`,id:`param-duration`,children:_jsxs(_components.p,{children:[`Rental duration of each refill — always `,_jsx(_components.code,{children:`1h`})]})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`paused`}),` or `,_jsx(_components.code,{children:`stopped_insufficient_balance`}),` — see `,_jsx(_components.a,{href:`/api-reference/auto-refill/overview#rule-status`,children:`Rule status`})]})}),_jsx(ResponseField,{name:`stopped_reason`,type:`string | null`,id:`param-stopped-reason`,children:_jsxs(_components.p,{children:[`Why the rule was paused or stopped: `,_jsx(_components.code,{children:`insufficient_balance`}),`, `,_jsx(_components.code,{children:`order_failed`}),`, `,_jsx(_components.code,{children:`activation_failed`}),` or `,_jsx(_components.code,{children:`invalid_params`}),`. `,_jsx(_components.code,{children:`null`}),` when there is none.`]})}),_jsx(ResponseField,{name:`consecutive_failures`,type:`number`,id:`param-consecutive-failures`,children:_jsx(_components.p,{children:`Failed refills in a row. The rule is paused when this reaches 5; a successful refill resets it to 0.`})}),_jsx(ResponseField,{name:`last_checked_at`,type:`string | null`,id:`param-last-checked-at`,children:_jsxs(_components.p,{children:[`When we last checked the address (ISO 8601, UTC), whether or not the read succeeded. `,_jsx(_components.code,{children:`null`}),` before the first check.`]})}),_jsx(ResponseField,{name:`last_available_energy`,type:`number | null`,id:`param-last-available-energy`,children:_jsxs(_components.p,{children:[`Energy available on the address at the last successful check. `,_jsx(_components.code,{children:`null`}),` before the first successful read.`]})}),_jsx(ResponseField,{name:`last_read_error_at`,type:`string | null`,id:`param-last-read-error-at`,children:_jsxs(_components.p,{children:[`When a check last failed to read the address (ISO 8601, UTC). `,_jsx(_components.code,{children:`null`}),` when the last check succeeded. While it is set, `,_jsx(_components.code,{children:`last_available_energy`}),` is from an earlier check and may be out of date. A check that cannot read the address buys nothing.`]})}),_jsx(ResponseField,{name:`last_refill_at`,type:`string | null`,id:`param-last-refill-at`,children:_jsxs(_components.p,{children:[`When the last refill was made. `,_jsx(_components.code,{children:`null`}),` if there has been none.`]})}),_jsx(ResponseField,{name:`refill_count`,type:`number`,id:`param-refill-count`,children:_jsx(_components.p,{children:`Successful refills since the rule was created`})}),_jsx(ResponseField,{name:`total_spent_trx`,type:`string`,id:`param-total-spent-trx`,children:_jsx(_components.p,{children:`TRX spent on those refills, in total`})}),_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`When the rule was created (ISO 8601, UTC)`})}),_jsx(ResponseField,{name:`estimated_cost_per_refill_trx`,type:`string | null`,id:`param-estimated-cost-per-refill-trx`,children:_jsxs(_components.p,{children:[`Full price of one refill for your account at current prices, fixed fee included. Address activation, when needed, is charged on top. `,_jsx(_components.code,{children:`null`}),` if the price is temporarily unavailable.`]})}),_jsx(ResponseField,{name:`volume_below_threshold`,type:`boolean`,id:`param-volume-below-threshold`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when `,_jsx(_components.code,{children:`add_volume`}),` is smaller than `,_jsx(_components.code,{children:`threshold_energy`}),`. One refill may then not lift the address above the threshold, and the rule buys again after every spend — see the `,_jsx(_components.a,{href:`/api-reference/auto-refill/overview#choosing-the-numbers`,children:`warning in the overview`}),`.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`example`,children:`Example`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.tronrental.com/v1/energy/auto-refill`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: your_api_key\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`7`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`resp `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.tronrental.com/v1/energy/auto-refill\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your_api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(resp.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`4`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` resp`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.tronrental.com/v1/energy/auto-refill\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"your_api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` resp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`]})})})]}),`\n`,_jsx(CodeBlock,{filename:`Response`,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rules\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target_address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TYourRecipientAddress1234567890abc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hot wallet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"threshold_energy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`65000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"add_volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`131000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"duration\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1h\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stopped_reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"consecutive_failures\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_checked_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-14T09:41:02Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_available_energy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`212480`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_read_error_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_refill_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-14T08:57:40Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"refill_count\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total_spent_trx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"7.854000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-14T08:12:05Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estimated_cost_per_refill_trx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2.618000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volume_below_threshold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`FORBIDDEN`})}),_jsxs(_components.td,{children:[`The API key lacks the `,_jsx(_components.code,{children:`view`}),` scope`]})]})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List Energy Rules","api":"GET /v1/energy/auto-refill","description":"All energy Auto Refill rules on your account","href":"/api-reference/auto-refill/list-energy-rules"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"List Energy Rules","slug":"list-energy-rules","depth":2,"children":[{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Example","slug":"example","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]}]}],"codeExamples":{},"endpoint":{"title":"List Energy Rules","path":"/v1/energy/auto-refill","servers":[{"url":"https://api.tronrental.com"}],"method":"get","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"rules":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"number","description":"Rule ID — use it in the edit and delete paths"}],"target_address":[{"type":"string","description":"The address the rule keeps supplied"}],"label":[{"type":"object","properties":{},"description":"Your name for the rule"}],"threshold_energy":[{"type":"number","description":"The rule buys when available energy is below this"}],"add_volume":[{"type":"number","description":"Energy bought per refill"}],"duration":[{"type":"string","description":"Rental duration of each refill — always `1h`"}],"status":[{"type":"string","description":"`active` , `paused` or `stopped_insufficient_balance` — see Rule status"}],"stopped_reason":[{"type":"object","properties":{},"description":"Why the rule was paused or stopped: `insufficient_balance` , `order_failed` , `activation_failed` or `invalid_params` . `null` when there is none."}],"consecutive_failures":[{"type":"number","description":"Failed refills in a row. The rule is paused when this reaches 5; a successful refill resets it to 0."}],"last_checked_at":[{"type":"object","properties":{},"description":"When we last checked the address (ISO 8601, UTC), whether or not the read succeeded. `null` before the first check."}],"last_available_energy":[{"type":"object","properties":{},"description":"Energy available on the address at the last successful check. `null` before the first successful read."}],"last_read_error_at":[{"type":"object","properties":{},"description":"When a check last failed to read the address (ISO 8601, UTC). `null` when the last check succeeded. While it is set, `last_available_energy` is from an earlier check and may be out of date. A check that cannot read the address buys nothing."}],"last_refill_at":[{"type":"object","properties":{},"description":"When the last refill was made. `null` if there has been none."}],"refill_count":[{"type":"number","description":"Successful refills since the rule was created"}],"total_spent_trx":[{"type":"string","description":"TRX spent on those refills, in total"}],"created_at":[{"type":"string","description":"When the rule was created (ISO 8601, UTC)"}],"estimated_cost_per_refill_trx":[{"type":"object","properties":{},"description":"Full price of one refill for your account at current prices, fixed fee included. Address activation, when needed, is charged on top. `null` if the price is temporarily unavailable."}],"volume_below_threshold":[{"type":"boolean","description":"`true` when `add_volume` is smaller than `threshold_energy` . One refill may then not lift the address above the threshold, and the rule buys again after every spend — see the warning in the overview ."}]}}],"description":"Your energy rules."}]}}],"examples":{"example":{"value":{"rules":[{"id":123,"target_address":"\u003cstring>","label":{},"threshold_energy":123,"add_volume":123,"duration":"\u003cstring>","status":"\u003cstring>","stopped_reason":{},"consecutive_failures":123,"last_checked_at":{},"last_available_energy":{},"last_read_error_at":{},"last_refill_at":{},"refill_count":123,"total_spent_trx":"\u003cstring>","created_at":"\u003cstring>","estimated_cost_per_refill_trx":{},"volume_below_threshold":true}]}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"tronrental","siteName":"TronRental API","title":"List Energy Rules - TronRental API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/auto-refill/list-energy-rules","matchLevel":0},"ru":{"href":"/ru/api-reference/auto-refill/list-energy-rules","matchLevel":1},"zh":{"href":"/zh/api-reference/auto-refill/list-energy-rules","matchLevel":1},"es":{"href":"/es/api-reference/auto-refill/list-energy-rules","matchLevel":1},"tr":{"href":"/tr/api-reference/auto-refill/list-energy-rules","matchLevel":1},"pt":{"href":"/pt/api-reference/auto-refill/list-energy-rules","matchLevel":1},"hi":{"href":"/hi/api-reference/auto-refill/list-energy-rules","matchLevel":1}}},"lastModified":"2026-10-14T07:33:15.202Z","originalFileLocation":"api-reference/auto-refill/list-energy-rules.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"All energy Auto Refill rules on your account\">\u003cmeta data-mint-head name=\"application-name\" content=\"TronRental API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Energy Rules - TronRental API\">\u003cmeta data-mint-head property=\"og:description\" content=\"All energy Auto Refill rules on your account\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TronRental API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tronrental.mintlify.site/_mintlify/api/og/v2?division=Auto+Refill\u0026amp;title=List+Energy+Rules\u0026amp;description=All+energy+Auto+Refill+rules+on+your+account\u0026amp;theme=25e1f288dde16b181b02b122\u0026amp;signature=1f585bcbc3177a2a3cc46f29b384ec0c5ff794db8f21001104947adc2eab185b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List Energy Rules - TronRental API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"All energy Auto Refill rules on your account\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tronrental.mintlify.site/_mintlify/api/og/v2?division=Auto+Refill\u0026amp;title=List+Energy+Rules\u0026amp;description=All+energy+Auto+Refill+rules+on+your+account\u0026amp;theme=25e1f288dde16b181b02b122\u0026amp;signature=1f585bcbc3177a2a3cc46f29b384ec0c5ff794db8f21001104947adc2eab185b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/tronrental/Kl6PA1U2lr6f2etm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TronRental API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0ea5e9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/auto-refill/list-energy-rules.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.tronrental.com/ru/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.tronrental.com/zh/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.tronrental.com/es/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"tr\" href=\"https://docs.tronrental.com/tr/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.tronrental.com/pt/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.tronrental.com/hi/api-reference/auto-refill/list-energy-rules\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tronrental.com/#organization\",\"name\":\"TronRental API\",\"url\":\"https://docs.tronrental.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tronrental/20OO1jA0GYzPr7Jk/logo/light.svg?fit=max\u0026auto=format\u0026n=20OO1jA0GYzPr7Jk\u0026q=85\u0026s=755913eb3cd39bab199ec580d8010c29\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tronrental.com#website\",\"name\":\"TronRental API\",\"url\":\"https://docs.tronrental.com\",\"publisher\":{\"@id\":\"https://docs.tronrental.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules#webpage\",\"url\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\",\"name\":\"List Energy Rules\",\"description\":\"All energy Auto Refill rules on your account\",\"dateModified\":\"2026-10-14T07:33:15.202Z\",\"isPartOf\":{\"@id\":\"https://docs.tronrental.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Auto Refill\",\"item\":\"https://docs.tronrental.com/api-reference/auto-refill/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List Energy Rules\",\"item\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules#apireference\",\"headline\":\"List Energy Rules\",\"name\":\"List Energy Rules\",\"description\":\"All energy Auto Refill rules on your account\",\"url\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tronrental.com/api-reference/auto-refill/list-energy-rules#webpage\"},\"dateModified\":\"2026-10-14T07:33:15.202Z\",\"publisher\":{\"@id\":\"https://docs.tronrental.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tronrental.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TronRental API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TronRental API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/auto-refill/list-energy-rules.md","siteName":"TronRental API","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Core API","pages":[{"title":"Get Prices","api":"GET /v1/prices","href":"/api-reference/energy/get-prices"},{"title":"Quote Price","api":"GET /v1/energy/quote","href":"/api-reference/energy/quote"},{"title":"Buy Energy","api":"POST /v1/energy/buy","href":"/api-reference/energy/buy-energy"},{"title":"Activate Address","api":"POST /v1/energy/activate","href":"/api-reference/energy/activate-address"},{"title":"Get Bandwidth Prices","api":"GET /v1/bandwidth/prices","href":"/api-reference/bandwidth/get-prices"},{"title":"Quote Bandwidth","api":"GET /v1/bandwidth/quote","href":"/api-reference/bandwidth/quote"},{"title":"Buy Bandwidth","api":"POST /v1/bandwidth/buy","href":"/api-reference/bandwidth/buy-bandwidth"}]},{"group":"Bandwidth Rentals","pages":[{"title":"Start Auto-renew Rental","api":"POST /v1/bandwidth/rentals","href":"/api-reference/bandwidth-rentals/create-rental"},{"title":"List Auto-renew Rentals","api":"GET /v1/bandwidth/rentals","href":"/api-reference/bandwidth-rentals/list-rentals"},{"title":"Cancel Auto-renew Rental","api":"POST /v1/bandwidth/rentals/{rental_id}/cancel","href":"/api-reference/bandwidth-rentals/cancel-rental"}]},{"group":"Auto Refill","pages":[{"title":"Auto Refill Overview","href":"/api-reference/auto-refill/overview"},{"title":"Energy Refill Quote","api":"GET /v1/energy/auto-refill/quote","href":"/api-reference/auto-refill/quote-energy-refill"},{"title":"Create Energy Rule","api":"POST /v1/energy/auto-refill","description":"Top up energy on an address whenever it falls below a threshold","href":"/api-reference/auto-refill/create-energy-rule"},{"title":"List Energy Rules","api":"GET /v1/energy/auto-refill","href":"/api-reference/auto-refill/list-energy-rules"},{"title":"Update Energy Rule","api":"PATCH /v1/energy/auto-refill/{rule_id}","description":"Change, pause or resume an energy Auto Refill rule","href":"/api-reference/auto-refill/update-energy-rule"},{"title":"Delete Energy Rule","api":"DELETE /v1/energy/auto-refill/{rule_id}","href":"/api-reference/auto-refill/delete-energy-rule"},{"title":"Bandwidth Refill Quote","api":"GET /v1/bandwidth/auto-refill/quote","href":"/api-reference/auto-refill/quote-bandwidth-refill"},{"title":"Create Bandwidth Rule","api":"POST /v1/bandwidth/auto-refill","href":"/api-reference/auto-refill/create-bandwidth-rule"},{"title":"List Bandwidth Rules","api":"GET /v1/bandwidth/auto-refill","href":"/api-reference/auto-refill/list-bandwidth-rules"},{"title":"Update Bandwidth Rule","api":"PATCH /v1/bandwidth/auto-refill/{rule_id}","href":"/api-reference/auto-refill/update-bandwidth-rule"},{"title":"Delete Bandwidth Rule","api":"DELETE /v1/bandwidth/auto-refill/{rule_id}","href":"/api-reference/auto-refill/delete-bandwidth-rule"}]},{"group":"Auto Bandwidth","pages":[{"title":"Auto Bandwidth Overview","href":"/api-reference/auto-bandwidth/overview"},{"title":"Auto Bandwidth Quote","api":"GET /v1/bandwidth/auto/quote","href":"/api-reference/auto-bandwidth/quote"},{"title":"Create Subscription","api":"POST /v1/bandwidth/auto","href":"/api-reference/auto-bandwidth/create-subscription"},{"title":"List Subscriptions","api":"GET /v1/bandwidth/auto","href":"/api-reference/auto-bandwidth/list-subscriptions"},{"title":"Update Subscription","api":"PATCH /v1/bandwidth/auto/{sub_id}","href":"/api-reference/auto-bandwidth/update-subscription"},{"title":"Delete Subscription","api":"DELETE /v1/bandwidth/auto/{sub_id}","href":"/api-reference/auto-bandwidth/delete-subscription"},{"title":"List Token Contracts","api":"GET /v1/bandwidth/auto/contracts","href":"/api-reference/auto-bandwidth/list-contracts"},{"title":"Add Token Contract","api":"POST /v1/bandwidth/auto/contracts","href":"/api-reference/auto-bandwidth/add-contract"},{"title":"Remove Token Contract","api":"DELETE /v1/bandwidth/auto/contracts/{address}","href":"/api-reference/auto-bandwidth/delete-contract"}]},{"group":"Orders","pages":[{"title":"Get Order","api":"GET /v1/orders/{order_id}","href":"/api-reference/orders/get-order"},{"title":"List Orders","api":"GET /v1/orders","href":"/api-reference/orders/list-orders"},{"title":"Reclaim Order","api":"POST /v1/orders/{order_id}/reclaim","href":"/api-reference/orders/reclaim-order"}]},{"group":"Invoices","pages":[{"title":"Create Invoice","api":"POST /v1/invoices","href":"/api-reference/invoices/create-invoice"},{"title":"Get Invoice","api":"GET /v1/invoices/{invoice_id}","href":"/api-reference/invoices/get-invoice"},{"title":"List Invoices","api":"GET /v1/invoices/my","href":"/api-reference/invoices/list-invoices"}]},{"group":"Smart Mode","pages":[{"title":"Smart Mode Overview","href":"/api-reference/smart-mode/overview"},{"title":"Get Fees","api":"GET /v1/smart-mode/fees","href":"/api-reference/smart-mode/get-fees"},{"title":"Activate","api":"POST /v1/smart-mode/activate","href":"/api-reference/smart-mode/activate"},{"title":"List Subscriptions","api":"GET /v1/smart-mode/subscriptions","href":"/api-reference/smart-mode/list-subscriptions"},{"title":"Toggle Subscription","api":"POST /v1/smart-mode/{sub_id}/toggle","href":"/api-reference/smart-mode/toggle"},{"title":"Deactivate","api":"POST /v1/smart-mode/{sub_id}/deactivate","href":"/api-reference/smart-mode/deactivate"}]},{"group":"Transfer Packages","pages":[{"title":"Transfer Packages Overview","href":"/api-reference/transfer-packages/overview"},{"title":"Get Tiers","api":"GET /v1/transfer-packages/tiers","href":"/api-reference/transfer-packages/get-tiers"},{"title":"Buy Package","api":"POST /v1/transfer-packages/buy","href":"/api-reference/transfer-packages/buy"},{"title":"List Packages","api":"GET /v1/transfer-packages/my","href":"/api-reference/transfer-packages/list"}]},{"group":"Account","pages":[{"title":"Get Balance","api":"GET /v1/account/balance","href":"/api-reference/account/get-balance"},{"title":"Balance History","api":"GET /v1/account/history","href":"/api-reference/account/history"},{"title":"Get Profile","api":"GET /v1/account/profile","href":"/api-reference/account/get-profile"},{"title":"Deposits","href":"/api-reference/account/deposits"},{"title":"Withdrawals","href":"/api-reference/account/withdrawals"},{"title":"Reports","href":"/api-reference/account/reports"},{"title":"List API Key Scopes","api":"GET /v1/auth/api-keys/scopes","href":"/api-reference/account/api-key-scopes"},{"title":"Get API Key Limits","api":"GET /v1/auth/api-keys/limits","href":"/api-reference/account/api-key-limits"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","href":"/api-reference/webhooks/overview"},{"title":"Configure Webhook","api":"POST /v1/webhooks/configure","href":"/api-reference/webhooks/configure"},{"title":"Webhook Logs","api":"GET /v1/webhooks/logs","href":"/api-reference/webhooks/events"}]}]},{"tab":"Node API","pages":[{"title":"Node API","href":"/node-api/overview"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/mcp-server"}]}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/auto-refill/list-energy-rules"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/auto-refill/list-energy-rules"}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/auto-refill/list-energy-rules"}]},{"language":"tr","pages":[{"title":"tr","href":"/tr/api-reference/auto-refill/list-energy-rules"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/api-reference/auto-refill/list-energy-rules"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/api-reference/auto-refill/list-energy-rules"}]}]},"basePath":"","title":"List Energy Rules - TronRental API","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-BIYvYBgk.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js"]}