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

# API

### Overview

&#x20; AOK API refers to an application programming interface that can be useful in producing third-party software using AOK networks as a set of definitions and protocols for building and integrating application software.

&#x20; AOK's API makes it convenient to perform a series of processes such as verifying the transmission history or checking the balance without directly operating the software node. The API of AOK is conveniently available in URL format, and all results are provided in JSON format with items, which is highly utilized.

![AOK Network API Web Page](/files/kFFAX4V269uLaYJXj6R7)

🔗 **AOK Network API Link**: <https://api.aok.network/>

**Types of APIs currently available**

•/Info\
•/height/int:height\
•/block/string:hash\
•/header/string:hash\
•/range/int:height\
•/balance/string:address\
•/mempool/string:address\
•/unspent/string:address\
•/history/string:address\
•/transaction/string:hash\
•/mempool\
•/fee\
•/decode/string:raw\
•/broadcast


---

# 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://aok.gitbook.io/aok-en/ecosystem/api.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.
