⚙ī¸APIs

Integrate Brian in your project via APIs.

Check the Prompt Guide to better prompt on Brian.

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.

If you're from the US and experiencing latency issues, try using https://us-api.brianknows.org as the base URL for the APIs. Add /swagger to visit the Swagger page.

Last updated