# 获取 API 密钥

### **什么是Tronsave内部账户？**&#x20;

它是由系统创建的账户，用于存储Tronsave内的用户信息和交易。 内部账户帮助用户管理资产、跟踪交易历史并执行系统内的操作。 每个内部账户都分配了一个唯一的API密钥。

### **什么是API密钥？**&#x20;

API密钥是与用户内部账户关联的唯一标识符。 它由Tronsave发行，允许用户或第三方应用程序（例如机器人或自动化服务）在不登录网站或应用程序的情况下向内部账户发送命令。 每个API请求，例如查询余额或创建交易订单，都通过API密钥与内部账户相关联。

### 使用API密钥的API：&#x20;

[购买能量使用API密钥<br>](/chinese/developer/rest-api-v0/buy-on-rest-api/use-api-key.md)[订单延长使用API密钥](/chinese/developer/rest-api-v0/order-extend-api.md)


---

# Agent Instructions: 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/chinese/developer/get-api-key.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.
