n8n REST API

n8n's REST API for managing workflows, executions, credentials, and instances of the open-source, self-hostable workflow automation platform with code capabilities and 350+ integrations.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Repo ↗ Other n8n workflow-automation open-source self-hosted rest-api mcp-server code-automation
⚙ Agent Friendliness
78
/ 100
Can an agent use this?
🔒 Security
82
/ 100
Is it safe for agents?
⚡ Reliability
80
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
72
Documentation
85
Error Messages
78
Auth Simplicity
82
Rate Limits
75

🔒 Security

TLS Enforcement
95
Auth Strength
80
Scope Granularity
75
Dep. Hygiene
82
Secret Handling
78

API key auth for REST API. Self-hosted n8n has full control over security. n8n Cloud has SOC2. MCP server integration allows agents to trigger n8n workflows bidirectionally. Credentials stored in n8n vault.

⚡ Reliability

Uptime/SLA
82
Version Stability
80
Breaking Changes
78
Error Recovery
78
AF Security Reliability

Best When

You need powerful, code-capable workflow automation that can be self-hosted for data privacy, with deep customization and an MCP server for agent integration.

Avoid When

You need a simple no-code tool managed by a vendor without operational overhead.

Use Cases

  • Triggering n8n workflows via REST webhook or API
  • Managing workflow deployment and activation programmatically
  • Monitoring workflow execution history and error rates
  • Building custom automation tools on top of n8n's workflow engine
  • Integrating n8n into agent pipelines for orchestrated automation

Not For

  • Teams needing fully managed no-code tools without self-hosting
  • Simple single-integration tasks without complex logic
  • Organizations without technical staff to manage self-hosted infrastructure

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
Yes

Authentication

Methods: api_key
OAuth: No Scopes: No

API key generated in n8n settings. Passed as X-N8N-API-KEY header. Full admin access with API key. n8n Cloud uses same approach; self-hosted can also use HTTP Basic Auth.

Pricing

Model: free
Free tier: Yes
Requires CC: No

Source-available (Sustainable Use License) for self-hosting. Cloud hosted plans for managed service. Enterprise license for commercial redistribution.

Agent Metadata

Pagination
cursor
Idempotent
No
Retry Guidance
Documented

Known Gotchas

  • Self-hosted n8n requires a public URL for webhook triggers from external services
  • Fair-code license restricts commercial redistribution — check license terms if building a product on n8n
  • Node execution order and error handling require careful workflow design
  • MCP server (n8n-mcp) enables AI agents to run n8n workflows but is a community project
  • Webhook workflow vs API-trigger workflow have different semantics — choose the right trigger type
  • n8n handles credentials securely — never pass credentials as workflow parameters, use credential store

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for n8n REST API.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-03-06.

5388
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered