Examples of embedding API-based HTML widgets on your site


When reusing this code, please replace the API key in the examples with your own API key; you can obtain one using My API key. The API key provided in the examples is only meant for demonstration purposes.


Embed Cited by in Scopus counts (HTML fragment below)

<object height="50" data="http://api.elsevier.com/content/abstract/citation-count?doi=10.1016/S0014-5793(01)03313-0&httpAccept=text/html&apiKey=7f59af901d2d86f78a1fd60c1bf9426a"></object>

How it appears on the site:



Microsoft Edge and IE make HEAD request preceding actual GET request when using "object", resulting in failed API response to HEAD request. Please refer to the issue details at https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8499759/ . Meantime, in order to support Edge and IE we suggest to use IFRAME as follows:

<iframe height="50" data="http://api.elsevier.com/content/abstract/citation-count?doi=10.1016/S0014-5793(01)03313-0&httpAccept=text/html&apiKey=7f59af901d2d86f78a1fd60c1bf9426a"></iframe>


Embed Article PDF (HTML fragment below)

<iframe width="700" height="500" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://api.elsevier.com/content/article/doi/10.1016/j.bbamcr.2008.11.016?httpAccept=application/pdf&apiKey=7f59af901d2d86f78a1fd60c1bf9426a&cdnRedirect=true"></iframe>

How it appears on the site:


Embed Journal Cover Image with link to journal homepage on ScienceDirect (HTML fragment below)

<a href="http://www.sciencedirect.com/science/journal/00941298"><img src="http://api.elsevier.com/content/serial/title/issn/00941298?view=coverimage&httpAccept=image/gif&apiKey=7f59af901d2d86f78a1fd60c1bf9426a"></a>

How it appears on the site:


Embed Book Cover Image with link to book homepage on ScienceDirect (HTML fragment below)

<a href="http://www.sciencedirect.com/science/book/9780123942951"><img src="http://api.elsevier.com/content/nonserial/title/isbn/9780123942951?view=coverimage&httpAccept=image/gif&apiKey=7f59af901d2d86f78a1fd60c1bf9426a"></a>

How it appears on the site: