[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [GLEIF company search](https://spiral.ai/integrations/n8n/gleif-company-search)

# How to Use GLEIF company search in n8n

Returns LEI records matching a company name, with optional country narrowing. Use it to find candidate legal entities before choosing an exact LEI for identity or parent research.

|  |  |
| --- | --- |
| Model | GLEIF company search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with GLEIF company search in n8n

- Every weekday, use GLEIF company search for Siemens AG in Germany and compare the returned candidate legal entities with the previous results.
- Every Monday at 9am: use GLEIF company search to look this up and give me the result as a table.
- Pull the latest numbers from GLEIF company search and tell me what changed since last week.
- Check GLEIF company search and summarize what you find in three bullet points.
- Pull the newest data from GLEIF company search and give me the result as a table.

## How to set up GLEIF company search 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 GLEIF company search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds GLEIF company search, 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 GLEIF company search**: 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": "gleif-org/entities/search",
    "input": {
      "name": "<name>"
    }
  }'
```

Then paste one of the prompts above: n8n finds GLEIF company search on Spiral, shows the price and runs it.

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

## GLEIF company search tools and prices

- [GLEIF · Search](https://spiral.ai/tools/alexandria/gleif-org/entities/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 1000 | 1 | page |
| limit | 1 to 100 | 20 | limit |
| country |  | — | Pattern: ^[A-Z]{2}$. |

## What can you do with GLEIF company search in n8n?

Keep a corporate reference dataset aligned with new GLEIF publications. A scheduled agent can check publication status, refresh changed records, and review changes to reported consolidation links.

### Maintain corporate account structures

Resolve customer company names, review their LEI records, and connect reported direct and ultimate parents and children. Use relationship files for larger account portfolios and publication checks and deltas to maintain the results.

### Review supplier concentration

Match supplier names to legal entities and examine which suppliers share a reported ultimate consolidator. Check the consolidator's reported children, inspect direct links, and maintain a portfolio relationship dataset as new publications appear.

### Prepare counterparty research briefs

Identify the contracting legal entity and summarize its reported consolidation structure. Combine individual identity and relationship lookups with a maintained relationship dataset when preparing briefs for many counterparties.

### Review reported corporate restructuring

Compare maintained LEI identities and consolidation links with newly published records. Review affected parents and children to identify changes that warrant investigation, while retaining reporting exceptions.

### Resolve ambiguous company names

Compare candidate LEIs using registered names, addresses, and country of formation before attaching an identifier to a customer or supplier record.

## Overview

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

## GLEIF company search in other agents

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

## More n8n guides

- [GLEIF changed records](https://spiral.ai/integrations/n8n/gleif-changed-records)
- [GLEIF direct parent](https://spiral.ai/integrations/n8n/gleif-direct-parent)
- [GLEIF LEI reference record](https://spiral.ai/integrations/n8n/gleif-lei-reference-record)
- [GLEIF direct subsidiaries](https://spiral.ai/integrations/n8n/gleif-direct-subsidiaries)
- [GLEIF Golden Copy publication status](https://spiral.ai/integrations/n8n/gleif-golden-copy-publication-status)
- [GLEIF legal entity profile](https://spiral.ai/integrations/n8n/gleif-legal-entity-profile)

## Questions about GLEIF company search in n8n

**Can n8n use GLEIF company search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run GLEIF company search like any built-in tool.

**How much does GLEIF company search 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 GLEIF company search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs GLEIF company search on its own Alexandria account.

**How long does it take to set up GLEIF company search in n8n?**

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

**Does n8n wait while GLEIF company search runs?**

GLEIF company search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Does GLEIF cover every company?**

GLEIF covers entities identifiable with an LEI. The Global LEI Index contains historical and current LEI records, so it should not be treated as a census of every registered business.

**How often does GLEIF publish updated files?**

Golden Copy files are published three times daily, at 02:00, 10:00, and 18:00 UTC. That publication schedule is different from the annual revalidation of an entity's reference data.

**Does a parent link identify the beneficial owner?**

GLEIF's direct and ultimate parent links use accounting consolidation. The direct parent is the lowest consolidating entity, while the ultimate parent is the highest consolidating entity.

**Why can parent information be missing?**

GLEIF records reporting exceptions for situations such as a parent without an LEI or exceptional non-disclosure. Its relationship records cover parents with LEIs, so an absent link does not prove that an entity has no parent.

**What period do change files cover?**

GLEIF supplies delta windows of eight hours, 24 hours, seven days, and 31 days. The files contain the latest versions of changed records, so they do not preserve every intermediate edit.

