> For the complete documentation index, see [llms.txt](https://docs.tronsave.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tronsave.io/developers.md).

# Developers

- [Developer Quickstart](https://docs.tronsave.io/developers/quickstart.md): Make your first TronSave API call — get a key, estimate, buy, and confirm an Energy order in about 10 minutes.
- [Authentication](https://docs.tronsave.io/developers/authentication.md): How TronSave authenticates API requests — Internal Account, API Key, and Signed Transaction.
- [Environments & Networks](https://docs.tronsave.io/developers/environments.md): TronSave's two API environments — Mainnet and the Nile testnet — and how to switch between them.
- [Errors & Rate Limits](https://docs.tronsave.io/developers/errors-and-rate-limits.md): Rate limits, HTTP status codes, and error payloads returned by the TronSave API.
- [API Reference](https://docs.tronsave.io/developers/api-reference.md): The TronSave REST API — base URLs, authentication, versioning, the response envelope, and links to every endpoint group.
- [Buy Resources](https://docs.tronsave.io/developers/api-reference/buy-resources.md): Two ways to buy Energy and Bandwidth through the TronSave API — Signed Transaction or API Key — and how to choose between them.
- [Signed Transaction](https://docs.tronsave.io/developers/api-reference/buy-resources/signed-tx.md): Buy Energy or Bandwidth by submitting a signed TRON transaction — estimate cost, get a signed transaction, then create the order.
- [Estimate TRX](https://docs.tronsave.io/developers/api-reference/buy-resources/signed-tx/estimate-trx.md): Estimate the TRX required to buy Energy or Bandwidth for a given amount and rental duration before creating a signed-transaction order.
- [Get Signed Transaction](https://docs.tronsave.io/developers/api-reference/buy-resources/signed-tx/get-signed-transaction.md): Generate a signed TRX payment transaction for a resource order — either with your own code or via the TronSave Get Signed Transaction API.
- [Create Order](https://docs.tronsave.io/developers/api-reference/buy-resources/signed-tx/create-order.md): Submit a signed TRON transaction to create a resource order — Step 3 of the signed-transaction buy flow.
- [API Key](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key.md): Buy Energy or Bandwidth with a TronSave API key and a prefunded internal account — no per-order on-chain signing required.
- [Get Account Info](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/get-account-info.md): Retrieve the internal account information associated with your TronSave API key, including balance and deposit address.
- [Get Order Book](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/get-order-book.md): Retrieve the current Energy or Bandwidth order book with available offers and prices, authenticated with a TronSave API key.
- [Estimate TRX](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/estimate-trx.md): Estimate the TRX required to buy a given amount of Energy or Bandwidth for a chosen rental duration, using your TronSave API key.
- [Create Order](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/create-order.md): Create an Energy or Bandwidth purchase order with an API key, paid from your TronSave internal account, and receive an orderId to track its status.
- [Get Order Details](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/get-order-details.md): Retrieve detailed information and the current status of a specific order using its orderId.
- [Order History](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/order-history.md): Retrieve the order history of the internal account associated with your TronSave API key, with pagination and status filtering.
- [List Orders](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/list-orders.md): Retrieve a detailed, paginated list of orders created by a whitelisted buyer account, authenticated with a TronSave API key.
- [Monthly Stats](https://docs.tronsave.io/developers/api-reference/buy-resources/api-key/monthly-stats.md): Retrieve a buyer account's monthly trading statistics for the last 6 months. Requires a whitelisted API key.
- [Extend Orders](https://docs.tronsave.io/developers/api-reference/extend-orders.md): Extend an existing TronSave order (v2) in two steps — fetch extendable delegates, then submit an extend request paid by API key or signed transaction.
- [Get Extendable Delegates](https://docs.tronsave.io/developers/api-reference/extend-orders/get-extendable-delegates.md): Query an order to find which delegates are eligible for extension, how much TRX it will cost, and the extendData payload you pass to the extend request in step 2.
- [Extend Request](https://docs.tronsave.io/developers/api-reference/extend-orders/extend-request.md): Submit an extend request for an existing TronSave order — pay with your API key (internal account) or with a signed transaction — and receive an orderId.
- [Sell Resources](https://docs.tronsave.io/developers/api-reference/sell-resources.md): Manually sell Energy or Bandwidth on TronSave by matching active buy orders with a signed on-chain delegate transaction.
- [Fast Charge](https://docs.tronsave.io/developers/api-reference/fast-charge.md): Buy Energy for many addresses in one flow — estimate cost, create orders, track matching, then confirm to reclaim unused Energy and refund the difference.
- [Estimate TRX](https://docs.tronsave.io/developers/api-reference/fast-charge/estimate-trx.md): Estimate the TRX required to create fast charge orders before placing them, using your API key and prefunded internal account.
- [Create Order](https://docs.tronsave.io/developers/api-reference/fast-charge/create-order.md): Create one or more Fast Charge orders to rent Energy for a list of receiver addresses in a single request, authenticated with your TronSave API key.
- [Track Order](https://docs.tronsave.io/developers/api-reference/fast-charge/track-order.md): Check the matching status of one or more Fast Charge orders by their order IDs.
- [Confirm Request](https://docs.tronsave.io/developers/api-reference/fast-charge/confirm-request.md): Confirm completed fast charge orders to end the Energy rental, reclaim unused Energy, and trigger the TRX refund to your internal account.
- [Cancel Order](https://docs.tronsave.io/developers/api-reference/fast-charge/cancel-order.md): Cancel one or more pending fast charge orders that have not yet been matched, using your API key.
- [Get History](https://docs.tronsave.io/developers/api-reference/fast-charge/get-history.md): Retrieve your Fast Charge order history, sorted by creation time with optional time-range and pagination filters.
- [MCP Server](https://docs.tronsave.io/developers/api-reference/mcp.md): The TronSave MCP server — drive TronSave authentication, orders, pricing, and delegate workflows from AI agents over Streamable HTTP.
- [SDK](https://docs.tronsave.io/developers/sdk.md): Official TronSave SDKs for buying and managing Energy and Bandwidth on TRON — available for TypeScript, Rust, Python, Java, and PHP.
- [Code Examples](https://docs.tronsave.io/developers/code-examples.md): End-to-end, copy-paste code examples for buying and extending Energy and Bandwidth through the TronSave API.
- [v2 — Buy with Private Key](https://docs.tronsave.io/developers/code-examples/buy-with-private-key.md): Full working example of buying Energy or Bandwidth via the TronSave v2 API by signing the payment transaction with a wallet private key.
- [v2 — Buy with API Key](https://docs.tronsave.io/developers/code-examples/buy-with-api-key.md): A complete, runnable example that buys Energy or Bandwidth with an API key and polls the order until it is fulfilled, in JavaScript, Python, and PHP.
- [v2 — Extend with Private Key](https://docs.tronsave.io/developers/code-examples/extend-with-private-key.md): A complete working example that extends an existing resource delegation by paying for it with a locally signed transaction built from your private key.
- [v2 — Extend with API Key](https://docs.tronsave.io/developers/code-examples/extend-with-api-key.md): Full working example showing how to extend an existing TronSave order using an API Key, in JavaScript, PHP, and Python.
- [v0 — Buy with Private Key](https://docs.tronsave.io/developers/code-examples/buy-with-private-key-1.md): Full working example for buying Energy via the TronSave v0 API by signing a TRX transaction with your own private key.
- [v0 — Buy with API Key](https://docs.tronsave.io/developers/code-examples/buy-with-api-key-1.md): Full v0 example — buy Energy with an API Key, from order book check to fulfillment polling, in JavaScript, Java, Ruby, and PHP.
- [v0 — Extend with API Key](https://docs.tronsave.io/developers/code-examples/extend-with-api-key-1.md): Full v0 example showing how to extend a resource order using an API Key.
- [Legacy API (v0)](https://docs.tronsave.io/developers/legacy-api-v0.md): The legacy TronSave REST API v0 — kept for existing integrations. New projects should use v2.
- [Buy — Signed Transaction](https://docs.tronsave.io/developers/legacy-api-v0/signed-tx.md): Legacy v0 flow for buying Energy with a signed TRON transaction — estimate TRX, generate a signed transfer, and create the order.
- [Buy — API Key](https://docs.tronsave.io/developers/legacy-api-v0/api-key.md): Legacy v0 REST endpoints for buying Energy with an API key — account info, order book, TRX estimate, create order, order details, order history, and wallet activation.
- [Extend](https://docs.tronsave.io/developers/legacy-api-v0/extend.md): Legacy v0 flow for extending TronSave resource delegations with an API Key — check extendable delegates, then create extend requests.
- [Changelog](https://docs.tronsave.io/developers/changelog.md): Version history and breaking changes for the TronSave API.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tronsave.io/developers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
