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
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 API - execute any API by SKU
Run API - execute any API by SKU
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 or Wait Request - resume long-running work
Get or Wait Request - resume long-running work
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.
Get API Schema - inspect input and output
Get API Schema - inspect input and output
Fetch one API’s input and output JSON Schema. Build the Run API payload from the input schema.
List APIs - browse the catalog
List APIs - browse the catalog
Browse the AnyAPI catalog, optionally narrowed with Category (a category slug).
Returns one item per API.
Search APIs - find an API by intent
Search APIs - find an API by intent
Run a ranked free-text catalog search, optionally narrowed with Category or
Platform. Results include each API’s description and relevance.
Get Balance - check your wallet
Get Balance - check your wallet
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: