Description
n8n-nodes-anyapi
This is an n8n community node. It lets you use AnyAPI in your n8n workflows.
AnyAPI is a unified marketplace for scraping and data APIs: reach hundreds of third-party APIs through one key, pay per request in real USD, no subscription. AnyAPI normalizes the response schema across providers and fails over automatically on error.
n8n is a fair-code licensed workflow automation platform.
Installation · Operations · Credentials · Usage · Resources
Installation
Follow the community nodes installation guide.
In n8n, go to Settings > Community Nodes, select Install, and enter:
n8n-nodes-anyapi
Operations
The node exposes one AnyAPI node with five operations:
- Run API – execute any API by SKU. Inputs render as typed fields loaded from the API schema (or raw JSON if you prefer). Returns
output,provider,costUsd, anditems. - Get API Schema – fetch the input and output JSON Schema for one API.
- List APIs – browse the AnyAPI catalog, optionally filtered by category.
- Search APIs – run a ranked catalog query, optionally scoped by category or platform.
- Get Balance – return the remaining wallet balance in USD.
- Fields – comma-separated keys to keep on each result item (dotted paths like
author.nameallowed). - Max Items – cap the number of result items returned.
- Summary Only – return only a structural outline instead of the full data.
The API dropdown loads live from the AnyAPI catalog, so every available SKU is selectable and newly added APIs appear automatically. Discovery operations return the gateway’s customer-safe nested USD pricing without exposing internal accounting fields or upstream identities.
Response budget options (Run API)
These trim the response payload without changing what you are charged:
Credentials
You need an AnyAPI key.
1. Create an account at getanyapi.com/dashboard.
2. Copy your API key.
3. In n8n, create new AnyAPI API credentials and paste the key.
The credential is validated against the wallet balance endpoint when you save it. New accounts start with a small trial balance, so you can test before topping up.
Usage
1. Add the AnyAPI node to your workflow.
2. Select Run API.
3. Pick an API from the dropdown, for example Google Search or Reddit Search. Each option shows its live price (per request, per result, or both).
4. Provide the input. There are two Input Mode choices:
– Fields (from schema) – the default. The node loads the selected API’s input schema and renders typed fields, with required fields flagged and enum fields shown as dropdowns. No JSON to hand write.
– JSON – provide the raw payload, useful for expressions, for example:
{ "query": "apify alternative" }
5. Execute. The node returns clean JSON plus the exact costUsd of the call.
Example workflows
Local lead machine – type a niche and a city, scrape Google Maps with contact details, and write a personalized opener per business:
1. Form Trigger – fields: Business type, Location.
2. AnyAPI (Run API) – select Google Maps Contacts (maps.contacts), input:
{ "query": "{{ $json['Business type'] }}", "location": "{{ $json['Location'] }}", "limit": 10 }
3. Split Out on output.data.items to get one item per business.
4. AI Agent – drafts a personalized outreach line from each business.
5. Google Sheets (Append) – log the enriched leads.
Company 360 brief – fan out across several AnyAPI endpoints on one key (Google News, Trustpilot, Similarweb, Reddit, LinkedIn), merge them, and have an AI agent write a one-page company brief. Because every source shares the same credential and response envelope (output + costUsd), adding a sixth source is just another AnyAPI node.