# Wikipedia DOI Citation Finder (`sculptural_delphinium/wikipedia-doi-citations`) Actor

Find the Wikipedia articles that cite your papers. Give a list of DOIs and get every article that links to or mentions each one, in any language edition, with the exact links. Uses the official Wikipedia API.

- **URL**: https://apify.com/sculptural_delphinium/wikipedia-doi-citations.md
- **Developed by:** [Josep Peruga](https://apify.com/sculptural_delphinium) (community)
- **Categories:** Developer tools, Open source
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 citing articles

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

## Wikipedia DOI Citation Finder

Find the Wikipedia articles that cite your papers. Give it a list of DOIs and it returns every Wikipedia article that links to each DOI or mentions it in its source text, in as many language editions as you like.

Who it's for: researchers checking where their work is cited, university press offices and research-impact teams, journal publishers and librarians tracking public reach, and Wikipedia editors auditing citations.

### What it does

For each DOI and each Wikipedia edition it:

1. lists every article that links to the DOI's `doi.org` URL (both the encoded form `doi.org/10.1126%2Fscience.1225829` that citation templates produce and the plain form), keeping only exact matches,
2. optionally searches the article source text for the DOI (`insource:`), which also catches citations whose link is missing or written another way.

It uses only the official MediaWiki API (`exturlusage` and `search`), about 3 requests per DOI per wiki, with a pause between requests and an identifying User-Agent. No pages are scraped and no login is used.

### Input

| Field | Description |
|---|---|
| `dois` | DOIs, one per line. `10.1038/nature12373`, `doi:10.1038/nature12373` and `https://doi.org/10.1038/nature12373` all work. Up to 5000 per run. |
| `wikis` | Language codes (`en`, `de`, `fr`) or hosts (`es.wikipedia.org`). Default: `en`. |
| `searchText` | Also search article source text for the DOI. Default: `true`. |
| `maxResults` | Stop after this many citing articles. Default: 10000. |

```json
{ "dois": ["10.1126/science.1225829"], "wikis": ["en", "de"] }
```

### Output

One dataset row per (DOI, wiki, article). A real row from the example above (the 2012 CRISPR-Cas9 paper by Jinek, Doudna, Charpentier et al.):

```json
{
  "doi": "10.1126/science.1225829",
  "doiUrl": "https://doi.org/10.1126/science.1225829",
  "wiki": "en.wikipedia.org",
  "articleTitle": "2012 in science",
  "articleUrl": "https://en.wikipedia.org/wiki/2012_in_science",
  "pageId": 34253810,
  "matchedBy": ["link", "text"],
  "linkUrls": ["https://doi.org/10.1126%2Fscience.1225829"]
}
```

`matchedBy` is `link` (a doi.org link was found), `text` (the DOI appears in the source text), or both. On 2026-11-05 this DOI was cited by 20 English and 7 German Wikipedia articles.

The `OUTPUT` record in the key-value store has a summary per DOI and wiki, including the DOIs that no article cites (`totals.doisNotCited`), so you can see your uncited papers in one place.

### Pricing

Pay per event: $3 per 1,000 citing articles returned (plus the standard Apify actor-start fee). DOIs that no article cites cost nothing. Set `maxResults` or a maximum charge on the run to cap the cost.

### Limits

- Results reflect Wikipedia's link and search indexes, which can lag edits by a few minutes to hours.
- Text search only finds the DOI as written; a DOI split across lines or with a typo inside it will not match.
- Very heavily cited DOIs return at most 10,000 link entries per query form (the actor reports `complete: false` in the summary if a limit is hit).

### Data collected

Only public article titles, page IDs and URLs from Wikipedia. No personal data is collected.

### Support

Open an issue on the Actor's Issues tab. Breakages are fixed within 48 hours.

*This Actor is built and maintained by an AI agent working for its publisher. A human owns the account and is responsible for it. It is not affiliated with or endorsed by the Wikimedia Foundation or the DOI Foundation. Wikipedia is a trademark of the Wikimedia Foundation.*

# Actor input Schema

## `dois` (type: `array`):

The DOIs to look up, one per line. Plain DOIs (10.1038/nature12373), doi: prefixes and doi.org links are all accepted. Up to 5000 per run.

## `wikis` (type: `array`):

Language codes (en, de, fr) or hosts (es.wikipedia.org). Defaults to English Wikipedia.

## `searchText` (type: `boolean`):

Besides doi.org links, also find articles that mention the DOI in their wikitext without a working link (for example a citation with a typo in the URL). Costs one extra API request per DOI and wiki.

## `maxResults` (type: `integer`):

Stop after this many citing articles have been returned (and charged).

## Actor input object example

```json
{
  "dois": [
    "10.1126/science.1225829"
  ],
  "wikis": [
    "en"
  ],
  "searchText": true,
  "maxResults": 10000
}
```

# Actor output Schema

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

One row per (DOI, wiki, article): the Wikipedia article that cites the DOI, how it was matched, and the exact doi.org links found.

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

Per-DOI counts for each wiki, including DOIs that no article cites. Stored in the OUTPUT record.

# 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 = {
    "dois": [
        "10.1126/science.1225829"
    ],
    "wikis": [
        "en"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sculptural_delphinium/wikipedia-doi-citations").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 = {
    "dois": ["10.1126/science.1225829"],
    "wikis": ["en"],
}

# Run the Actor and wait for it to finish
run = client.actor("sculptural_delphinium/wikipedia-doi-citations").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 '{
  "dois": [
    "10.1126/science.1225829"
  ],
  "wikis": [
    "en"
  ]
}' |
apify call sculptural_delphinium/wikipedia-doi-citations --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sculptural_delphinium/wikipedia-doi-citations"
        }
    }
}
```

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/wvqWQQfYKauqYo0x1/builds/XuCcz3hS0gDmrhkSH/openapi.json
