Platform API

Programmatic access to devnet and chainhook management via REST.

Overview

The Platform API provides programmatic control over Hiro Platform services through a REST interface. Built for automation and CI/CD integration, it enables you to create and manage chainhooks, control platform-hosted devnets, and interact with blockchain services directly from your application code.

Key features

  • Chainhook automation - Create, update, and delete chainhooks programmatically
  • Devnet control - Start, stop, and interact with platform-hosted development networks
  • CI/CD integration - Automate blockchain workflows in your development pipeline

Usage

Terminal
$
curl -L 'https://api.platform.hiro.so/v1/ext/{apiKey}/chainhooks' -H 'Accept: application/json'

For more usage examples, click here.

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 call every Wednesday at 1pm ET.