NAV Navbar
shell python

Introduction

Welcome to the NodaBlock API documentation! Nodablock provide you an easy access to any Blockchain networks (Bitcoin, Ethereum, and more coming soon). You can use our API to access NodaBlock API endpoints. The documentation is currently a Work In Progress.

Authentication

To authorize, use this code:

import nodablock

api = nodablock.authorize('meowmeowmeow')
# With shell, you can just pass the correct header with each request
curl "api_endpoint_here"
  -H "Authorization: meowmeowmeow"

Make sure to replace meowmeowmeow with your API key.

Nodablock uses API keys to allow access to the API. You can register a new Nodablock API key here (link comiong soon).

Nodablock expects for the API key to be included in all API requests to the server in a header that looks like the following:

Authorization: meowmeowmeow

Errors

The Kittn API uses the following error codes:

Error Code Meaning
400 Bad Request -- Your request is invalid.
401 Unauthorized -- Your API key is wrong.
403 Forbidden -- The kitten requested is hidden for administrators only.
404 Not Found -- The specified kitten could not be found.
405 Method Not Allowed -- You tried to access a kitten with an invalid method.
406 Not Acceptable -- You requested a format that isn't json.
410 Gone -- The kitten requested has been removed from our servers.
418 I'm a teapot.
429 Too Many Requests -- You're requesting too many kittens! Slow down!
500 Internal Server Error -- We had a problem with our server. Try again later.
503 Service Unavailable -- We're temporarily offline for maintenance. Please try again later.