Skip to main content

Elsevier Developer Portal

Examples

Examples of embedding Scopus Cited-by counts 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="https://api.elsevier.com/content/abstract/citation-count?doi=10.1016/S0014-5793(01)03313-0&httpAccept=text/html&apiKey=your_api_key"></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. In order to support Edge and IE we suggest to use IFRAME as follows:

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

Examples of integrating Search API with your website

Name and Link    Description
OpenAccess Article Search OpenAccess Article Search is powered by ScienceDirect Search API and Serial Title API. The search query is constructed such that search terms entered by the user are concatenated with OpenAccess field restriction. The API response is processed by the browser in accordance with XSLT to display article citations returned by search API along with respective publication cover image returned by Serial Title API. For convenience cover images link to the corresponding publication homepage on ScienceDirect.
Article Search Article Search via API is similar to OpenAccess Article search with exception that search is not restricted to OpenAccess content. Article Search is powered by ScienceDirect Search API and Serial Title API. The API response is processed by the browser in accordance with XSLT to display article citations returned by search API along with respective publication cover image returned by Serial Title API. For convenience cover images link to the corresponding publication homepage on ScienceDirect.
Scopus Search Scopus Search is powered by Scopus Search API. The search query is constructed by scoping user entered terms to Scopus all field. The API response is processed by the browser in accordance with XSLT to display article citations and cited by counts returned by Scopus Search API.

What is W3C CORS?

W3C Cross-Origin Resource Sharing (CORS) spec introduces a standard mechanism for implementing cross-domain browser requests. The CORS spec defines a set of headers that allow the browser and server to communicate about which requests are (and are not) allowed. CORS support enables ease of integration with Elsevier APIs directly on your website.

For more information about CORS please refer to http://www.w3.org/TR/cors/ and http://enable-cors.org/.

An overview of how to leverage CORS with Elsevier APIs is available here. You can manage authorized CORS domains for your API keys.