Skip to main content
The official n8n community node runs any API in the catalog inside a workflow. Add one credential, add the AnyAPI node, pick an API from the dropdown, and pass its input.

Prerequisites

  • An AnyAPI key. Create one in the dashboard under API keys.
  • A funded USD wallet. Run API bills your wallet per request; discovery is free. New accounts start with a small free balance.
  • An n8n instance where you can install community nodes (self-hosted, or any plan that allows them).

Install

1

Open community nodes

In n8n, go to Settings > Community Nodes and select Install.
2

Install the package

Enter the package name and confirm:
See n8n’s community nodes installation guide.
3

Add the AnyAPI node

In any workflow, search for AnyAPI in the node panel and add it.

Create the AnyAPI credential

1

Add a new credential

On the AnyAPI node, create a new AnyAPI API credential.
2

Paste your key

Paste your AnyAPI key into API Key. It is sent as Authorization: Bearer <key>.Leave Base URL at its default, https://api.getanyapi.com. Change it only for a self-hosted or staging gateway.
3

Save

On save, n8n checks the key against the wallet balance endpoint and rejects an invalid key.

Operations

Run an API by its SKU with a JSON Input payload. The API dropdown loads live from the public catalog.Returns the normalized output, provider (always AnyAPI), costUsd, and items (the number of results charged for). See Not found vs error for when a miss or a failed call is billed.The node polls long-running calls until they finish. Enable Return Immediately to emit a resumable Request ID. The node sends the paid POST once.
Get Request returns the current stored state. Wait for Request polls that state until the terminal result is ready. Connect the Request ID from a Run API node configured with Return Immediately.
Fetch one API’s input and output JSON Schema. Build the Run API payload from the input schema.
Browse the AnyAPI catalog, optionally narrowed with Category (a category slug). Returns one item per API.
Run a ranked free-text catalog search, optionally narrowed with Category or Platform. Results include each API’s description and relevance.
Return the remaining wallet balance in USD for the key on the credential. Never charges.

Pricing fields

Discovery operations show prices as the gateway publishes them: pricing.from is the primary static offer, pricing.failoverMaxUsd is the fallback ceiling, and failover reports whether AnyAPI currently has an alternate route. The node never calculates these from lanes. See Pricing for every price field.

Response budget options (Run API)

Run API has three optional controls under Options that shrink the response. They never change what you are billed (costUsd reflects the full result the API produced):

Worked example

Add an AnyAPI node, select Run API, pick Reddit Search (reddit.search) from the API dropdown, and set Input to:
Execute. The node returns:
Every API returns the same envelope on the same credential, so one workflow can run several AnyAPI nodes and combine them with a Merge node.
The same catalog is available over REST (see the Quickstart) and the MCP server. Need help? Email support@getanyapi.com.