# Overview

With our [RESTful API](/protocolink-api/swagger.md), you have the freedom to create your own logic for any scenario. Once you have composed your logic, our API will automatically calculate the necessary predecessor requirements for the user. This means that you can use the API directly without needing to worry about the complexity of the logic you have composed. We also take care of composing the corresponding transaction data according to the requirements, making it easy for the user to send it directly.

### Getting started with the API

We provide comprehensive guides that cover the essential principles of our API. These guides will walk you through the integration process of our endpoints into your dApp, step by step.

1. [A quick start guide on how to swap & supply token](/protocolink-api/overview/swap-and-supply-example.md)
2. [How to request all tokens supported by the logic](/protocolink-api/swagger/request-tokens.md)
3. [How to request a quotation by the logic](/protocolink-api/swagger/request-quote.md)
4. [How to estimate the router data](/protocolink-api/swagger/estimate-logics-result.md)
5. [How to build a transaction data request](/protocolink-api/swagger/request-transaction-data.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.protocolink.com/protocolink-api/overview.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.
