Exosis API Documentation

Welcome to Exosis API documentation. Exosis Api is simple API that return response in JSON format. Here is the full details of available api's

Get Info

Input
https://explorer.exosis.org/api/getinfo
Output
 {
  "network": 5.6892,
  "difficulty": 0.00024414,
  "blocks": 802,
  "supply": 2001915
 }
              

Get Network

Input
https://explorer.exosis.org/api/network
Output
5.6886 //ouptut will be network

Get Difficulty

Input
https://explorer.exosis.org/api/difficulty
Output
0.00024414 //ouptut will be difficulty

Get BlockHeight

Input
https://explorer.exosis.org/api/height
Output
802 //ouptut will be latest block height

Get Supply

Input
https://explorer.exosis.org/api/supply
Output
2001915 //ouptut will be latest supply

Get Block

You can get block details by block hash or block height .

1) Using Block height

Input
https://explorer.exosis.org/api/hash/802

2) Using Block Hash

Input
https://explorer.exosis.org/api/hash/000007ea19eea9654ca2bc0ec3cf988e055c9a755232fced4e3a3ab7bbec46c8
Output
{
  "responseType": "success",
  "message": "success",
  "data": {
    "height": 802,
    "hash": "000007ea19eea9654ca2bc0ec3cf988e055c9a755232fced4e3a3ab7bbec46c8",
    "merkleroot": "c1220fce31cddcf26cd24400045d9221a681498f99a0dde44aa9d41fd03b84f4",
    "nonce": 19383,
    "chainwork": "0000000000000000000000000000000000000000000000000000000b6c1409f4",
    "previousblockhash": null,
    "nextblockhash": null,
    "size": 228,
    "weight": 912,
    "time": 1539322205,
    "difficulty": 0.0002441371325370145
  }
}
 

You can get all transactions of block by passing 1 like below example

Input
https://explorer.exosis.org/api/hash/542/1
Output
{
  "responseType": "success",
  "message": "success",
  "data": {
    "height": 542,
    "hash": "000005f665c3cc9880d5ed97c8885772c69e62ac433572b64ab99f7ffeadc544",
    "merkleroot": "7500a77a899fd2fdfb28a2c38585a65ff8542adb9142f97a3033b0aa3bec1c58",
    "nonce": 31690,
    "chainwork": "0000000000000000000000000000000000000000000000000000000b5bd408f0",
    "previousblockhash": null,
    "nextblockhash": null,
    "size": 644,
    "weight": 2576,
    "time": 1539269530,
    "difficulty": 0.0002441371325370145,
    "transactions": [
      {
        "txid": "36284d810631399b7477cb90f4b7d968c64dce77a411b01b43ddd59cf45a0606",
        "vin": [
          {
            "txid": "5dd8e36b078dc7532211adc3ce9404592f97881de7ffd480b113866f80f67e1e",
            "vout": 0,
            "value": 0.25,
            "address": "EPWGcgspS3KY1xPyXehNV2VaAMuBMnYpFP"
          },
          {
            "txid": "dbb1c7fb87e2afd6dd71189774e0e592b90a0de54d5be1d2d89c42c540088959",
            "vout": 0,
            "value": 5000,
            "address": "EPj2TJJiuRpRodgGAifuHLNEtGyRYpqpKe"
          },
          {
            "txid": "0959163786f71c4105ff0921bb1d4445755b5e4676d9bf663f7a094ba35c66ec",
            "vout": 0,
            "value": 5000,
            "address": "Ef8VRhT6DqwEvWmp7Mzj8ML68PyZps6RcT"
          }
        ],
        "vout": [
          {
            "value": 10000,
            "address": "EyxxCXC4ndFRJMjFz996MnafagfBmyDEnV",
            "n": 0
          },
          {
            "value": 0.249584,
            "address": "Eq3LubZaVMsMR9DuGq6dKmJWdWJBkToDqn",
            "n": 1
          }
        ]
      },
      {
        "txid": "b78b202e1d8a38d003adb40033a868f1b08c5c25e2b3442572d32142c7f13c82",
        "vin": null,
        "vout": [
          {
            "value": 5.000416,
            "address": "ES96ZwR5Y9WSjB8PrcXypKaPvR2NMjk8FQ",
            "n": 0
          }
        ]
      }
    ]
  }
}
 

Get Transaction

You can get transaction details by transaction ID . If transaction id exist in blockchain then response will give you all information of that transaction id otherwise it will return error

Input
https://explorer.exosis.org/api/tx/36284d810631399b7477cb90f4b7d968c64dce77a411b01b43ddd59cf45a0606
Output
{
  "responseType": "success",
  "message": "success",
  "data": {
    "height": 542,
    "txid": "36284d810631399b7477cb90f4b7d968c64dce77a411b01b43ddd59cf45a0606",
    "size": 416,
    "vsize": 416,
    "vinVout": [
      {
        "txid": "5dd8e36b078dc7532211adc3ce9404592f97881de7ffd480b113866f80f67e1e",
        "vout": 0,
        "value": 0.25,
        "address": "EPWGcgspS3KY1xPyXehNV2VaAMuBMnYpFP"
      },
      {
        "txid": "dbb1c7fb87e2afd6dd71189774e0e592b90a0de54d5be1d2d89c42c540088959",
        "vout": 0,
        "value": 5000,
        "address": "EPj2TJJiuRpRodgGAifuHLNEtGyRYpqpKe"
      },
      {
        "txid": "0959163786f71c4105ff0921bb1d4445755b5e4676d9bf663f7a094ba35c66ec",
        "vout": 0,
        "value": 5000,
        "address": "Ef8VRhT6DqwEvWmp7Mzj8ML68PyZps6RcT"
      }
    ],
    "vout": [
      {
        "value": 10000,
        "address": "EyxxCXC4ndFRJMjFz996MnafagfBmyDEnV",
        "n": 0
      },
      {
        "value": 0.249584,
        "address": "Eq3LubZaVMsMR9DuGq6dKmJWdWJBkToDqn",
        "n": 1
      }
    ]
  }
}