DEVELOPER TOOLS API MCP READY

n8n Workflow Templates API

Extract n8n workflow templates and creator analytics via API. Search 10,000+ automation templates, rank the most viewed workflows, pull importable workflow JSON, and analyze any creator's full portfolio with view counts.

MEDIAN LAGon demand
PARAMETERS10
TOTAL USERS2
MONTHLY ACTIVE1
TOTAL RUNS30
RUNS SUCCEEDED100.0%
RATINGno ratings yet

Input parameters

PARAMETERTYPEREQDEFAULTDESCRIPTION
mode enum no search What to fetch. 'search' browses or searches the template library (default). 'creator' returns a creator's profile plus every workflow they published, with view counts. 'details' fetches…
queries string[] no [] Search terms for search mode, e.g. ["ai agent", "slack"].
sortBy enum no most_viewed Ranking for search mode. 'most_viewed' surfaces the most popular workflows of all time, 'newest' the latest published templates, 'relevance' the library's default ranking for the query.
categories string[] no [] Optional category filter for search mode, using library category names, e.g. ["AI"], ["Marketing"], ["Sales"], ["IT Ops"], ["Document Ops"], ["Support"], ["Other"].
apps string[] no [] Optional app/integration filter for search mode, using app slugs, e.g. ["openai"], ["slack"], ["google-sheets"], ["telegram"].
nodes string[] no [] Optional node-type filter for search mode, using full node type names, e.g. ["n8n-nodes-base.slack"] or ["n8n-nodes-base.httpRequest"].
usernames string[] no [] Creator mode only.
workflowIds string[] no [] Details mode only.
includeWorkflowJson boolean no False Fetch each template's full detail record.
maxResults integer no 25 Maximum number of template rows to return across all queries or creators. — drives your bill

Worked examples

Basic — the required input, with the schema's own example values
{
  "mode": "search",
  "queries": []
}

Tasks

Saved runs with the inputs already filled in — each one a standalone page and a working configuration example.

Request a task →

Code

curl

curl -X POST "https://api.apify.com/v2/acts/johnvc~n8n-workflow-templates-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "search", "queries": []}'

Python

from apify_client import ApifyClient

client = ApifyClient("APIFY_TOKEN")
run = client.actor("johnvc/n8n-workflow-templates-scraper").call(
    run_input={'mode': 'search', 'queries': []}
)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)