LogoLogo
  • API Service Gateway Overview
    • Introduction
    • Getting Started with the APIs
    • Using your API key
    • API Rate Limiting
    • API Service Gateway Responses
  • Elasticsearch Metadata Services
    • Resource Information Network (RIN) Services
      • Research Resource Identifiers
      • The RRID Resolver
      • Searching RIN Indices
      • Basic RIN Search Examples
      • RIN Elaticsearch JSON Data Model
      • Download Larger Datasets
    • SPARC Datasets
      • Searching SPARC Dataset Indices
      • Basic SPARC Search Examples
      • SPARC Dataset Elasticsearch JSON Data Model
  • Terminology Services
    • InterLex
      • Searching InterLex
      • Basic Interlex Search Example
      • Bulk Add
      • Bulk Update
Powered by GitBook
On this page
Edit on GitHub
Export as PDF
  1. API Service Gateway Overview

Using your API key

Overview of API key usage

The preferred method to authenticate with your API key is through the use of an apikey submitted as part of the HTTP header for the request.

Examples for authentication are provided through some simple CURL requests using the Resource Information Network Services

curl -i --verbose --location 'https://api.scicrunch.io/elastic/v1/_cat/aliases' --header 'apikey: <<YOUR API KEY>>'
curl -i --verbose --location 'https://api.scicrunch.io/elastic/v1/_cat/aliases?key=<<YOUR API KEY>>'

Best Practice

Use the apikey HTTP header for authentication

PreviousGetting Started with the APIsNextAPI Rate Limiting

Last updated 3 months ago