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

# tgBTC API by TONX

This overview highlights the tgBTC APIs built by TONX, designed to help developers quickly integrate tgBTC into their projects on TON.

{% hint style="warning" %}
Please note that tgBTC only supports testnet environments, and this API was built by independent community developers, so keep this in mind during development.
{% endhint %}

You can start experimenting with the API using the links below.

<table><thead><tr><th>Method</th><th>Explanation</th><th data-hidden></th></tr></thead><tbody><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-transfers">Get tgBTC Transfers</a></td><td>To retrieve the content of tgBTC Transfer transactions from the TON blockchain</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-metadata">Get tgBTC MetaData</a></td><td>Get the metadata JSON content of the tgBTC Jetton Master</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-jetton-transfer-payload">Get tgBTC Jetton Transfer Payload</a></td><td>Get the internal message payload of tgBTC Jetton transfer which is used in the TON Connect</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-jetton-wallet-address">Get tgBTC Jetton Wallet Address</a></td><td>Get the address of tgBTC Jetton Wallet contract by the given owner address</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-balance">Get tgBTC Balance</a></td><td>Get the token balance of tgBTC Jetton Wallets from the TON blockchain</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-holders">Get tgBTC Holders</a></td><td>To retrieve a list of tgBTC token holders from the TON blockchain</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/get-tgbtc-jetton-master-address">Get tgBTC Jetton Master Address</a></td><td>Get the address of tgBTC Jetton Master contract</td><td></td></tr><tr><td><a href="https://docs.tonxapi.com/reference/post_api-key">Get tgBTC Burns</a></td><td>To retrieve the content of tgBTC Burn transactions from the TON blockchain</td><td></td></tr></tbody></table>


---

# 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, and the optional `goal` query parameter:

```
GET https://tgbtc.gitbook.io/docs/development/tgbtc-api-by-tonx.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
