# Datacite Doi Scraper (`kawsar/datacite-doi-scraper`) Actor

Search and extract research datasets, software records, and DOIs effortlessly. Pull clean metadata including titles, creators, publishers, and publication years into JSON, CSV, or Excel without logins or setup.

- **URL**: https://apify.com/kawsar/datacite-doi-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## DataCite DOI Scraper: Research Datasets & Software

<p align="center">
  <img src="https://imgur.com/ONtvpy6.png" alt="DataCite DOI" style="max-width:100%; border-radius:14px; width:680px;" />
</p>

Search and extract research metadata, digital object identifiers (DOIs), and academic asset records directly from the public DataCite registry. Gather structured publication details—including creators, publisher names, publication years, titles, and complete JSON:API payloads—into clean datasets ready for instant export as JSON, CSV, or Excel.

Instead of manually browsing through database web interfaces, you can collect research data and software citations in bulk for academic tracking, bibliographic research, and reporting.

### Use Cases

- **Literature & data search:** Pull climate, software, or scientific DOI records complete with publisher and year metadata already filled in.
- **Dataset shortlists:** Filter by resource type (`dataset`) when you want to isolate research data from general journal articles.
- **Software citation lists:** Filter by resource type (`software`) to export specific DOIs, titles, and creator lists.
- **Automated archiving:** Maintain up-to-date research bibliographies with scheduled recurring runs.
- **Free API extractions:** Query public endpoints directly without needing an API account or authentication keys.

### Extracted Data Points

Each record captures comprehensive metadata:

- DOI string and unique record identifier
- Work title and primary publication year
- Publisher name and registering client relationships
- Creator names (joined with semicolons for easy overview reading)
- Complete attribute and relationship blocks from the source payload

### Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | String | `search` | DOI search mode (exports one row per record). |
| `query` | String | `climate` | Search text sent to the query parameter. |
| `resourceType` | String | empty | Optional resource type filter (e.g., `dataset` or `software`). |
| `maxItems` | Integer | `100` | Maximum number of dataset rows to save (up to 1,000). |
| `timeoutSecs` | Integer | `300` | Overall execution limit in seconds. |

#### Example Input

```json
{
  "mode": "search",
  "query": "climate",
  "resourceType": "dataset",
  "maxItems": 100,
  "timeoutSecs": 300
}

```

### Output Format

```json
{
  "id": "10.6084/m9.figshare.34328037.v1",
  "recordKind": "dois",
  "attributes": {
    "doi": "10.6084/m9.figshare.34328037.v1",
    "creators": [{ "name": "chen huang" }],
    "titles": [{ "title": "A global soil microbial atlas reveals asymmetric richness responses to future climate change" }],
    "publisher": "figshare",
    "publicationYear": 2026
  },
  "doi": "10.6084/m9.figshare.34328037.v1",
  "workTitle": "A global soil microbial atlas reveals asymmetric richness responses to future climate change",
  "publisherName": "figshare",
  "publicationYear": 2026,
  "creatorNames": "chen huang"
}

```

### How It Works

1. Processes configuration inputs, applying search terms and optional resource type filters.
2. Paginates through cursor-based API results efficiently while automatically skipping duplicate DOI identifiers.
3. Manages temporary connection disruptions using structured retry intervals.
4. Logs invalid query syntax or unresolvable responses as clean error entries without interrupting execution flow.
5. Generates export-ready datasets available instantly in JSON, CSV, or Excel formats.

### Frequently Asked Questions

**How do I filter results for datasets or software only?**

Set the `resourceType` parameter to `dataset` or `software`. Leave it blank if you want to search across all record types.

**What happens if a query syntax is invalid?**

If an unparseable query is submitted, an error entry explaining the issue is logged, while the run completes cleanly.

**Can I export datasets directly to CSV or Excel?**

Yes. Completed datasets can be downloaded instantly in JSON, CSV, or Excel formats from your run overview.

***

### Legal & Compliance

#### Trademark Notice

DataCite DOI and related names, logos, and trademarks belong to their respective owners. Their mention in this documentation is strictly to identify data utility and compatibility, and does not imply affiliation, sponsorship, or endorsement.

#### Disclaimer

This tool is an independent utility and is not affiliated with, endorsed by, or officially connected to third-party academic metadata providers. Users are responsible for ensuring their usage complies with relevant terms of service, rate limits, and guidelines.

#### Is web scraping legal?

This tool collects publicly available research metadata without bypassing access controls. Collecting public data is standard practice, but proper compliance requires considering how the data is used:

- **Personal data:** Ensure dataset usage respects regional privacy regulations (such as GDPR or CCPA) when combining outputs with personal records.
- **Copyright & Terms:** Respect the terms of use, usage limits, and licensing terms set by data sources.
- **Legal advice:** This summary is provided for general informational purposes and does not constitute formal legal counsel.
  To learn more, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

## `mode` (type: `string`):

Search reads the public DataCite DOI list. Each row is one DOI record.

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

Search text sent as the query parameter. The default, climate, matches the public DOI search used by this actor.

## `resourceType` (type: `string`):

Optional DataCite resource-type-id filter. Use dataset or software. Leave blank to search every resource type.

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

Maximum dataset rows for this run, including error rows. Values above 1000 are clamped to 1000.

## `timeoutSecs` (type: `integer`):

Stop starting new DataCite requests after this many seconds. This does not replace the Apify run timeout.

## `requestTimeoutSecs` (type: `integer`):

Seconds to wait for a single DataCite HTTP response before retrying.

## `proxyConfiguration` (type: `object`):

Optional proxy for DataCite requests. The default sends traffic directly, with no Apify Proxy. Do not use proxies to get around DataCite rate limits.

## Actor input object example

```json
{
  "mode": "search",
  "query": "climate",
  "resourceType": "dataset",
  "maxItems": 100,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `datasetUrl` (type: `string`):

API URL for the default dataset of this run.

## `datasetItemsUrl` (type: `string`):

Item list for the default dataset.

## `overviewUrl` (type: `string`):

Overview table of DOI records.

# 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 = {
    "mode": "search",
    "query": "climate",
    "resourceType": "",
    "maxItems": 100,
    "timeoutSecs": 300,
    "requestTimeoutSecs": 30,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/datacite-doi-scraper").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 = {
    "mode": "search",
    "query": "climate",
    "resourceType": "",
    "maxItems": 100,
    "timeoutSecs": 300,
    "requestTimeoutSecs": 30,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kawsar/datacite-doi-scraper").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 '{
  "mode": "search",
  "query": "climate",
  "resourceType": "",
  "maxItems": 100,
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kawsar/datacite-doi-scraper --silent --output-dataset

```

## MCP server setup

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

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/8YZNfUOSbjyt2zWYP/builds/pCdNeI2eg2HtLZaBW/openapi.json
