Get API status

Retrieves the running status of the Stacks Blockchain API.

GET
/extended

Response Body

Default Response

TypeScript Definitions

Use the response body type in TypeScript.

server_versionstring

the server version that is currently running

statusstring

the current server status

pox_v1_unlock_height?integer | null
pox_v2_unlock_height?integer | null
pox_v3_unlock_height?integer | null
chain_tip?object | null

Default Response

TypeScript Definitions

Use the response body type in TypeScript.

errorstring
message?string
[key: string]any
curl -X GET "https://api.hiro.so//extended"
fetch("https://api.hiro.so//extended")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.hiro.so//extended"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.hiro.so//extended"

response = requests.request("GET", url)

print(response.text)
{
  "server_version": "string",
  "status": "string",
  "pox_v1_unlock_height": 0,
  "pox_v2_unlock_height": 0,
  "pox_v3_unlock_height": 0,
  "chain_tip": {
    "block_height": 0,
    "block_hash": "string",
    "index_block_hash": "string",
    "microblock_hash": "string",
    "microblock_sequence": 0,
    "burn_block_height": 0
  }
}
{
  "error": "string",
  "message": "string"
}