# WhatsOnChain API

## WhatsOnChain API

- [Introduction](https://docs.whatsonchain.com/introduction.md)
- [Health](https://docs.whatsonchain.com/health.md)
- [Chain Info](https://docs.whatsonchain.com/chain-info.md)
- [Block](https://docs.whatsonchain.com/block.md)
- [Transaction](https://docs.whatsonchain.com/transaction.md)
- [Mempool](https://docs.whatsonchain.com/mempool.md)
- [(Un)Spent Transaction Outputs](https://docs.whatsonchain.com/un-spent-transaction-outputs.md): These endpoints cover spent and unspent transaction outputs.
- [Address](https://docs.whatsonchain.com/address.md)
- [Script](https://docs.whatsonchain.com/script.md)
- [Exchange Rate](https://docs.whatsonchain.com/exchange-rate.md)
- [Search](https://docs.whatsonchain.com/search.md)
- [WoC Widgets](https://docs.whatsonchain.com/woc-widgets.md): Right now, this functionality is BSV-only.
- [WoC Plugins](https://docs.whatsonchain.com/woc-plugins.md)
- [On-Chain Data](https://docs.whatsonchain.com/on-chain-data.md)
- [Output Tags](https://docs.whatsonchain.com/output-tags.md)
- [Stats](https://docs.whatsonchain.com/stats.md)
- [WebSockets](https://docs.whatsonchain.com/websockets.md)
- [WoC Sockets V1 (Deprecated)](https://docs.whatsonchain.com/websockets/woc-sockets-v1-deprecated.md): This API is deprecated, please use the V2 going forward.
- [WoC Sockets V2 (Beta)](https://docs.whatsonchain.com/websockets/woc-sockets-v2-beta.md)
- [Tokens](https://docs.whatsonchain.com/tokens.md): This section covers the supported token protocols.
- [1Sat Ordinals (Beta)](https://docs.whatsonchain.com/tokens/1sat-ordinals-beta.md)
- [BSV-21 (Beta)](https://docs.whatsonchain.com/tokens/bsv-21-beta.md)
- [Ordinals - BTC (Beta)](https://docs.whatsonchain.com/tokens/ordinals-btc-beta.md)
- [STAS Tokens (Beta)](https://docs.whatsonchain.com/tokens/stas-tokens-beta.md)
- [Change Log](https://docs.whatsonchain.com/change-log.md)
- [Community Libraries](https://docs.whatsonchain.com/community-libraries.md)


---

# 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, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://docs.whatsonchain.com/introduction.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.
