On this page
  1. What you need
  2. Store the key once
  3. The workflow to import
  4. Get fields instead of text
  5. Many URLs, on a schedule
  6. Use the result

What you need

An n8n instance (cloud or self-hosted) and a VirginProxy account – the 50 free credits are enough to try this guide, and test keys (vp_test_…) return sample answers that are never charged while you build. Copy your API key from the dashboard under Keys.

Nothing extra has to be installed: the standard HTTP Request node does everything. On self-hosted n8n you can also add our VirginProxy community node – the integrations page of the docs shows how.

Store the key once

In n8n, create a credential of the type Header Auth. Name: Authorization. Value: Bearer followed by a space and your key. Every HTTP Request node can then use it, and the key does not appear in the workflow itself.

The workflow to import

Copy the JSON below, open a new workflow in n8n and paste it (Ctrl+V or Cmd+V). It contains a manual start and an HTTP Request node that sends POST to https://api.virginproxy.com/v1/requests. Open the node, choose your Header Auth credential and run it.

The answer arrives as JSON: body holds the page as Markdown, status the status the site sent, and cost the credits it took.

{
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.virginproxy.com/v1/requests",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"url\": \"https://shop.example/product/42\",\n  \"format\": \"markdown\",\n  \"main_content\": true\n}",
        "options": {}
      },
      "name": "VirginProxy",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        240,
        0
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        [
          {
            "node": "VirginProxy",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Get fields instead of text

For prices, names or stock levels replace the body of the request: "extract" with CSS selectors returns exactly those fields under extracted. If you prefer to describe the fields in words, AI extraction fills a JSON schema for you. Pages that need a browser get "render": true.

{
  "url": "https://shop.example/product/42",
  "extract": {
    "name": "h1",
    "price": ".price"
  }
}

Many URLs, on a schedule

Replace the manual start with a Schedule Trigger and read the URLs from Google Sheets, Airtable or a database. n8n runs the HTTP Request node once per item. Keep the batch size moderate – the node's Batching option lets you send, for example, five requests at a time with a pause in between.

For hundreds of URLs at once our jobs endpoint is cheaper to manage: send the list, get one result when everything is done.

Use the result

Write the fields to a sheet, compare today's price with yesterday's using an IF node, send a message on changes, or pass the Markdown to an AI node for a summary. If a request fails, the node gets our error with a clear code – n8n's Retry On Fail setting handles temporary errors.