n8n with idapt
Found this helpful? Share it:
Found this helpful? Share it:
Set up n8n against idapt's compatible APIs with the steps below. This article and the AI Gateway quickstarts lander render the same shared steps, so they never drift.
n8n with idapt
One OpenRouter credential with idapt's base URL puts every catalog model in your n8n workflows.
# n8n > Credentials > New > OpenRouter
API Key: <IDAPT_API_KEY>
Base URL: https://idapt.app/api/openrouter/v1
# Then in the OpenRouter Chat Model node:
Model: anthropic/claude-sonnet-5The OpenRouter credential carries the Base URL field, and the OpenRouter Chat Model node inherits it; nodes using that credential all route through idapt.
Related articles
API keys and scopes
Create a key, choose its scopes, pin it to an API version, rotate it, and cap what it can spend.
Rate limits and errors
Every error shape the API returns, what each rate limit is, and how to handle a wall in code.
Cap what an API key spends
Give every Gateway API key a lifetime, monthly, or daily USD cap, and what a capped-out key returns.
OpenAI-compatible API
Use idapt's 200+ models from any app that speaks the OpenAI API format.
curl with idapt
curl examples for idapt's three compatible APIs: OpenAI chat completions, Anthropic messages, and OpenRouter completions with one key.
OpenAI SDK (JS) with idapt
Point the official OpenAI Node SDK at idapt's compatible API: a three-line change routes 200+ models through your existing code.
Was this helpful?