Platform API Overview

Leverage programmatic API access in order to seamlessly interact with devnet and manage chainhooks.

The Platform API unlocks powerful automation opportunities in your application code, development and CI scripts, and more, via a familiar REST interface.

In particular, this API lets you programmatically create, update, query, and delete chainhooks as well as interact with a platform-hosted devnet from your local machine.

In order to use these endpoints, you first need to create an API key in the Hiro Platform.

  • Hiro Platform: Streamline your app development in our hosted dev experience.
  • Chainhook: You don’t need the platform to create event streams. Leverage chainhook independently, so your app can react to on-chain events in real time.
  • Stacks Blockchain API: Fetch on-chain data from the Stacks blockchain.
  • Token Metadata API: Fetch fungible and non-fungible token data on the Stacks blockchain.

Need help building with the Platform API?

Reach out to us on the #hiro-platform channel on Discord under the Hiro Developer Tools section. There's also a weekly office hours on Discord every Thursday at 11am ET.