[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [CMS Open Payments annual research payment totals](https://spiral.ai/integrations/n8n/cms-open-payments-annual-research-payment-totals)

# How to Use CMS Open Payments annual research payment totals in n8n

Get CMS research payment totals by year nationally, for a manufacturer, or for a teaching hospital. Use these totals to compare annual funding patterns without adding individual payment records yourself.

|  |  |
| --- | --- |
| Model | CMS Open Payments annual research payment totals |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with CMS Open Payments annual research payment totals in n8n

- After each June publication and January refresh, use CMS Open Payments annual research payment totals for MD Anderson and report changes from the previous report.
- After each June publication and January refresh, use CMS Open Payments annual research payment totals for AstraZeneca and update its year-by-year research funding brief.
- Every Monday at 9am: use CMS Open Payments annual research payment totals to look this up and give me the result as a table.
- Pull the latest numbers from CMS Open Payments annual research payment totals and tell me what changed since last week.
- Check CMS Open Payments annual research payment totals and summarize what you find in three bullet points.

## How to set up CMS Open Payments annual research payment totals 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 CMS Open Payments annual research payment totals in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds CMS Open Payments annual research payment totals, 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 CMS Open Payments annual research payment totals**: 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": "openpaymentsdata-cms-gov/research-payments/yearly",
    "input": {
      "manufacturer": "<manufacturer>"
    }
  }'
```

Then paste one of the prompts above: n8n finds CMS Open Payments annual research payment totals on Spiral, shows the price and runs it.

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

## CMS Open Payments annual research payment totals tools and prices

- [CMS Open Payments research payments · Yearly](https://spiral.ai/tools/alexandria/openpaymentsdata-cms-gov/research-payments/yearly) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| manufacturer |  | — | A reporting entity by CMS's 12-digit ID, or words of its current or former names (up to 25 entities are returned). |
| program_year | 2013 to 2100 | — | Only this program year; every published year by default. |
| teaching_hospital |  | — | A teaching hospital by 6-character CCN (`450076`) or words of its name as CMS lists teaching hospitals (`Md Anderson`). |

## What can you do with CMS Open Payments annual research payment totals in n8n?

Keep a hospital research funding brief aligned with CMS's June publication and January refresh. A scheduled agent can compare newly returned figures with its previous report and identify changes for review.

### Prepare a teaching hospital funding brief

Build an MD Anderson brief using annual research totals, sponsor rankings, and individual payments that explain the largest funding relationships.

### Compare teaching hospitals

Compare MD Anderson and Memorial Sloan Kettering using annual totals, ranked funding sources, and payment records. Keep the comparison limited to research disclosures reported to CMS.

### Assess sponsor concentration

Identify the sponsors that dominate a hospital's reported research funding, inspect their underlying payments, and place the concentration alongside the hospital's annual totals.

### Explain a hospital's annual funding change

Start with a teaching hospital's annual totals, then use rankings and individual records to investigate the reported funding behind a change. Account for publication delays when interpreting recent years.

### Review a new CMS publication

Compare a saved hospital funding report with the next CMS publication. Check changes in annual totals, sponsor rankings, and individual payment records.

### Build a national research funding overview

Use national annual totals to establish the trend, rankings to identify major funding concentrations, and individual payment records to illustrate the reported transactions.

## Overview

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

## CMS Open Payments annual research payment totals in other agents

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

## More n8n guides

- [CMS Medicare negotiated drug prices](https://spiral.ai/integrations/n8n/cms-medicare-negotiated-drug-prices)
- [CMS Open Payments research payment rankings](https://spiral.ai/integrations/n8n/cms-open-payments-research-payment-rankings)
- [CDC cancer incidence and death statistics](https://spiral.ai/integrations/n8n/cdc-cancer-incidence-and-death-statistics)
- [CMS Open Payments research payment records](https://spiral.ai/integrations/n8n/cms-open-payments-research-payment-records)
- [CDC PLACES local health estimates](https://spiral.ai/integrations/n8n/cdc-places-local-health-estimates)
- [CMS Part B drug payment limit history](https://spiral.ai/integrations/n8n/cms-part-b-drug-payment-limit-history)

## Questions about CMS Open Payments annual research payment totals in n8n

**Can n8n use CMS Open Payments annual research payment totals?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run CMS Open Payments annual research payment totals like any built-in tool.

**How much does CMS Open Payments annual research payment totals 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 CMS Open Payments annual research payment totals in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs CMS Open Payments annual research payment totals on its own Alexandria account.

**How long does it take to set up CMS Open Payments annual research payment totals in n8n?**

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

**Does n8n wait while CMS Open Payments annual research payment totals runs?**

CMS Open Payments annual research payment totals runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**How current is CMS Open Payments research data?**

CMS publishes the previous program year's full datasets by June 30 and refreshes them in January. Research funding therefore appears on a publication cycle rather than as payments happen.

**How far back does the searchable data go?**

CMS currently provides detailed searchable data for 2019 through 2025. Records for 2013 through 2018 are available through its archived datasets.

**Does the public data include every recent research payment?**

Eligible research payment records can remain unpublished for up to four years. An absent payment is not proof that no funding occurred.

**What qualifies as a research payment?**

CMS defines research payments as transfers connected with a formal research agreement or research protocol. Its general payments category covers transfers outside those arrangements.

**Who supplies the payment information?**

Reporting entities track their financial transactions annually and submit them to CMS. The records identify the reporting manufacturer or group purchasing organization and the recipient.

