# Citation Checker: Catch Fake & Hallucinated AI References (`wooden_scanner_c1n/reference-citation-verifier`) Actor

Verify references and catch hallucinated citations from ChatGPT, Claude and other AI. Checks each reference against Crossref, DataCite and arXiv: flags fake or fabricated papers, DOIs pointing to the wrong paper, wrong year or authors, and retracted papers. No AI model, deterministic.

- **URL**: https://apify.com/wooden_scanner_c1n/reference-citation-verifier.md
- **Developed by:** [Sean](https://apify.com/wooden_scanner_c1n) (community)
- **Categories:** AI, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 reference checkeds

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

## Reference & Citation Verifier: catch fake and wrong citations

Paste a bibliography (or send a list of references from your AI agent). For **every reference**, this Actor checks the open scholarly registries **Crossref, DataCite and arXiv** and tells you:

- **Does the cited work exist?** References that match nothing are flagged `possibly_fabricated`.
- **Does the DOI point to the paper that was cited?** "Real DOI, wrong paper" is a classic AI-hallucination pattern. You get `doi_mismatch`, plus the correct DOI when the cited work can be found.
- **Do the title, authors and year match?** You get fuzzy match scores from 0 to 1, with flags such as `year_mismatch`, `authors_differ` and `title_differs`.
- **Has the paper been retracted or corrected?** This uses Crossref's update records, including the **Retraction Watch** data Crossref now distributes. Withdrawn arXiv preprints are flagged too.

**No AI model does the checking.** Every verdict comes from registry metadata and deterministic fuzzy string matching, so the same input always gives the same answer, and each record shows the evidence behind its verdict.

### Who it's for

- **AI agent and RAG builders:** verify the citations your LLM produces before a user sees them. It can be called per reference through the Apify API or the **Apify MCP server** (`apify/actors-mcp-server`), so agents such as Claude or ChatGPT can use it as a tool.
- **Editors, reviewers and publishers:** screen a manuscript's reference list in seconds.
- **Universities, librarians and students:** check a thesis or essay bibliography before submission.
- **Legal and policy teams** citing academic research.

### Input

| Field | What it does |
|---|---|
| `references` | One reference per item, in any style (APA, MLA, Chicago, Harvard, IEEE, Vancouver). A bare DOI, a doi.org link, an arXiv ID or an arXiv link also works. |
| `bibliography` | Paste a whole reference list instead. It is split on `[1]` markers, numbered lines, blank lines or line breaks. |
| `structuredReferences` | For agents: `[{"title": "...", "authors": ["..."], "year": 2015, "doi": "..."}]` |
| `matchThreshold` | How close (0–100) a title must be to count as the same work. Default 85. |
| `checkRetractions` | Flag retractions, expressions of concern, corrections and withdrawn preprints. Default on. |
| `searchDataCite` / `searchArxiv` | Fallback searches when Crossref has no match. Default on. |
| `maxReferences` | Safety cap per run. Default 200, maximum 1000. |
| `contactEmail` | Optional. Puts your requests in Crossref's faster "polite pool". It is sent only to Crossref and DataCite. |

Example:

```json
{
  "references": [
    "LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539",
    "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems 30. doi:10.1038/nature14539",
    "Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.",
    "Smith, J., & Okafor, L. (2021). Quantum entanglement effects in sourdough fermentation kinetics. Journal of Culinary Physics, 12(3), 45-67."
  ]
}
```

Results for that example:

- reference 1: `verified`
- reference 2: `doi_mismatch` (the DOI is the "Deep learning" paper), with the correct identifier suggested (arXiv 1706.03762)
- reference 3: `verified` but **retracted** (Lancet 2010)
- reference 4: `not_found` / `possibly_fabricated`

### Output (one record per reference)

```json
{
  "index": 2,
  "reference": "Vaswani, A., et al. (2017). Attention is all you need. ... doi:10.1038/nature14539",
  "verdict": "doi_mismatch",
  "matchScore": 0.158,
  "titleScore": 0.263,
  "authorScore": 0.0,
  "yearMatch": false,
  "flags": ["identifier_points_to_different_work", "author_mismatch", "year_mismatch", "correct_identifier_suggested"],
  "isRetracted": false,
  "updateNotices": [],
  "explanation": "The DOI resolves to a different work than the one cited. The cited work exists as 10.48550/arxiv.1706.03762.",
  "claimed": {"title": "Attention is all you need", "authors": ["Vaswani"], "year": 2017, "doi": "10.1038/nature14539", "arxivId": null},
  "matched": {"title": "Deep learning", "firstAuthorFamilyName": "LeCun", "authorCount": 3, "year": 2015, "venue": "Nature",
              "publisher": "Springer Science and Business Media LLC", "type": "journal-article", "doi": "10.1038/nature14539",
              "arxivId": null, "url": "https://doi.org/10.1038/nature14539", "source": "Crossref"},
  "suggestedDoi": "10.48550/arxiv.1706.03762",
  "suggestedUrl": "https://arxiv.org/abs/1706.03762",
  "sourcesChecked": ["Crossref", "DataCite", "arXiv"],
  "source": "Crossref",
  "licence": "Metadata from Crossref (crossref.org) ... Metadata from DataCite (datacite.org), CC0 1.0. Metadata from arXiv.org, CC0 1.0. ...",
  "checkedAt": "2026-11-03T22:30:00Z"
}
```

**Verdicts:**

- `verified`: the cited work was found and its title, authors and year all match.
- `verified_with_discrepancies`: the cited work was found, but some details differ (see `flags`).
- `exists`: a bare identifier resolves, and nothing else was cited to compare.
- `exists_unverified`: the DOI is registered with another agency (JaLC, mEDRA, ...), so its metadata was not compared.
- `doi_mismatch` / `arxiv_mismatch`: the identifier resolves to a different work from the one cited.
- `doi_not_found` / `arxiv_not_found`: the identifier does not exist.
- `not_found`: nothing matched in Crossref, DataCite or arXiv.
- `unparseable` and `error`: **not charged**.

**Flags:**

- `possibly_fabricated`
- `identifier_points_to_different_work`
- `correct_identifier_suggested`
- `cited_work_not_found`
- `author_mismatch`
- `authors_differ`
- `year_mismatch` (more than 1 year off; a 1-year difference is tolerated for online-first vs print)
- `title_differs`
- `retracted`
- `expression_of_concern`
- `corrected`
- `withdrawn`
- `cites_a_notice_not_the_article`

The run also saves a **`SUMMARY`** record in the key-value store. It holds counts by verdict and flag, plus the retracted and possibly-fabricated totals.

### Pricing (pay per event)

- **$0.004 per reference checked**, plus a $0.005 start fee per run.
- A 50-reference bibliography costs about **$0.21**.
- Unparseable lines and references that could not be checked because a source was down are **free**.

### Data sources and licences

- **Crossref REST API**: "No sign-up is required to use the REST API, and almost none of the metadata is subject to copyright, and you may use it for any purpose." ([crossref.org](https://www.crossref.org/documentation/retrieve-metadata/rest-api/)) Retraction data comes from Retraction Watch, distributed openly by Crossref.
- **DataCite REST API**: DOI metadata under a CC0 waiver ([datacite.org](https://support.datacite.org/docs/datacite-data-file-use-policy)).
- **arXiv API**: descriptive metadata under CC0 ([arXiv API terms](https://info.arxiv.org/help/api/tou.html)). Thank you to arXiv for use of its open access interoperability. This Actor is not endorsed by arXiv, Crossref or DataCite.

Every record carries `sourcesChecked` and a `licence` attribution string.

Each source's published limits are followed:

- Crossref public pool: 1 request at a time, max 5/s (or the polite pool with your email).
- DataCite: under 500 requests per 5 minutes.
- arXiv: one request every 3 seconds, single connection.
- Responses are cached within a run, so a reference cited twice costs one lookup.

No abstracts, full texts or PDFs are fetched or returned. The only author data returned is the first author's family name and the author count.

### Limits and honest caveats

- **Coverage:** books without DOIs, many conference papers (e.g. older NeurIPS), reports, standards, web pages and very new items may be missing from all three registries. These come back as `not_found`, so read `possibly_fabricated` as "needs a human look", not as proof. The flag is strongest for journal articles and DOIs.
- **Free-text parsing** uses rules, not a model. Unusual formats can mis-split the title. The matcher compensates by also looking for the registered title inside the full reference text. For agents, `structuredReferences` gives exact results.
- **Speed:** about 1–3 seconds per reference on the public pool. arXiv fallbacks are the slowest step. For large lists, add `contactEmail` and raise the run timeout (default 600 s).
- **Retraction flags** cover what Crossref records. arXiv/DataCite-only works have no retraction data, except withdrawn arXiv preprints.
- URL / quote checks for web citations are not included in this version.

# Actor input Schema

## `references` (type: `array`):

One reference per item, in any citation style (APA, MLA, Chicago, Harvard, IEEE, Vancouver), or just a DOI, a doi.org link, an arXiv ID or an arXiv link. Each reference is checked against Crossref, DataCite and arXiv.

## `bibliography` (type: `string`):

Paste a whole reference list. It is split on \[1]-style markers, numbered lines, blank lines or line breaks (in that order of preference). Added to the references above.

## `structuredReferences` (type: `array`):

References as objects, e.g. \[{"title": "Deep learning", "authors": \["LeCun", "Bengio"], "year": 2015, "doi": "10.1038/nature14539"}]. Keys: title, authors (list or string), year, venue, doi, arxivId.

## `matchThreshold` (type: `integer`):

How similar (fuzzy, 0-100) the cited title must be to the registered title to count as the same work. 85 suits most bibliographies; raise it to be stricter.

## `checkRetractions` (type: `boolean`):

Report retractions, expressions of concern and corrections that Crossref records (including Retraction Watch data), and withdrawn arXiv preprints.

## `searchDataCite` (type: `boolean`):

DataCite covers datasets, software, theses, reports and arXiv DOIs.

## `searchArxiv` (type: `boolean`):

Slower (arXiv allows one request every 3 seconds) but catches preprints.

## `maxReferences` (type: `integer`):

Safety cap on how many references one run checks. You pay per reference checked.

## `contactEmail` (type: `string`):

Crossref and DataCite give faster, more reliable access when requests carry a contact email. Leave empty to use the public pool. Only sent to Crossref and DataCite as their documented 'mailto' parameter.

## Actor input object example

```json
{
  "references": [
    "LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539",
    "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems 30. doi:10.1038/nature14539",
    "Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.",
    "Smith, J., & Okafor, L. (2021). Quantum entanglement effects in sourdough fermentation kinetics. Journal of Culinary Physics, 12(3), 45-67."
  ],
  "matchThreshold": 85,
  "checkRetractions": true,
  "searchDataCite": true,
  "searchArxiv": true,
  "maxReferences": 200
}
```

# Actor output Schema

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

One record per reference: verdict, fuzzy match scores, flags, retraction notices, the registered record and a suggested DOI.

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

Counts by verdict and flag, retracted and possibly fabricated totals.

# 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 = {
    "references": [
        "LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539",
        "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems 30. doi:10.1038/nature14539",
        "Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.",
        "Smith, J., & Okafor, L. (2021). Quantum entanglement effects in sourdough fermentation kinetics. Journal of Culinary Physics, 12(3), 45-67."
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wooden_scanner_c1n/reference-citation-verifier").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 = { "references": [
        "LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539",
        "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems 30. doi:10.1038/nature14539",
        "Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.",
        "Smith, J., & Okafor, L. (2021). Quantum entanglement effects in sourdough fermentation kinetics. Journal of Culinary Physics, 12(3), 45-67.",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("wooden_scanner_c1n/reference-citation-verifier").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 '{
  "references": [
    "LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. https://doi.org/10.1038/nature14539",
    "Vaswani, A., et al. (2017). Attention is all you need. Advances in Neural Information Processing Systems 30. doi:10.1038/nature14539",
    "Wakefield AJ, Murch SH, Anthony A, et al. Ileal-lymphoid-nodular hyperplasia, non-specific colitis, and pervasive developmental disorder in children. Lancet. 1998;351(9103):637-41.",
    "Smith, J., & Okafor, L. (2021). Quantum entanglement effects in sourdough fermentation kinetics. Journal of Culinary Physics, 12(3), 45-67."
  ]
}' |
apify call wooden_scanner_c1n/reference-citation-verifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wooden_scanner_c1n/reference-citation-verifier"
        }
    }
}
```

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/WC9BxN03A8eAN27O2/builds/KIc8AN4NMmpieJ84v/openapi.json
