[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [DOI citation metadata](https://spiral.ai/integrations/n8n/doi-citation-metadata)

# How to Use DOI citation metadata in n8n

Fetch bibliographic metadata such as a work’s title, authors, publication venue, and date from its registration agency. Use it to build citations or fill gaps in a bibliography.

|  |  |
| --- | --- |
| Model | DOI citation metadata |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with DOI citation metadata in n8n

- Every Monday, use DOI citation metadata for 10.1126/science.169.3946.635 and report any changes to its returned title, authors, venue, or publication date.
- Every Monday at 9am: use DOI citation metadata to look this up and give me the result as a table.
- Pull the latest numbers from DOI citation metadata and tell me what changed since last week.
- Check DOI citation metadata and summarize what you find in three bullet points.
- Pull the newest data from DOI citation metadata and give me the result as a table.

## How to set up DOI citation metadata in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run DOI citation metadata in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds DOI citation metadata, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run DOI citation metadata**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "doi-org/identifiers/metadata",
    "input": {
      "doi": "<doi>"
    }
  }'
```

Then paste one of the prompts above: n8n finds DOI citation metadata on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## DOI citation metadata tools and prices

- [DOI.org · Metadata](https://spiral.ai/tools/alexandria/doi-org/identifiers/metadata) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| style |  | — | CSL style id for `format: citation`, e.g. `apa` (default), `chicago-author-date`, `ieee`. Pattern: ^[a-z0-9-]{1,64}$. |
| format | csl_json, bibtex, citation, rdf_xml, unixref_xml, datacite_json | csl_json | `csl_json` (default; all agencies), `bibtex`, `citation` (formatted text, see `style`), `rdf_xml`, `unixref_xml` (Crossref only), `datacite_json` (DataCite only). |
| include_references |  | — | Keep the CSL `reference` list in `document` (can be large). |

## What can you do with DOI citation metadata in n8n?

Produce a recurring DOI report that highlights changes in citation records, destinations, agency information, and published statistics. Scheduled agents can compare successive results and bring specific changes to an editor’s attention.

### Complete a bibliography

Fill citation gaps from DOI metadata and check the registered destinations before publishing the reference list.

### Audit DOI ingestion

Check incoming identifiers, identify their agencies, inspect prefix routing, and compare returned metadata with the catalog records being imported.

### Review a publisher migration

Compare registered destinations and citation records before and after a platform move. Inspect agency and prefix routing when records behave differently.

### Plan a DOI reporting application

Use public DOI examples to design citation, destination, and agency views. Add system statistics and the agency directory to provide context for the application’s reports.

### Teach library staff how DOI records work

Walk through a public DOI’s citation, destination, agency, and prefix routing. Use the directory and resolution statistics to explain the wider DOI system.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## DOI citation metadata in other agents

- [Amp](https://spiral.ai/integrations/amp/doi-citation-metadata)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/doi-citation-metadata)
- [Claude](https://spiral.ai/integrations/claude-desktop/doi-citation-metadata)
- [Claude Code](https://spiral.ai/integrations/claude-code/doi-citation-metadata)
- [Cline](https://spiral.ai/integrations/cline/doi-citation-metadata)
- [Codex](https://spiral.ai/integrations/codex/doi-citation-metadata)
- [Cursor](https://spiral.ai/integrations/cursor/doi-citation-metadata)
- [Devin](https://spiral.ai/integrations/devin/doi-citation-metadata)
- [dots](https://spiral.ai/integrations/dots/doi-citation-metadata)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/doi-citation-metadata)
- [Gemini](https://spiral.ai/integrations/gemini/doi-citation-metadata)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/doi-citation-metadata)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/doi-citation-metadata)
- [goose](https://spiral.ai/integrations/goose/doi-citation-metadata)
- [Grok](https://spiral.ai/integrations/grok/doi-citation-metadata)
- [Grok Build](https://spiral.ai/integrations/grok-build/doi-citation-metadata)
- [Hermes](https://spiral.ai/integrations/hermes/doi-citation-metadata)
- [Instinct](https://spiral.ai/integrations/instinct/doi-citation-metadata)
- [Manus](https://spiral.ai/integrations/manus/doi-citation-metadata)
- [Muse](https://spiral.ai/integrations/muse/doi-citation-metadata)
- [Muse Code](https://spiral.ai/integrations/muse-code/doi-citation-metadata)
- [Notion](https://spiral.ai/integrations/notion/doi-citation-metadata)
- [OpenClaw](https://spiral.ai/integrations/openclaw/doi-citation-metadata)
- [opencode](https://spiral.ai/integrations/opencode/doi-citation-metadata)
- [Perplexity](https://spiral.ai/integrations/perplexity/doi-citation-metadata)
- [Raycast](https://spiral.ai/integrations/raycast/doi-citation-metadata)
- [VS Code](https://spiral.ai/integrations/vscode/doi-citation-metadata)
- [Windsurf](https://spiral.ai/integrations/windsurf/doi-citation-metadata)
- [Zapier](https://spiral.ai/integrations/zapier/doi-citation-metadata)

## More n8n guides

- [Curated website search](https://spiral.ai/integrations/n8n/curated-website-search)
- [DOI landing page lookup](https://spiral.ai/integrations/n8n/doi-landing-page-lookup)
- [Curated website gallery](https://spiral.ai/integrations/n8n/curated-website-gallery)
- [DOI monthly statistics](https://spiral.ai/integrations/n8n/doi-monthly-statistics)
- [Curated website details](https://spiral.ai/integrations/n8n/curated-website-details)
- [DOI prefix lookup](https://spiral.ai/integrations/n8n/doi-prefix-lookup)

## Questions about DOI citation metadata in n8n

**Can n8n use DOI citation metadata?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run DOI citation metadata like any built-in tool.

**How much does DOI citation metadata cost in n8n?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need an Alexandria account to use DOI citation metadata in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs DOI citation metadata on its own Alexandria account.

**How long does it take to set up DOI citation metadata in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while DOI citation metadata runs?**

DOI citation metadata runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does DOI coverage stop at journal articles?**

No. DOI registration agencies also serve entertainment, standards, construction products, natural history collections, and research data.

**How quickly do changed DOI destinations appear?**

DOI.org documents a 24-hour cache for Handle values. A destination change can therefore take up to 24 hours to appear through the proxy.

**Can citation metadata be retrieved as one large batch?**

DOI content negotiation returns one metadata record at a time. The underlying agency lookup supports multiple DOIs, but that does not make citation retrieval a batch service.

**Does a DOI prefix prove who owns a work?**

No. The DOI Handbook explicitly says a registrant code does not establish ownership of rights or current management responsibility.

**Does converted citation metadata preserve every source distinction?**

No. Crossref documents mappings where several source types become one output type, so converted records can lose distinctions present in the original agency schema.

