Vision Industry Token API


A simple API to gather data from the VIT Blockchain.

Below you will find the API documentation. Usage of the VIT API is governed by the VIT API Terms of Service and Privacy Policy.

Documentation

There are currently two endpoints.

Endpoints:

Query Parameters:

Examples:

Account History:

Example One:

https://vitapi.isfor.me/account-history?account=testies1212

Returns latest 300 operations in reverse chronological order for VIT account testies1212.
Sample Output:
[
  {
    "_id": "ef5d8ed06950a374d31ac4e8ceb40d3d169c03ec", 
    "account": "testies1212", 
    "author": "sstf11", 
    "block": 11891146, 
    "index": 6223, 
    "op_in_trx": 0, 
    "permlink": "party-at-home-", 
    "timestamp": "2019-11-01T18:30:51", 
    "trx_id": "5c40ecad0f79d62782716913d664b01b2bb63bc0", 
    "trx_in_block": 0, 
    "type": "vote", 
    "virtual_op": 0, 
    "voter": "testies1212", 
    "weight": 10000
  }, 
  
  ...
   
  {
    "_id": "dd9faf41b24fa35d16be32cb8bab340adbb0e8c6", 
    "account": "testies1212", 
    "block": 11665006, 
    "index": 5923, 
    "op_in_trx": 0, 
    "producer": "testies1212", 
    "timestamp": "2019-10-24T21:37:45", 
    "trx_id": "8dd4d5b3ca77eea0ed409957621524cac5752978", 
    "trx_in_block": 0, 
    "type": "producer_reward", 
    "vesting_shares": "12.999603 VESTS", 
    "virtual_op": 0
  }
]

Example Two:
https://vitapi.isfor.me/account-history?account=testies1212&index=10&limit=9&order=1

Returns second through eleventh operations in chronological order for VIT account testies1212.
Sample Output:
[
  {
    "_id": "06033b0ba1ccbe360a6e2da6d3e74da908e741b5", 
    "account": "testies1212", 
    "block": 4085242, 
    "id": "follow", 
    "index": 1, 
    "json": "[\"follow\",{\"follower\":\"testies1212\",\"following\":\"mbs305\",\"what\":[\"blog\"]}]", 
    "op_in_trx": 0, 
    "required_auths": [], 
    "required_posting_auths": [
      "testies1212"
    ], 
    "timestamp": "2019-02-02T18:16:39", 
    "trx_id": "9a7c369c356a388ec12572c156a0d146388a493a", 
    "trx_in_block": 0, 
    "type": "custom_json", 
    "virtual_op": 0
  }, 
  
  ...
  
   {
    "_id": "e99f2facfbb9712e65090d3e737279752583db56", 
    "account": "testies1212", 
    "author": "redrum", 
    "block": 4182893, 
    "index": 10, 
    "op_in_trx": 0, 
    "permlink": "20190205t210905380z", 
    "timestamp": "2019-02-06T03:40:45", 
    "trx_id": "a90582358e4ae4e0c2f363b715f2c969779783ce", 
    "trx_in_block": 0, 
    "type": "vote", 
    "virtual_op": 0, 
    "voter": "testies1212", 
    "weight": 10000
  }
]

Example Three:
https://vitapi.isfor.me/account-history?account=testies1212&index=0&limit=0

Returns account creation transaction for VIT account testies1212.
Sample Output:
[
  {
    "_id": "890e4c0355f00a26670c3f307ca7f603734cb8fd", 
    "account": "testies1212", 
    "active": {
      "account_auths": [], 
      "key_auths": [
        [
          "VIT8SXXgjzHoT6vQKvTJKzGduUyUGSJgsnNwGvUyeDwQTS6P6HXn3", 
          1
        ]
      ], 
      "weight_threshold": 1
    }, 
    "block": 4084711, 
    "creator": "mbs305", 
    "delegation": "15.000000 VESTS", 
    "extensions": [], 
    "fee": "0.100 VIT", 
    "index": 0, 
    "json_metadata": "", 
    "memo_key": "VIT5s6xSFoc5dHwCLYQXPqGcw5aphSRe91PRyLj8QANimNVe6JHMT", 
    "new_account_name": "testies1212", 
    "op_in_trx": 0, 
    "owner": {
      "account_auths": [], 
      "key_auths": [
        [
          "VIT5rfo2aryWBevXFm4BQ6Ayz9TJF5iPXcuPGzNYcmjDkkZqCNtna", 
          1
        ]
      ], 
      "weight_threshold": 1
    }, 
    "posting": {
      "account_auths": [], 
      "key_auths": [
        [
          "VIT6sTdXS6u4Eig6KvtMyRmR4aQocZm5iL6vojypHxAym7UfCVmi3", 
          1
        ]
      ], 
      "weight_threshold": 1
    }, 
    "timestamp": "2019-02-02T17:50:06", 
    "trx_id": "83a3edcc871a0d1fb073c9ae8de27d7964ca6a77", 
    "trx_in_block": 0, 
    "type": "account_create_with_delegation", 
    "virtual_op": 0
  }
]


Transfers:
Example One:
https://vitapi.isfor.me/account-history/transfers?account=testies1212

Returns all VIT transfer operations within the last 300 account operations to and from VIT account testies1212, in reverse chronological order.
Sample Output:
[
  {
    "_id": "5a551e3f52ffa7788bf28823b14a720e9e27a1d7", 
    "account": "testies1212", 
    "amount": "2.000 VIT", 
    "block": 11864715, 
    "from": "mbs305", 
    "index": 6206, 
    "memo": "Testing wallet.", 
    "op_in_trx": 0, 
    "timestamp": "2019-10-31T20:22:24", 
    "to": "testies1212", 
    "trx_id": "8cfa34564a33864c9c9b8e698f9aa78cfb429a1c", 
    "trx_in_block": 0, 
    "type": "transfer", 
    "virtual_op": 0
  }, 
  
  ...
  
    {
    "_id": "51059757d6b07f1ba9740b2b42dc3537989bea5c", 
    "account": "testies1212", 
    "amount": "2.000 VIT", 
    "block": 11713522, 
    "from": "testies1212", 
    "index": 6042, 
    "memo": "Testing wallet", 
    "op_in_trx": 0, 
    "timestamp": "2019-10-26T14:03:36", 
    "to": "mbs305", 
    "trx_id": "b6eaa3174c630cce740a6f01eb538d505f270d7d", 
    "trx_in_block": 0, 
    "type": "transfer", 
    "virtual_op": 0
  }
]

Example Two:
https://vitapi.isfor.me/account-history/transfers?account=testies1212&index=250&limit=249&order=1

Returns all VIT transfer operations within the first 250 account operations to and from VIT account testies1212, in chronological order.

Sample output:
[
  {
    "_id": "3cd108866d67723e220a69ca522c0d4eeac62305", 
    "account": "testies1212", 
    "amount": "2.000 VIT", 
    "block": 5036363, 
    "from": "mbs305", 
    "index": 135, 
    "memo": "For testing.", 
    "op_in_trx": 0, 
    "timestamp": "2019-03-07T23:39:09", 
    "to": "testies1212", 
    "trx_id": "fc9b1c14efcd37a8b050d1345cd50335d6ff3790", 
    "trx_in_block": 0, 
    "type": "transfer", 
    "virtual_op": 0
  }, 
  
  ...
  
   {
    "_id": "9257add365f565c03a1e179684b63bc221dcf611", 
    "account": "testies1212", 
    "amount": "2.000 VIT", 
    "block": 5143202, 
    "from": "mbs305", 
    "index": 202, 
    "memo": "test 2", 
    "op_in_trx": 0, 
    "timestamp": "2019-03-11T16:48:36", 
    "to": "testies1212", 
    "trx_id": "97c1afe1910f0378a7e906347df15edea9b8b429", 
    "trx_in_block": 0, 
    "type": "transfer", 
    "virtual_op": 0
  }
]