Lookup

This defines the API for whitepaper lookup

Request

https://api.whitepaper.io/lookup?code=BTC

Parameters

ParameterDescriptionRequired
codeAdd a valid cryptocurrency code for example: (BTC, ETH, XRP).Yes

Response

[
        {
          "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,
          }
        }
      ]

Dialog Link

This explains how to implement a whitepaper popup into your website

Example

Bitcoin Whitepaper

Implementation

Javscript

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>

Link

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>

Embed

This explains how to embed a whitepaper into your website

Implementation

HTML

Add the following html to your website

<iframe src="https://whitepaper.io/document/0/bitcoin-whitepaper?embed=1" frameborder="0"></iframe>

Link

To find the document embed URL you can use our Lookup API or search for the document on this website.

Example