crossref.org API - /licenses for DOI License Types

Q

How to use crossref.org API resource, /licenses, for DOI license types?

✍: FYIcenter.com

A

crossref.org API resource /types allows you to to list, search or retrieve DOI license types. It supports the following variations and parameters:

1. Get first 20 DOI license types:

fyicenter$ curl https://api.crossref.org/licenses

{
  "message": {
    "items": [
      {
        "URL": "Http://creativecommons.org/license/by-nc/4.0.",
        "work-count": 100
      },
      {
        "URL": "Http://creativecommons.org/licenses/by-nc/4.0",
        "work-count": 1
      },
      {
        "URL": "http:// creativecommons.org/licenses/by-nc-nd/4.0/",
        "work-count": 11
      },
      {
        "URL": "http:// creativecommons.org/licenses/by/4.0/",
        "work-count": 3
      },
      {
        "URL": "http:// http://creativecommons.org/licenses/by-sa/3.0/",
        "work-count": 6
      },
      {
        "URL": "http:///journals.bsu.by/index.php/biology/about",
        "work-count": 9
      },
      {
        "URL": "http:///nv.pdpu.edu.ua/Info/Index/be91efc0-7518-4106-b1df-7c0b3b9da77b",
        "work-count": 1
      },
      {
        "URL": "http://0000-0002-1666-2848",
        "work-count": 1
      },
      ...
      {
        "URL": "http://10.5281/zenodo.1186480",
        "work-count": 1
      }
    ],
    "total-results": 11379
  },
  "message-type": "license-list",
  "message-version": "1.0.0",
  "status": "ok"
}

2. Search for DOI license types with keywords:

fyicenter$ curl https://api.crossref.org/licenses?query={keywords}

3. Loop over all DOI license types:

fyicenter$ curl https://api.crossref.org/licenses?offset=0&rows=20
fyicenter$ curl https://api.crossref.org/licenses?offset=20&rows=20
...

 

crossref.org API - /prefixes for DOI Prefixes

crossref.org API - /types for DOI Types

Crossref.org DOI Database

⇑⇑ DOI - Frequently Asked Questions

2022-10-08, 260👍, 0💬