# Research Organizations (ROR) — Affiliation Matching (`alauddinburki/research-organizations`) Actor

Match messy affiliation strings to Research Organization Registry IDs, or list universities, institutes, funders and hospitals by country and type, with websites, locations, GRID, ISNI, Wikidata and FundRef IDs. CC0, no key.

- **URL**: https://apify.com/alauddinburki/research-organizations.md
- **Developed by:** [Alauddin burki](https://apify.com/alauddinburki) (community)
- **Categories:** Education, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Research Organizations (ROR) — Affiliation Matching

Two jobs on the **Research Organization Registry** — the open, CC0 registry of 120,000 universities, institutes,
hospitals, funders and labs used by publishers and funders worldwide:

1. **Match messy affiliation strings** ("Dept. of Physics, Univ. of Oxford, Parks Road, UK") to the right ROR ID.
2. **Search and list** organisations by name, country, type and status.

Each organisation comes with its website, location and coordinates, GRID, ISNI, Wikidata and Crossref Funder IDs,
parent and number of children. No key.

### Matching you can trust

A match is reported only when **ROR itself picks the organisation** (its "chosen" result). Otherwise the row says
`matched: false` and shows the best **candidate** with its score for you to review. In testing, "Max Planck Institut
fuer Physik" scored 0.91 against the *Astrophysics* institute — exactly the confident wrong ID this rule keeps out.

### Input

| Field | Example |
|---|---|
| `affiliations` | strings to match, as they appear on papers or forms |
| `query` | organisation name or acronym |
| `countries` | `["GB", "NL"]` (any of) |
| `types` | education, funder, healthcare, company, archive, nonprofit, government, facility, other |
| `statuses` | active, inactive, withdrawn |

### Output

| Field | Example |
|---|---|
| `affiliation`, `matched` | the input string · true |
| `name`, `rorId` | University of Oxford · https://ror.org/052gg0110 |
| `candidateName`, `candidateScore` | when unmatched: the best guess to review |
| `types`, `status`, `established` | education · active |
| `website`, `domains`, `city`, `country`, `latitude`, `longitude` | |
| `grid`, `isni`, `wikidata`, `fundref` | other identifiers |

### Pricing

Pay per result: **$0.0005 per row**. Plus a start fee of $0.0001 per GB of allocated memory (minimum one event).
One row is one affiliation or one organisation.

### Verification status (2026-11-11, local)

- ✅ 4 unit tests on live fixtures: chosen-only matching, candidates, filters, row mapping.
- ✅ Live: 3 affiliations (Oxford matched; Max Planck unmatched with a reviewable candidate; nonsense unmatched) plus
  funders in GB and NL (any-of confirmed: 39 GB, 3 NL) → 45 rows, 0 schema mismatches.

# Actor input Schema

## `affiliations` (type: `array`):

Free text as it appears on papers or forms, e.g. 'Dept. of Physics, Univ. of Oxford, UK'.

## `query` (type: `string`):

Organisation name or acronym.

## `countries` (type: `array`):

ISO 2-letter codes, e.g. GB, NL.

## `types` (type: `array`):

education, funder, healthcare, company, …

## `statuses` (type: `array`):

Empty = all.

## `maxItems` (type: `integer`):

Stop after this many.

## Actor input object example

```json
{
  "affiliations": [
    "Dept. of Physics, Univ. of Oxford, Parks Road, Oxford, UK",
    "Max Planck Institut fuer Physik, Muenchen"
  ],
  "maxItems": 50
}
```

# Actor output Schema

## `results` (type: `string`):

Every row of the run, in the dataset (fields as listed under Output in the README).

## `summary` (type: `string`):

Counts, items not found and other notes for the run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "affiliations": [
        "Dept. of Physics, Univ. of Oxford, Parks Road, Oxford, UK",
        "Max Planck Institut fuer Physik, Muenchen"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("alauddinburki/research-organizations").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "affiliations": [
        "Dept. of Physics, Univ. of Oxford, Parks Road, Oxford, UK",
        "Max Planck Institut fuer Physik, Muenchen",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("alauddinburki/research-organizations").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "affiliations": [
    "Dept. of Physics, Univ. of Oxford, Parks Road, Oxford, UK",
    "Max Planck Institut fuer Physik, Muenchen"
  ],
  "maxItems": 50
}' |
apify call alauddinburki/research-organizations --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alauddinburki/research-organizations"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/POgj1C6bg04r1pwAr/builds/6aeDtlYuvOHICvnMT/openapi.json
