Get API status

Retrieves the running status of the Ordinals API.


GET
/ordinals/v1

Response Body

curl -X GET "https://api.hiro.so/ordinals/v1"
fetch("https://api.hiro.so/ordinals/v1")
package main

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

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

  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/ordinals/v1"

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

print(response.text)
{
  "server_version": "",
  "status": "string",
  "block_height": 0,
  "max_inscription_number": 0,
  "max_cursed_inscription_number": 0
}