CORE

CORE

  • Category: Science


Introduction to Core.ac.uk API

Core.ac.uk offers an API that allows developers to access a wide range of academic research articles. This service is especially useful for those who are developing research-based applications, academic tools, and bibliographic websites.

In this article, we will explore various examples of how you can use the Core.ac.uk API using JavaScript.

Getting Started

Firstly, we need to obtain an API key from Core.ac.uk API. After that, we can start querying the API. Let's start with a simple query to get a list of articles for a given search term.

const apiKey = 'InsertYourApiKeyHere'
const searchQuery = 'machine learning';

fetch(`https://api.core.ac.uk/v3/search/${searchQuery}?apiKey=${apiKey}`)
  .then(response => response.json())
  .then(data => {
    console.log(data)
  });

Here, we are using the fetch function to send an HTTP request to the API with our API key and search query. The response from the API is returned in JSON format, which we can process as we wish.

Advanced Queries

We can also refine our search with other parameters like date range, category, file format, etc. Take a look at the following example which filters the articles for a given publication and specifies the number of results to return.

const publication = 'arXiv'
const maxResults = '10'

fetch(`https://api.core.ac.uk/v3/search/${publication}?apiKey=${apiKey}&pageSize=${maxResults}`)
  .then(response => response.json())
  .then(data => {
    console.log(data)
  });

Full Text Search

Another important feature of the Core.ac.uk API is its ability to search for full-text articles. Here is an example that finds articles mentioning "neural networks" in their full text.

const searchText = 'neural networks'

fetch(`https://api.core.ac.uk/v3/search/fulltext/${searchText}?apiKey=${apiKey}`)
  .then(response => response.json())
  .then(data => {
    console.log(data)
  });

We can also refine our search by specifying the fields to search in, like abstract, title, or full text.

Conclusion

In this article, we have explored various examples of using the Core.ac.uk API using JavaScript. With its advanced search capabilities and the wealth of academic articles available, Core.ac.uk API can be used to build amazing applications related to academic research.

Visit to CORE website

Similar APIs of Science

Auroras.live DIY

Auroras.live DIY

Science

Friendly way of accessing various aurora hunting data: current space weather conditions, weather, skycams, satellite images, and archived information from the past 15 years.

skystargalaxy

Mercury Retrograde API

Mercury Retrograde API

Science

You may have heard friends say, “Oh, no – Mercury is about to retrograde again!” If you don’t know astrology, you may have wondered what they were talking about. Of all planetary aspects, this one seems to garner the most attention from readers, and it certainly generates the most mail. The reason for their interest is clear – this phenomenon is one of the few that affects everyone in a fairly uniform way, and its effects are always obvious. Once you begin to pay attention to how events in your life change during these phases, you will soon see how important it is to take note of them. Keeping track of Mercury retrograde periods can allow you to increase your productivity and avoid at least some of the frustration they can bring about. This API serves JSON over HTTPs. It allows you to determine whether Mercury is in retrograde for a given date.

mercuryplanetearth

Materials Platform for Data Science

Materials Platform for Data Science

Science

The MPDS application programming interface (API) presents the materials data of the PAULING FILE database online in the machine-readable formats, suitable for automated processing. The intended audience is software engineers and data scientists. The API is available by a subscription (SLA). To start using the API the reader needs a valid API key from the MPDS account. We encourage to contact us for opening such the account.

materialsplateformdata

iDigBio

iDigBio

Science

Access millions of museum specimens from organizations around the world. The API gives you Bio records according to available records in the directory. Provides you with the media, versioning, limiting, sorting of the queries.

urlmuseumlife

protocols.io

protocols.io

Science

protocols.io is the #1 open access repository for science methods. The leading platform for data management and protocol sharing. Store, organize, modify, and publish your work all in one place.

biolodychemistryworkflows

SHARE

SHARE

Science

A free, open, dataset about research and scholarly activities. SHARE is a higher education initiative whose mission is to maximize research impact by making research widely accessible, discoverable, and reusable. To fulfill this mission SHARE is building a free, open, data set about research and scholarly activities across their life cycle.

researchstudyscience

Open Science Framework

Open Science Framework

Science

The OSF serves as a repository and archive for study designs, materials, data, manuscripts, or anything else associated with your research during the research process. Every project and file on the OSF has a permanent unique identifier, and every registration (a permanent, time-stamped version of your projects and files) can be assigned a DOI. You can use the OSF to measure your impact by monitoring the traffic to projects and files you make public. With the OSF you have full control of what parts of your research are public and what remains private.

repositoryarchivestudy

Launch Library

Launch Library

Science

Upcoming Space Launches. Provides data like "A batch of 60 satellites for Starlink mega-constellation - SpaceX's project for space-based Internet communication system."

dataspacelaunch

SpaceX

SpaceX

Science

Company, vehicle, launchpad and launch data. Want to know a specific aircrafts launch year, unic code, utc number or local timing? Or interested in rocket technology and curious about the number of enginers in an API? Go ahead. Try the rocket API and much more by SpaceX.

SpaceXTeslaPaypal

USGS Water Services

USGS Water Services

Science

Water quality and level info for rivers and lakes. This site serves USGS water data External Link via automated means using web services External Link and extensible markup language (XML) External Link, as well as other popular media types. Services are invoked with the REST External Link protocol. These services designed for high fault tolerance and very high availability.

waterrainriver