# APIs

{% hint style="success" %}
Check the [Prompt Guide](/prompt-guide.md) to better prompt on Brian.
{% endhint %}

Brian API provides endpoints to interact with through English prompts for making web3 interactions.

* `/transaction`: get executable transactions from a prompt.
* `/knowledge`: get a textual response (and the web3 docs used) from a prompt.
* `/agent`: get executable transactions and textual response (and the web3 docs used) from a prompt and a chat history.
* `/smart-contract`: get the solidity smart contract code from a prompt.
* `/parameters-extraction`: get the extracted parameters for the user's intent from a prompt.
* `/networks`: get the networks supported by Brian.
* `/actions`: get the actions supported by Brian with the related parameters and descriptions.


---

# 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.brianknows.org/brian-api/apis.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.
