# BrainDex API Integration

BrainDex integration relies on two components: our Pathfinder API, which provides routing data for on-chain execution, and the Router smart contract, which interprets and executes Pathfinder output.

See the below pages for detailed information on each.


---

# 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://braindex.gitbook.io/braindex-documentation/developer-documentation/braindex-api-integration.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.
