Skip to main content

Bash


koios-bash

Overview

Quering the Cardano Blockchain Koios API using bash shell

Tips

This is the fastest way to test our API in bash.

Examples

Below there are few examples to study, while to see the full koios documentation you can find it here

Tokenomic stats
curl -X GET "https://api.koios.rest/api/v1/totals?_epoch_no=320" -H "accept: application/json" 

--- 

Example response:
[
  {
    "epoch_no": 320,
    "circulation": "32696853337370414",
    "treasury": "806985387511233",
    "reward": "577641621267691",
    "supply": "34085668605164388",
    "reserves": "10914331394835612"
  }
]