Quick Start
Install the library
The best way to interact with our RESTful API is to use one of our official libraries:
Make your first request
To make your first request, send an request to the web endpoint. This will receive a website bloq
, based on the blockchain and transaction id (txid) provided.
Retrieve website
POST
https://api.bloqifi.com/v0/web
Retrieve a website
Headers
Accept*
String
application/json
Content-Type*
String
application/json
Request Body
txids*
Array
List of transaction id's ['123', '321']
blockchain*
String
Bloqcoin
, Dogecoin
, Bitcoin
, IPFS
Brotli compressed data if there is Content-Encoding support, otherwise raw text/html
Take a look at how you might call this method using our official libraries, or via curl
:
If the website byte size is larger then 80 bytes, it will be split up in chunks and added to the blockchain in multiple transactions ids. However in the case of Bloqcoin
, a website can be as large as 20480; //!< bytes (+1 for OP_RETURN, +2 for the pushdata opcodes) and in most cases only require one transaction id.
Last updated
Was this helpful?