# 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: 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://tgbtc.gitbook.io/docs/development/tgbtc-api-by-tonx.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.
