n8n-nodes-context-dev
v0.1.1
Published
n8n community node for the Context.dev API — web scraping, brand intelligence, and transaction matching
Downloads
40
Readme
n8n-nodes-context-dev
An n8n community node for the Context.dev API. Wraps the full Context.dev REST API to bring web scraping, brand intelligence, AI extraction, logo retrieval, screenshot capture, and transaction matching into your n8n workflows — no code required.
21+ operations across 6 resources, with full parameter support via Additional Fields.
Installation
In your n8n instance, go to Settings > Community Nodes and install:
n8n-nodes-context-devOr install manually from the n8n root directory:
npm install n8n-nodes-context-devThen restart n8n.
Credentials
- Sign up for a free account at context.dev and copy your API key from the dashboard.
- In n8n, open Credentials and create a new credential of type Context.dev API.
- Paste your API key into the API Key field.
- Leave Base URL at the default (
https://api.context.dev) unless you use a staging or self-hosted environment. - (Optional) If you plan to use the Logo Link resource, enter your Logo Link Client ID (available from the Context.dev dashboard under Logo Link settings).
- Click Test connection to verify. A successful test confirms your API key is valid.
Resources and Operations
Web (1 credit per call)
| Operation | Description | |-----------|-------------| | Scrape to Markdown | Convert any URL to clean Markdown | | Scrape to HTML | Get the rendered HTML of a URL | | Extract Images | List all images found on a URL | | Crawl Sitemap | Parse a sitemap and return all URLs |
Brand (10 credits per call)
| Operation | Description | |-----------|-------------| | Get by Domain | Full brand profile by domain | | Get by Email | Brand lookup by email address | | Get by Company Name | Brand lookup by company name | | Get by Stock Ticker | Brand lookup by stock ticker symbol | | Get by ISIN | Brand lookup by ISIN code | | Extract Colors | Website color palette extraction | | Extract Fonts | Website font detection | | Extract Styleguide | Full styleguide (colors, fonts, logos) | | Extract Products | Product detection via AI (10+ credits) | | Classify Industry (NAICS) | Company industry classification | | Prefetch | Warm the cache for a domain (0 credits) |
AI Extraction (10+ credits per call)
| Operation | Description | |-----------|-------------| | AI Query | Extract structured data from a domain using natural language | | Extract Single Product | AI-powered single product extraction | | Extract Brand Products | AI-powered bulk product extraction |
Logo Link (0 credits — CDN)
| Operation | Description | |-----------|-------------| | Get Logo | Download a brand logo as binary image data |
Screenshot (1 credit per call)
| Operation | Description | |-----------|-------------| | Take Screenshot | Capture viewport or full-page PNG of a URL |
Transaction (1 credit per call)
| Operation | Description | |-----------|-------------| | Match Transaction | Identify the brand behind a bank transaction descriptor |
Usage Examples
Web — Scrape a page to Markdown
- Add a Context.dev node to your workflow.
- Select resource Web, operation Scrape to Markdown.
- Set URL to
https://example.com. - (Optional) Open Additional Fields to toggle Include Links or Include Images.
- The output field
json.markdowncontains the scraped text.
Brand — Look up a brand by domain
- Select resource Brand, operation Get by Domain.
- Set Domain to
stripe.com. - The output contains the full brand profile. Access
json.brand.colorsfor the color palette orjson.brand.logofor the logo URL.
AI Extraction — Run a custom AI query
- Select resource AI Extraction, operation AI Query.
- Set Domain to
apple.com. - Click Add Datapoint under Data to Extract and add a datapoint with Key
founded_year, DescriptionYear the company was founded, and Typenumber. - The output contains
json.resultswith the extracted values.
Logo Link — Download a brand logo
Prerequisite: Add your Logo Link Client ID to the Context.dev API credential.
- Select resource Logo Link, operation Get Logo.
- Set Domain to
github.com. - The output has a
binary.datafield with the logo image. Connect a Write Binary File or S3 node to store it.
Screenshot — Capture a full-page screenshot
- Select resource Screenshot, operation Take Screenshot.
- Set Domain to
n8n.io. - (Optional) Open Additional Fields and set Full Page to
true. - The output has
binary.data(PNG image) andjsonmetadata. Connect a Write Binary File node to save it.
Transaction — Match a transaction descriptor
- Select resource Transaction, operation Match Transaction.
- Set Descriptor to
AMZN Mktp US*AB12345. - The output contains
json.brandwith the matched merchant's name, logo, and domain.
Compatibility
- n8n version: 1.0 or later
- Node.js: 18+
- Context.dev API: v1
