Stepthrough Start free

Litescrape in n8n: Swap SerpApi for a Cheaper Search API

Practice it step by step

Start the free practice

Take the free module: why it matters, practice and a quick check →

You do every step yourself in a practice copy of n8n. It checks your work as you go, and “Do it for me” finishes any step you get stuck on. Free, about 7 minutes, and nothing touches your real accounts. Open full screen

Free · Live nown8n Automation Toolkitn8nLitescrape~7 min16 stepsAdvanced

Updated . Built against the tool’s current screens and checked step by step. How we check this lesson

Litescrape is a third-party search-results API, an alternative to SerpApi for Google, Bing, DuckDuckGo and Maps data at a flat price per request. In this free lesson you use a practice copy of n8n to move a weekly competitor-price workflow from SerpApi to Litescrape. You change the HTTP Request node's URL to Litescrape's Google Shopping endpoint, remove the two query parameters it no longer needs, put the API key in a Bearer Auth credential, test the call, and check that the Google Sheet still fills in.

At a glance

QuestionAnswer
What you buildSwitch a weekly n8n competitor-price workflow from SerpApi to Litescrape's Google Shopping API: change the HTTP Request URL, move the key into a Bearer Auth credential, test it and check the sheet.
Toolsn8n
TimeAbout 7 minutes, 16 steps in 3 parts
LevelAdvanced
CostFree
Ways to learn itPractice it step by step, read the guide with screenshots

The 3 parts, in short

  1. Point the request at Litescrape: Open the HTTP Request node, Change the URL, Remove engine, Remove api_key.
  2. Send the key in a header: Open Authentication, Generic Credential Type, Open Generic Auth Type, Bearer Auth, and 4 more steps.
  3. Test it: Execute step, Close the node, Execute workflow, Check the sheet.

Start here first: n8n: What Is n8n? Build Your First Workflow (module 1 of n8n Automation Toolkit)

In the course: Part 13 · AI Apps Worth Knowing (Module 186 of the full course)

Part of: Business Automations with n8n (step 10 of 23). Next up: How to Put PDF Invoices in Google Sheets with n8n, AI and an Approval Step

Part of: Get Data From the Web Into Your Automations (step 7 of 9). Next up: Error Handling Automation in n8n: Retry On Fail, Error Workflow and Alerts

Part of: AI Apps Worth Knowing (step 41 of 182). Next up: Guardian: Make Your n8n AI Agent Ask Before It Emails a Customer

Litescrape in n8n: Swap SerpApi for a Cheaper Search API: step-by-step guide with screenshots

About the screenshots. They come from Stepthrough’s simulated practice environment (a practice copy of n8n), not the live tool, so no real account appears. The buttons and labels match the real screens the lesson was built against. Practice it yourself free at learn.ynteractive.com.

  • Tools: n8n
  • Time: about 7 minutes, 16 steps in 3 parts
  • Level: advanced

Part 1: Point the request at Litescrape

Step 1: Open the HTTP Request node

You run e-commerce at Northpeak Packs. Every Monday, this workflow checks competitor prices on Google Shopping, and logs them in a sheet. It calls Serp API. You'll switch it to Litescrape, a cheaper search results API.

The n8n workflow canvas in Stepthrough’s practice copy, step 1 of 16 (Open the HTTP Request node): the cursor is on “HTTP Request”, highlighted.
Step 1 of 16. Every Monday this workflow looks up "20L commuter backpack" on Google Shopping through SerpApi and logs competitor prices in a sheet. Double-click the HTTP Request node.

Step 2: Change the URL

First, the address. With Serp API, every search goes to the same web address. Litescrape has one for each search type. This one is Google Shopping.

An n8n node’s settings window in Stepthrough’s practice copy, step 2 of 16 (Change the URL): the url is ready to paste, highlighted.
Step 2 of 16. Replace the SerpApi address in URL with the Litescrape Google Shopping endpoint. Paste in the URL.

Step 3: Remove engine

The query parameters can mostly stay. q, gl, h l, and num have the same names in Litescrape. But engine isn't needed, because the URL already says Google Shopping. Delete it.

An n8n node’s settings window in Stepthrough’s practice copy, step 3 of 16 (Remove engine): the cursor is on “Query Parameters”, highlighted.
Step 3 of 16. Under Query Parameters (turn on Send Query Parameters in your own n8n if you do not see them), click the trash icon on engine. The URL already says Google Shopping.

Step 4: Remove api_key

Now delete api key. Litescrape wants the key in a header, never in the web address.

An n8n node’s settings window in Stepthrough’s practice copy, step 4 of 16 (Remove api_key): the cursor is on “api_key”, highlighted.
Step 4 of 16. Click the trash icon on api_key. Litescrape wants the key in a header, never in the URL.

Part 2: Send the key in a header

Step 5: Open Authentication

Next, the key.

An n8n node’s settings window in Stepthrough’s practice copy, step 5 of 16 (Open Authentication): the cursor is on “Authentication”, highlighted.
Step 5 of 16. Scroll up to Authentication and open it.

Step 6: Generic Credential Type

That's for any service that n8n has no built-in node for.

A dropdown menu in n8n in Stepthrough’s practice copy, step 6 of 16 (Generic Credential Type): the cursor is on “Generic Credential Type”, highlighted.
Step 6 of 16. Choose Generic Credential Type.

Step 7: Open Generic Auth Type

An n8n node’s settings window in Stepthrough’s practice copy, step 7 of 16 (Open Generic Auth Type): the cursor is on “Generic Auth Type”, highlighted.
Step 7 of 16. Open Generic Auth Type.

Step 8: Bearer Auth

It sends your key in the Authorization header, as a bearer token. That's exactly what Litescrape asks for.

A dropdown menu in n8n in Stepthrough’s practice copy, step 8 of 16 (Bearer Auth): the cursor is on “Bearer Auth”, highlighted.
Step 8 of 16. Choose Bearer Auth. It sends the header Authorization: Bearer followed by your key, which is what Litescrape asks for.

Step 9: Open the credential list

An n8n node’s settings window in Stepthrough’s practice copy, step 9 of 16 (Open the credential list): the cursor is on “Bearer Auth”, highlighted.
Step 9 of 16. Open Bearer Auth, the credential drop-down.

Step 10: Create a new credential

A dropdown menu in n8n in Stepthrough’s practice copy, step 10 of 16 (Create a new credential): the cursor is on “+ Create new credential”, highlighted.
Step 10 of 16. Click + Create new credential.

Step 11: Paste your key

In real life, you get a free key with five calls on the Litescrape website, then paste it here. In this practice copy, it's a placeholder.

The n8n credential window in Stepthrough’s practice copy, step 11 of 16 (Paste your key): the key is ready to paste, highlighted.
Step 11 of 16. Paste your Litescrape API key into Bearer Token. In real life, a free key with 5 calls comes from litescrape.com. Here it's a placeholder: Paste in the key.

Step 12: Save the credential

n8n stores the key encrypted, and it never shows up in the workflow.

The n8n credential window in Stepthrough’s practice copy, step 12 of 16 (Save the credential): the cursor is on “Save”, highlighted.
Step 12 of 16. Click Save.

Part 3: Test it

Step 13: Execute step

An n8n node’s settings window in Stepthrough’s practice copy, step 13 of 16 (Execute step): the cursor is on “Execute step”, highlighted.
Step 13 of 16. Click Execute step to send one test request.

Step 14: Close the node

Look at the output. Shopping results, with title, source, price, and extracted price. Those are the same field names as before, so the rest of the workflow keeps working. Close the node.

An n8n node’s settings window in Stepthrough’s practice copy, step 14 of 16 (Close the node): the cursor is on “shopping_results”, highlighted.
Step 14 of 16. The results come back in shopping_results, with title, source, price and extracted_price, the same field names the next nodes already use. Close the node.

Step 15: Execute workflow

Run the whole thing once.

The n8n workflow editor in Stepthrough’s practice copy, step 15 of 16 (Execute workflow): the cursor is on “Execute workflow”, highlighted.
Step 15 of 16. Click Execute workflow to run the whole thing once.

Step 16: Check the sheet

This week's prices are in, with the store and the old price when something's on sale. Same sheet, same columns, a cheaper API.

The n8n workflow editor in Stepthrough’s practice copy, step 16 of 16 (Check the sheet): the cursor is on “Competitor prices”, highlighted.
Step 16 of 16. Click the Competitor prices tab at the top.

Part of these free courses: n8n Jump Start, Get Data From the Web Into Your Automations

Now do it yourself, free

Reading the steps is a start. Doing them is how it sticks. The interactive lesson puts you in a practice copy of n8n: you do every step yourself, it checks your work, and “Do it for me” finishes any step you get stuck on. Nothing touches your real accounts.

Practice “Litescrape in n8n: Swap SerpApi for a Cheaper Search API” step by step
Practice copy of the n8n HTTP Request node calling the Litescrape Google Shopping endpoint with Bearer Auth, and the output table of shopping_results with title, source, price and extracted_price
Practice copy of the n8n HTTP Request node calling the Litescrape Google Shopping endpoint with Bearer Auth, and the output table of shopping_results with title, source, price and extracted_price

What you will do: move one workflow to a cheaper search API

You run e-commerce at Northpeak Packs, a made-up backpack brand. Every Monday at 8:00 an n8n workflow searches Google Shopping for "20L commuter backpack", splits out the results, keeps the date, store, product and price, and appends them to a Competitor prices Google Sheet. The search goes through SerpApi, and you want to try Litescrape instead without rebuilding anything.

In the practice copy you open the HTTP Request node and paste the new URL, https://api.litescrape.com/api/google/shopping. You delete the engine and api_key query parameters and keep q, gl, hl and num. You set Authentication to Generic Credential Type, choose Bearer Auth, create a credential and paste the key into Bearer Token. Then you execute the step, check the output, run the whole workflow and open the sheet.

Who this is for

People who already use n8n with SerpApi or another search API, for price checks, lead lists, SEO rank tracking or market research, and want to cut the cost. You should know your way around an n8n workflow. The lesson is a practice copy, so no request is sent and you need no n8n, Litescrape or SerpApi account to take it; the section below lists what to have ready for the real thing.

How Litescrape compares with SerpApi in an n8n workflow

Both return Google results as JSON. SerpApi uses one address, serpapi.com/search.json, with an engine parameter such as google_shopping and the key as api_key in the URL. Litescrape uses one address per search type, such as /api/google/search, /api/google/shopping or /api/google/maps on api.litescrape.com, and takes the key only in an Authorization: Bearer header. Litescrape's docs say to keep the key on the server and never in the URL.

Many parameter and field names match. For Google Shopping, Litescrape takes q, gl, hl and num, and returns shopping_results with position, title, source, price and extracted_price, plus old_price when a product is marked down. In the lesson that is why the Split Out, Edit Fields and Google Sheets nodes keep working unchanged. Check the fields your own workflow reads against Litescrape's docs before you switch.

Step 1: change the URL and the query parameters

Open the HTTP Request node. Replace the URL with the Litescrape endpoint for the search you run, here Google Shopping. Under Query Parameters, delete engine, because the URL already says which search it is, and delete api_key, because the key moves to a header. Leave q, gl, hl and num as they are.

Step 2: send the key in a Bearer Auth credential

Set Authentication to Generic Credential Type and Generic Auth Type to Bearer Auth. In the Bearer Auth drop-down choose Create new credential, paste your Litescrape key into Bearer Token and save. n8n stores the key encrypted and sends Authorization: Bearer with your key on every request. Header Auth with the name Authorization and the value Bearer plus your key does the same job.

Step 3: test the step, then the whole workflow

Execute step sends one request. In the output, shopping_results should list products with title, source, price and extracted_price. Close the node, click Execute workflow and open the sheet: the new rows should look exactly like last week's. Run both APIs side by side for a week or two before you switch for good, since results can differ by location, device and time.

Before you do it for real: what you need

  • An n8n account (n8n Cloud has a free trial) and a workflow that already calls a search API from an HTTP Request node. Practice on a copy, not your live workflow.
  • A Litescrape key. Litescrape offers a free key with 5 calls from litescrape.com, so you can test before you add credit. Its API playground lets you try one request and copy the exact call.
  • In the n8n HTTP Request node the Query Parameters only show when the Send Query Parameters switch is on. Authentication has three choices: None, Predefined Credential Type and Generic Credential Type; this lesson uses Generic Credential Type, then Bearer Auth, then Create new credential and Bearer Token.

Mistakes to avoid

  • Leaving the key in the URL. Put it in a credential so it never shows in the workflow, the logs or an exported JSON file.
  • Keeping the engine parameter. Litescrape picks the search type from the URL path.
  • Assuming every field matches. Compare the fields your later nodes read with Litescrape's response docs.
  • Switching without a side-by-side test. Compare a week of results from both before you cancel the old plan.

Cost and limits

Litescrape charges a flat $0.15 per 1,000 requests, prepaid from $10, with credits that last six months; failed requests are not charged, and there are 5 free calls to try it. A weekly check of one search uses about 52 requests a year. You can check the remaining balance with GET /api/keys/status without using a call. Check litescrape.com/pricing for current prices and compare them with your current SerpApi plan, since both can change. Respect each search engine's terms and your own company's data rules.

Links

Try it yourself, free

Reading the steps is a start. Doing them is how it sticks. The interactive module walks you through every click in a practice copy of n8n, checks each step, and never touches your real accounts.

Start “Litescrape in n8n: Swap SerpApi for a Cheaper Search API”

Screenshots

Frequently asked questions

How does the interactive lesson work?
Each step is shown to you first (Watch). Then you do it yourself in a practice copy that checks every click (Your turn). If you get stuck, press Do it for me. No request is sent and no n8n, Litescrape or Google account is used.
Is Litescrape part of Stepthrough?
No. Litescrape is a separate, third-party product from litescrape.com. This lesson is free and follows Litescrape's public docs. To use it for real you need a Litescrape API key from its dashboard.
Does Litescrape have an n8n node?
You call it from n8n's HTTP Request node, as in this lesson: a GET request to the endpoint for your search type with the key in a Bearer Auth credential. Litescrape also offers an MCP server and Python and TypeScript SDKs.
Can Litescrape replace SerpApi for Google Maps and Google Search too?
Litescrape lists endpoints for Google Search, Google Maps, Google Local, Google Shopping, AI Overview, Bing, DuckDuckGo, Yelp, Tripadvisor and app stores. Change the URL to the matching endpoint and check the parameter and field names in its docs.
Where do I put the Litescrape API key in n8n?
In a credential, not in the URL. Set Authentication to Generic Credential Type, Generic Auth Type to Bearer Auth, and paste the key into Bearer Token.

Start this module free

More in n8n Automation Toolkit

All 28 modules in n8n Automation Toolkit

More n8n tutorials

How to Create an AI Agent in n8n That Saves Ideas to Google Sheets: a step from the interactive moduleHow to Create an AI Agent in n8n That Saves Ideas to Google Sheets

Build an AI agent for BrightPath Marketing that generates social media post ideas and saves them to Google Sheets — chat trigger, AI Agent, system prompt, model…

Free · Live ~12 min Intermediate

How to Build in Lovable: A Web App with an n8n AI Backend: a step from the interactive moduleHow to Build in Lovable: A Web App with an n8n AI Backend

Build a contact form in Lovable and connect it to an n8n workflow — webhook trigger, AI Agent, Google Sheets, Gmail, and a Respond node that ties it all together.

Free · Live ~15 min Advanced

How to Do OCR in n8n: Read Receipt Photos into Google Sheets with AI: a step from the interactive moduleHow to Do OCR in n8n: Read Receipt Photos into Google Sheets with AI

Drop a photo of a receipt into an n8n chat. An AI agent reads it, pulls out the date, vendor and amount, picks a category, and adds a row to Google Sheets.

Free · Live ~12 min Intermediate

n8n AI Email Responder: Draft Gmail Replies Automatically: a step from the interactive modulen8n AI Email Responder: Draft Gmail Replies Automatically

Build an n8n agent that watches your Gmail, reads each new customer email, and writes a reply as a draft in the same thread, ready for you to check and send.

Free · Live ~12 min Intermediate

How to Make an n8n Workflow That Emails Each Tech Their Jobs from Sheets: a step from the interactive moduleHow to Make an n8n Workflow That Emails Each Tech Their Jobs from Sheets

Every morning at 7, n8n reads a plumbing company's jobs sheet, skips anything not assigned yet, and emails each job to the tech it's assigned to — customer, address…

Free · Live ~10 min Intermediate

The n8n inbox triage workflow: Gmail Trigger, a Text Classifier with Lead, Client and Invoice outputs wired to three label steps, then a Basic LLM Chain and Create a draft on the Client branchGmail AI Triage: Auto-Label Every Email and Draft Replies

Build an n8n workflow that reads each new email, sorts it as a lead, a client or an invoice with a Text Classifier, adds the matching Gmail label, and drafts a reply to…

Free · Live ~18 min Advanced

From the blog

All blog posts

Plain-English definitions, each with an example from a free lesson.

The full AI glossary

More terms on this topic

More prompts on this topic

  • Decline a request politely prompt: A ChatGPT prompt for saying no to a customer clearly and kindly: the no up front, one honest reason, a real alternative, and no…

Browse related tutorials

Get the badge / embed this lesson