Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Build Status

Research Organization Registry (ROR) API

The ROR API allows to retrieve, search and filter the organizations indexed in ROR. The results are returned in JSON.

A single organization record is represented by the following JSON structure:

   "name":"PSL Research University",
         "label":"ESPCI Paris",
         "label":"Subcellular Structure and Cellular Dynamics",
         "label":"École Pratique des Hautes Études",
               "attribution":"Data from under a CC-BY 3.0 license",
               "name":"ÎLE DE FRANCE",
               "name":"Île de France",
      "Université PSL"
         "label":"Université de recherche Paris Sciences et Lettres",
            "0000 0004 1784 3645"

This is liable to change.


The route /organizations gives the list of all organizations.


/organizations/<ror id> (e.g. /organizations/ can be used to retrieve the record of a single organization based on its ROR id.


query parameter (e.g. /organizations?query=bath) can be used for searching.

Note #1: Parameters and query.names are now deprecated and redirect to query. If you are still using them, please switch to query, as they may be removed in the future.

Note #2: Querying is suitable for finding relevant organizations based on a few important terms. If you need to find organizations mentioned in a full affiliation string, affiliation matching will give better results.


It is possible to filter the results by type, country code or country name using filter parameter:

  • /organizations?filter=types:Facility
  • /organizations?filter=country.country_code:GB
  • /organizations?filter=country.country_name:France

The filters can be combined like this: /organizations?filter=types:Facility,country.country_code:GB. Filters can be also combined with querying.


ROR API returns 20 results per page. It is possible to iterate through the list using page (e.g. /organizations?page=5) parameter. It can be combined with filters and querying.

Affiliation matching

Affiliation matching allows to find organizations mentioned in the full affiliation string, such as:

Department of Civil and Industrial Engineering, University of Pisa, Largo Lucio Lazzarino 2, Pisa 56126, Italy

The URL-encoded affiliation string should be given as the affiliation parameter:

The output contains a list of items. An item represents an organization matched to a substring of the input affiliation. The items are sorted by the matching confidence. Each item contains the information about the substring, matched organization and the matching process applied in this case:

  • organization: matched ROR organization object
  • substring: substring of the affiliation field, to which organization was matched
  • score: matching confidence score, with values between 0 and 1 (inclusive)
  • chosen: binary indicator of whether the score is high enough to consider the organization correctly matched
  • matching_type: type of matching algorithm applied in this case, possible values:
    • PHRASE: the entire phrase matched to a variant of the organization's name
    • COMMON TERMS: the matching was done by comparing the words separately
    • FUZZY: the matching was done by fuzzy-comparing the words separately
    • HEURISTICS: "University of X" was matched to "X University"
    • ACRONYM: matched by acronym

If you require a hard decision about which organizations are mentioned in the given affiliation string, use chosen field. Otherwise, the resulting list can be examined in a similar manner as any search result list.

Import GRID data

To import GRID data, you need a system where setup has been run successfully. Then first update the GRID variable in, e.g.

GRID = {
    'VERSION': '2020-03-15',
    'URL': ''

And, also in, set the ROR_DUMP variable, e.g.

ROR_DUMP = {'VERSION': '2020-04-02'}

Then run this command: ./ upgrade.

You should see this in the console:

Downloading GRID version 2020-03-15
Converting GRID dataset to ROR schema
ROR dataset created
ROR dataset ZIP archive created

This will create a new data/ror-2020-03-15 folder, containing a ror.json and To finish the process, add the new folder to git and push to the GitHub repo.

To install the updated ROR data, run ./ setup.

Data dumps

It is possible to download the whole ROR dataset. ROR data downloads are stored here:


In the project directory, run docker-compose to start all services:

docker-compose up -d

Index the data:

docker-compose exec web python setup

and visit http://localhost:9292/organizations.

Optionally, run the tests:

docker-compose exec web python test rorapi.tests
docker-compose exec web python test rorapi.tests_integration
docker-compose exec web python test rorapi.tests_functional