This defines the API for whitepaper lookup
https://api.whitepaper.io/lookup?code=BTC
Parameter | Description | Required |
---|---|---|
code | Add a valid cryptocurrency code for example: (BTC, ETH, XRP). | Yes |
[
{
"type": "Whitepaper",
"name": "Bitcoin",
"language": "en",
"documentUrl": "https://whitepaper.io/document/0/bitcoin-whitepaper",
"documentEmbedUrl": "https://whitepaper.io/document/0/bitcoin-whitepaper?embed=1",
"documentInfo": {
"pages": 9,
"pageSize": "612 x 792 pts (letter)",
"fileSize": 341799,
}
}
]
This explains how to implement a whitepaper popup into your website
Add the following javascript snippet to your website
<script>(function(d, s, id) {
var js, wjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://whitepaper.io/scripts/sdk.js";
wjs.parentNode.insertBefore(js, wjs);
}(document, 'script', 'whitepaper-io'));</script>
Add a URL to the document anywhere on your website. To find the document URL you can use our Lookup API or search for the document on this website.
<a href="https://whitepaper.io/document/0/bitcoin-whitepaper" class="whitepaper-io">Bitcoin Whitepaper</a>
This explains how to embed a whitepaper into your website
Add the following html to your website
<iframe src="https://whitepaper.io/document/0/bitcoin-whitepaper?embed=1" frameborder="0"></iframe>
To find the document embed URL you can use our Lookup API or search for the document on this website.