RealdataAPI Store - Browse tools published by our community and use them for your projects right away
logo

Tesco Grocery Scraper - Grocery Product Data Collection

RealdataAPI / tesco-grocery-scraper

Scrape grocery product data, like product name, description, price, review, rating, and more, for various grocery categories like frozen food, health, pets, bakery, home, and Ents, etc., using our Tesco grocery scraper. Use our Grocery data collection tool in countries like the UK, UAE, USA, Ireland, Czechia, Slovakia, Hungary, France, Germany, Canada, Australia, Singapore, Mexico, and other countries.

What is Tesco.com?

It is a multinational general merchandise and grocery retailer company of British origin. It has headquarters in Welwyn Garden City, England. As per the gross revenue data, Tesco was the third-highest retailer platform globally in 2011. Its shops are in the UK, Ireland, Czechia, Slovakia, Hungary, and other countries. It is the leading grocery market in the United Kingdom, with a market share of around 30 percent.

What is a Tesco Grocery Scraper?

It is the grocery data scraper to extract data for categories of Tesco groceries like frozen food, bakery, snacks and treats, food cupboards, drinks, households, pets, health, beauty, baby and toddler, home and Ents, etc. Using this tool for grocery collection, you can scrape grocery data from Tesco, including product titles, descriptions, prices, reviews, ratings, and more.

Output Example of Tesco Grocery Data Extractor

{ "aisleName": "Milk", "averageWeight": null, "baseProductId": "54550994", "brandName": "TESCO", "bulkBuyLimit": 16, "catchWeightList": null, "category": { "department": "Milk, Butter & Eggs", "shelf": "Semi-Skimmed Milk", "super": "Fresh Food" }, "context": null, "displayType": "Quantity", "groupBulkBuyLimit": 0, "gtin": "05000436589457", "id": "254656543", "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/3f01a93f-35bf-4658-b980-36e96b636e9c/f8f62a30-97b1-4b10-8d7e-6fca2b14f8d7.jpeg?h=225&w=225", "increment": 0, "isForSale": true, "isInFavourites": null, "isNew": false, "isRestrictedOrderAmendment": null, "isSponsored": [ false ], "maxQuantityAllowed": 16, "maxWeight": 0, "minWeight": 0, "price": 1.55, "productType": "SingleProduct", "promo": [], "restrictedDelivery": null, "restrictions": [], "shortDescription": null, "status": "AvailableForSale", "substitutions": [], "timeRestrictedDelivery": null, "title": "Tesco British Semi Skimmed Milk 2.272L 4 Pints", "unit": { "measure": "litre", "price": 0.68 } }

Is it Legal to Scrape Tesco.com?

You can extract public data from the Tesco platform using our scraper. We have developed this Tesco grocery data collection tool for ethical uses. However, it may scrape some personal data by mistake. Please follow GDPR guidelines before scraping or using any personal data from Tesco.

Industries

Check out how industries use Tesco Scraper worldwide.

saas-btn.webp

E-commerce & Retail

You should have a Real Data API account to execute the program examples. Replace < YOUR_API_TOKEN> in the program using the token of your scraper. Read about the live APIs with Real Data API docs for more explanation.

import { RealdataAPIClient } from 'RealdataAPI-Client';

// Initialize the RealdataAPIClient with API token
const client = new RealdataAPIClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare actor input
const input = {
    "query": "cake"
};

(async () => {
    // Run the actor and wait for it to finish
    const run = await client.actor("jupri/tesco-grocery").call(input);

    // Fetch and print actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
from RealdataAPI_client import RealdataAPIClient

# Initialize the RealdataAPIClient with your API token
client = RealdataAPIClient("<YOUR_API_TOKEN>")

# Prepare the actor input
run_input = { "query": "cake" }

# Run the actor and wait for it to finish
run = client.actor("jupri/tesco-grocery").call(run_input=run_input)

# Fetch and print actor results from the run's dataset (if there are any)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare actor input
cat > input.json <<'EOF'
{
  "query": "cake"
}
EOF

# Run the actor
curl "https://api.RealdataAPI.com/v2/acts/jupri~tesco-grocery/runs?token=$API_TOKEN" /
  -X POST /
  -d @input.json /
  -H 'Content-Type: application/json'

New

new Optional Boolean

New

Query

query Optional String

Segment

segment Optional Enum

Main Category

Options:

Drink string , Frozen-food string, Bakery string, Household string, Pets string, Fresh-food string,

Special Offers

offers Optional Boolean

Promo

Category

category Optional String

Department

department Optional String

Shelf

shelf Optional String

Limit

limit Optional Integer

Result count.

Page

Page Optional Integer

Page index.

Sorting

sort Optional Enum

Options:

Price ascending string, Price descending string, Relevance ,

Brands

brands Optional String

Add brand names with comma separation.

Dietaries

dietaries Optional Enum

Check out the following options for dietaries.

Options:

Vegan string, Halal string, No gluten string, Low-fat string, Vegetarian string, Organic string, No lactose string, Sugar-free string, Low sugar string, Low salt string,
{
  "query": "cake",
  "page": 1,
  "limit": 5
}