# DOAJ Subject Classification Scraper (`parseforge/doaj-subject-classification-scraper`) Actor

- **URL**: https://apify.com/parseforge/doaj-subject-classification-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Education
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.62 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

![ParseForge Banner](https://github.com/ParseForge/apify-assets/blob/main/banner.jpg?raw=true)

## 📚 DOAJ Journals & Subject Classification Scraper

> 🚀 **Export every open-access journal in the Directory of Open Access Journals, with its subject classification, in seconds.**

This Actor pulls open-access journals straight from the official DOAJ API and returns each journal with its full LCC (Library of Congress Classification) subject list, ISSNs, publisher, country, license, language, and article-processing-charge policy. No login, no key, no HTML scraping: it reads the same public API that powers doaj.org.

The Directory of Open Access Journals indexes more than 23,000 vetted, peer-reviewed open-access journals from over 130 countries. This scraper turns that catalog into a clean, structured dataset you can filter, join, and analyse.

| For | Use it to |
|---|---|
| Researchers & librarians | Map research fields, build reading lists, audit OA coverage by subject |
| Publishers & analysts | Benchmark APC policies, licenses, and country distribution |
| Data teams | Enrich journal metadata with standardized subject codes and ISSNs |

### 📋 What it does

- Queries the DOAJ journals API with any full-text search (title, subject, ISSN, publisher, keyword), or `*` for the entire catalog.
- Returns one row per journal with its subject classifications and core metadata.
- Paginates automatically up to your `maxItems`.

> 💡 **Why it matters:** the DOAJ website blocks bulk HTML scraping, but its API is open. This Actor uses the API, so runs are fast, complete, and never return a challenge page.

### 📊 Output

| Field | Description |
|---|---|
| 📕 `title` | Journal title |
| 🔗 `url` | DOAJ table-of-contents URL |
| 🆔 `journalId` | DOAJ journal id |
| 🏷️ `primarySubject` | First LCC subject term |
| 🗂️ `subjects` | All classifications: `{ scheme, code, term }` |
| 🔡 `subjectCodes` | LCC codes only |
| #️⃣ `issns` | Print and electronic ISSNs |
| 🏢 `publisher` | Publisher name |
| 🌍 `country` | Publisher country (ISO code) |
| 🗣️ `languages` | Publication languages |
| 🔑 `keywords` | Journal keywords |
| 📄 `licenses` | License types (e.g. CC BY) |
| 💳 `apcCharges` | Whether the journal charges an APC |
| 📅 `oaStartYear` | Year open access began |
| 🕒 `lastUpdated` | DOAJ record last-updated timestamp |
| 🕓 `scrapedAt` | When this row was collected |

Sample record:

```json
{
  "title": "Revista de Psicología",
  "url": "https://doaj.org/toc/0719-0581",
  "primarySubject": "Psychology",
  "subjects": [{ "scheme": "LCC", "code": "BF1-990", "term": "Psychology" }],
  "subjectCodes": ["BF1-990"],
  "issns": ["0719-0581", "0716-8039"],
  "publisher": "Universidad de Chile",
  "country": "CL",
  "licenses": ["CC BY-NC"],
  "apcCharges": false,
  "oaStartYear": 2007
}
```

### 🚀 How to use

1. [Create a free account w/ $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the Actor, set a `query` (or leave `*` for everything) and `maxItems`.
3. Run it and download the dataset as JSON, CSV, Excel, or XML.

### ❓ FAQ

**Do I need a DOAJ API key?** No. The Actor uses the public DOAJ API.

**Can I get every journal?** Yes. Use `query: "*"` and raise `maxItems`; the catalog is ~23,000 journals.

**What does the subject code mean?** DOAJ classifies journals with the Library of Congress Classification (LCC). `subjectCodes` holds the codes; `subjects` holds the human-readable terms and scheme.

**How fresh is the data?** Every run reads the DOAJ API live, so it reflects the current catalog.

### 🔗 Recommended Actors

- [OurAirports Global Airport Database Scraper](https://apify.com/parseforge/ourairports-scraper)
- [crt.sh Certificate Transparency Scraper](https://apify.com/parseforge/crtsh-certificate-transparency-scraper)

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more research and data-enrichment Actors.

***

*This Actor is not affiliated with DOAJ. It reads publicly available data from the DOAJ API for research and analysis. Respect DOAJ's terms and cite the source where appropriate.*

# Actor input Schema

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

Full-text query against the DOAJ journals API (title, subject, ISSN, publisher, keywords). Use \* for every indexed open-access journal.

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## Actor input object example

```json
{
  "query": "*",
  "maxItems": 10
}
```

# Actor output Schema

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

Complete dataset of all scraped 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 = {
    "query": "*",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/doaj-subject-classification-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 = {
    "query": "*",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/doaj-subject-classification-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 '{
  "query": "*",
  "maxItems": 10
}' |
apify call parseforge/doaj-subject-classification-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/doaj-subject-classification-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/J6tdhJGAWJJyZrAhZ/builds/SbRbbXycVJk0N4jyU/openapi.json
