<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Russell Yapp</title>
    <description>The latest articles on DEV Community by Russell Yapp (@yappman).</description>
    <link>https://dev.to/yappman</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4141609%2Fb993867c-5235-488f-b905-284f38e7a57b.png</url>
      <title>DEV Community: Russell Yapp</title>
      <link>https://dev.to/yappman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yappman"/>
    <language>en</language>
    <item>
      <title>Find UK importers of one HS code with an Apify Actor</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Thu, 19 Nov 2026 16:39:36 +0000</pubDate>
      <link>https://dev.to/yappman/find-uk-importers-of-one-hs-code-with-an-apify-actor-48jc</link>
      <guid>https://dev.to/yappman/find-uk-importers-of-one-hs-code-with-an-apify-actor-48jc</guid>
      <description>&lt;p&gt;You sell something, or you research a market, and you want a list of UK companies that bring one product in. HMRC publishes monthly lists of UK importers and exporters, but they are large files keyed by commodity code. This is a how-to for pulling out one code.&lt;/p&gt;

&lt;p&gt;I publish the UK Importers and Exporters: HMRC Trade Data Actor. The data is HMRC UK Trade Info, published under the Open Government Licence v3.0.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: find the code (free)
&lt;/h2&gt;

&lt;p&gt;If you do not know the HS code, &lt;code&gt;hsSuggest&lt;/code&gt; mode turns keywords into suggested codes. It reads no trader data, so nothing is charged.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"hsSuggest"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"hsKeywords"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"heat pump"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each keyword gets one row. A &lt;code&gt;matches&lt;/code&gt; row lists up to 10 suggestions with the code, its level, a description and a score. Matching is plain word matching, with plurals folded and no synonyms, so "tyre" will not find "tire". Check each suggestion against the UK Trade Tariff before you rely on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: search for the traders
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"hsCodes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"8419"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"flows"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"imports"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A code can have 2, 4, 6 or 8 digits and matches every 8-digit code that starts with it. With no months given, the search reads the latest month HMRC has published. For a range, give &lt;code&gt;monthFrom&lt;/code&gt; and &lt;code&gt;monthTo&lt;/code&gt; as &lt;code&gt;YYYY-MM&lt;/code&gt;, both or neither, at most 12 months per run.&lt;/p&gt;

&lt;p&gt;To keep one region, add &lt;code&gt;postcodeDistricts&lt;/code&gt;, for example &lt;code&gt;["M", "SK", "WA1"]&lt;/code&gt;. A district matches exactly (&lt;code&gt;M1&lt;/code&gt; matches &lt;code&gt;M1&lt;/code&gt;, not &lt;code&gt;M11&lt;/code&gt;), and an area of letters such as &lt;code&gt;M&lt;/code&gt; matches &lt;code&gt;M1&lt;/code&gt; and &lt;code&gt;M60&lt;/code&gt;, not &lt;code&gt;ME1&lt;/code&gt;. A full postcode is refused.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a row holds
&lt;/h2&gt;

&lt;p&gt;One row per trader, flow and month: &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;postcodeDistrict&lt;/code&gt;, &lt;code&gt;flow&lt;/code&gt;, &lt;code&gt;month&lt;/code&gt;, and the codes that matched in &lt;code&gt;cn8Codes&lt;/code&gt;, &lt;code&gt;hs6Codes&lt;/code&gt; and &lt;code&gt;hs4Codes&lt;/code&gt;. There is no address field, and only the outward part of the postcode is given.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;On the Free plan, as shown on the Actor's page on 19 November 2026, a row costs $0.002, and a run costs $0.005 once it has read trader data. Bronze, Silver and Gold plans pay less per trader. The README's own examples are a 20-row search at $0.045 and a 1,000-row search at $2.005. At 200 rows, the run above costs at most 200 x $0.002 + $0.005 = $0.405.&lt;/p&gt;

&lt;p&gt;The run fee is charged even if no row comes back, but a refused input charges nothing. &lt;code&gt;maxItems&lt;/code&gt; goes up to 100,000, and Apify's maximum-charge setting caps a run too.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to keep in mind
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sole traders are people.&lt;/strong&gt; Names that are not clearly an organisation's are left out. A name needs a marker such as Limited, Ltd, PLC or LLP to be returned, and the ones left out are counted in &lt;code&gt;RUN_SUMMARY.withheldPersons&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The data is about five weeks behind.&lt;/strong&gt; July 2026 was published on 7 September 2026. A month not yet published is listed in &lt;code&gt;RUN_SUMMARY.notPublished&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Older months have limits.&lt;/strong&gt; A search makes at most 60 queries across older months, codes and flows. A wider one is refused before anything is read, and nothing is charged.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A row shows only matched codes.&lt;/strong&gt; In search, each row lists the codes that matched, not everything the trader dealt in. Lookup mode lists every code for a named company.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HMRC's removals apply.&lt;/strong&gt; HMRC removes a trader who asks from the following month's publication, and the Actor follows the current publication. The README says how to ask us to remove a trader.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Want to be told about new traders instead? &lt;code&gt;alert&lt;/code&gt; mode records the first month it reads, sends no rows that time, and then sends traders new to your codes as each month is published. The README's example is a monthly alert that finds 30 new traders, costing $0.065.&lt;/p&gt;

&lt;p&gt;Contains public sector information licensed under the Open Government Licence v3.0 (HMRC, UK Trade Info). This Actor is not affiliated with HMRC.&lt;/p&gt;

&lt;p&gt;The Actor: &lt;a href="https://apify.com/yappman/uk-importers-exporters" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-importers-exporters&lt;/a&gt;&lt;/p&gt;

</description>
      <category>apify</category>
      <category>opendata</category>
      <category>trade</category>
      <category>leadgeneration</category>
    </item>
    <item>
      <title>Rental yield for one UK postcode area with an Apify Actor</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Thu, 19 Nov 2026 12:26:23 +0000</pubDate>
      <link>https://dev.to/yappman/rental-yield-for-one-uk-postcode-area-with-an-apify-actor-460</link>
      <guid>https://dev.to/yappman/rental-yield-for-one-uk-postcode-area-with-an-apify-actor-460</guid>
      <description>&lt;p&gt;You are looking at one area and want a rough gross yield: asking rent against asking price, split by bedrooms. You can search for sale, search to rent, copy the numbers into a sheet and take medians. Or you can let one run do the sums.&lt;/p&gt;

&lt;p&gt;I publish the UK Property Listings Scraper: Rightmove, Sold Prices, Yield Actor on Apify. It has a &lt;code&gt;summary&lt;/code&gt; option, and &lt;code&gt;rentalYield&lt;/code&gt; is its value. It searches the place for sale, then to rent, and writes one extra record called &lt;code&gt;SUMMARY&lt;/code&gt; to the run's key-value store.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"locations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"LS6"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"listingType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"for-sale"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"rentalYield"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;400&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;locations&lt;/code&gt; takes a place or an outcode. &lt;code&gt;rentalYield&lt;/code&gt; needs &lt;code&gt;locations&lt;/code&gt; and &lt;code&gt;listingType&lt;/code&gt; set to &lt;code&gt;for-sale&lt;/code&gt;, and it refuses &lt;code&gt;minPrice&lt;/code&gt;, &lt;code&gt;maxPrice&lt;/code&gt; and pasted search URLs. It does not work with &lt;code&gt;monitorId&lt;/code&gt;. &lt;code&gt;maxItems&lt;/code&gt; covers both searches: the sale search gets up to half and the rent search gets the rest, so 400 means up to 200 of each.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get back
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;SUMMARY&lt;/code&gt; record has a &lt;code&gt;rows&lt;/code&gt; list with one entry per outcode and number of bedrooms (&lt;code&gt;0&lt;/code&gt; to &lt;code&gt;4&lt;/code&gt;, and &lt;code&gt;5+&lt;/code&gt;). Each entry has &lt;code&gt;area&lt;/code&gt;, &lt;code&gt;beds&lt;/code&gt;, &lt;code&gt;rentMedianPcm&lt;/code&gt; (median asking rent per month), &lt;code&gt;askingPriceMedian&lt;/code&gt;, &lt;code&gt;grossYieldPct&lt;/code&gt; (gross asking yield before costs), and the counts behind them, &lt;code&gt;rentCount&lt;/code&gt; and &lt;code&gt;saleCount&lt;/code&gt;. A figure is &lt;code&gt;null&lt;/code&gt; under 5 listings, and &lt;code&gt;suppressed&lt;/code&gt; says when the yield could not be given. Above &lt;code&gt;rows&lt;/code&gt;, the record also carries &lt;code&gt;listingsUsed&lt;/code&gt;, &lt;code&gt;minCount&lt;/code&gt; and &lt;code&gt;notes&lt;/code&gt;. The summary is free. The listing rows it reads are in the dataset and charged as usual.&lt;/p&gt;

&lt;p&gt;The yield is gross asking rent over asking price, before costs. If you want to check it, take the medians from your own export and divide twelve months of rent by the price.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;On the Free plan, as shown on the Actor's page on 19 November 2026, a listing costs $1.25 per 1,000 ($0.00125 each), plus $0.005 once per run. Higher Apify plans pay less. For the input above, 400 rows cost 400 x $0.00125 + $0.005 = $0.505 if the run returns 400 rows.&lt;/p&gt;

&lt;p&gt;Use Apify's maximum charge per run setting if you want a ceiling. A run that is blocked or finds nothing is not charged.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to keep in mind
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;These are advertised figures.&lt;/strong&gt; They are asking prices and asking rents, not sold or let prices. They are not valuations and not advice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Small areas can come back empty.&lt;/strong&gt; With only a few hundred listings spread over six bedroom bands, some bands may fall under 5 listings. Raise &lt;code&gt;maxItems&lt;/code&gt; (the ceiling is 1,000 rows per run) or search a bigger area.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An outcode can be taken from the nearest postcode.&lt;/strong&gt; Where the portal gives none, the summary takes it from the postcode nearest the listing's map position. A listing near a boundary can be counted in the neighbouring outcode. The summary says how many listings this affected, and the listing rows themselves are unchanged.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rightmove is the default portal.&lt;/strong&gt; OnTheMarket is opt-in through &lt;code&gt;portals&lt;/code&gt; and has its own limits, which the README describes. Zoopla is not available at the moment, and a run that asks for it skips it with a note and no charge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Listings are a snapshot.&lt;/strong&gt; A listing can be let or sold after your run. Each row carries &lt;code&gt;scrapedAt&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am not quoting a yield for any area. It depends on the day you run it, and one run is one reading.&lt;/p&gt;

&lt;p&gt;The websites' terms of use apply, and you remain responsible for complying with them. I make no claim that any portal permits this use. This is not legal advice.&lt;/p&gt;

&lt;p&gt;This Actor is an independent tool, not affiliated with or endorsed by Rightmove, Zoopla or OnTheMarket.&lt;/p&gt;

&lt;p&gt;The Actor: &lt;a href="https://apify.com/yappman/uk-property-listings" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-property-listings&lt;/a&gt;&lt;/p&gt;

</description>
      <category>apify</category>
      <category>property</category>
      <category>realestate</category>
      <category>dataanalysis</category>
    </item>
    <item>
      <title>Serbian grocery prices by barcode: one row per product per retailer</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Thu, 19 Nov 2026 10:06:40 +0000</pubDate>
      <link>https://dev.to/yappman/serbian-grocery-prices-by-barcode-one-row-per-product-per-retailer-5hb5</link>
      <guid>https://dev.to/yappman/serbian-grocery-prices-by-barcode-one-row-per-product-per-retailer-5hb5</guid>
      <description>&lt;p&gt;I made an Apify Actor that looks up Serbian grocery prices. You give it barcodes, words from a product name, or a&lt;br&gt;
category, and it returns one row per product per retailer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where the data comes from.&lt;/strong&gt; Larger Serbian retailers publish price lists on the national Open Data Portal. A&lt;br&gt;
price-list rule (Pravilnik, Sl. glasnik RS 76/2026 as amended by 98/2026) requires them to publish there. The rule does not&lt;br&gt;
cover re-use, which rests on the licence each dataset shows on the portal: the Serbian Open Data Licence. The Actor reads only&lt;br&gt;
the files held on the portal itself. On 17 November 2026 that was 8 retailers. Many retailers' entries link to a file on their&lt;br&gt;
own server instead; those are not read, so a retailer you expect may be missing, and each run's summary names every retailer it&lt;br&gt;
skipped and why.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What a row holds.&lt;/strong&gt; The barcode, whether it passes the GS1 check digit, the product name, brand and category, the retailer,&lt;br&gt;
the price in dinars, any reduced price and its dates, the unit price, the VAT rate, the list's own date, and the source,&lt;br&gt;
download date, address, changes and licence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three ways to ask.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Barcode: up to 500 13-digit barcodes. A barcode must match the 13-digit code a retailer's list publishes, and the same
product can carry a different code in another country.&lt;/li&gt;
&lt;li&gt;Search: words in the product name, Latin or Cyrillic.&lt;/li&gt;
&lt;li&gt;Category: a category number (1 to 24) or its name.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An example input:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"barcode"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"barcodes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"8606107841571"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"8600742012853"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"listType"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"current"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;What it costs.&lt;/strong&gt; You pay per event: $0.005 a run, $0.003 for each retailer file read and checked, $0.002 for each row. For&lt;br&gt;
example, 10 barcodes at all 8 covered retailers with 40 rows found cost $0.005 + 8 × $0.003 + 40 × $0.002 = $0.109. A file that&lt;br&gt;
cannot be read is never charged. The price lists themselves are free on the portal; you pay for the lookup.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to keep in mind.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The price is the retailer's highest valid price across its shops, as the price-list rule and each dataset's description state,
so a given shop may charge less.&lt;/li&gt;
&lt;li&gt;Each run reads the file held on the portal at that moment. Check &lt;code&gt;priceListDate&lt;/code&gt; before relying on a price: some retailers
also keep a newer copy on their own server, which the Actor does not read.&lt;/li&gt;
&lt;li&gt;The Actor never claims a price is the cheapest in Serbia, only what each retailer read lists.&lt;/li&gt;
&lt;li&gt;Text that looks like an email address or phone number is replaced, and the rest of the row is kept.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The licence asks each re-use to name the source, the download date and address, and any changes; every row carries these&lt;br&gt;
fields. The licence was written for data published by public bodies, and these lists are published by retailers. I pass on the&lt;br&gt;
licence as shown on each dataset and give no warranty of rights. This is not legal advice. I am not affiliated with or&lt;br&gt;
endorsed by the Government of Serbia, the portal or any retailer, and I hold no agreement with, or permission from, any&lt;br&gt;
retailer, the portal or the Government of Serbia.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>opendata</category>
      <category>serbia</category>
      <category>data</category>
    </item>
    <item>
      <title>Price-drop alerts for hotels with an Apify Actor and a schedule</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Sun, 15 Nov 2026 17:35:16 +0000</pubDate>
      <link>https://dev.to/yappman/price-drop-alerts-for-hotels-with-an-apify-actor-and-a-schedule-3e87</link>
      <guid>https://dev.to/yappman/price-drop-alerts-for-hotels-with-an-apify-actor-and-a-schedule-3e87</guid>
      <description>&lt;p&gt;You have fixed dates for a trip and a short list of hotels. You want to know when one of them gets cheaper. Google Hotels shows you today's price. It does not tell you what the price was the last time you looked.&lt;/p&gt;

&lt;p&gt;The Actor I publish, Google Hotels Scraper: Prices, Vendor Rates, History, has a &lt;code&gt;watch&lt;/code&gt; option for this. It keeps the last nightly price it saw for each hotel and stay, and adds the change on the next run. Put it on a schedule and you have a daily check.&lt;/p&gt;

&lt;p&gt;The Actor: &lt;a href="https://apify.com/yappman/google-hotels-prices" rel="noopener noreferrer"&gt;https://apify.com/yappman/google-hotels-prices&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;These are lead prices Google shows for the searched dates. This is not a booking tool and not advice.&lt;/p&gt;

&lt;h2&gt;
  
  
  The input
&lt;/h2&gt;

&lt;p&gt;Use hotel mode, a list of Google hotel ids (or Google Travel hotel URLs), fixed dates and &lt;code&gt;watch: true&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"hotel"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"hotels"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"&amp;lt;hotel id 1&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;hotel id 2&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"&amp;lt;hotel id 3&amp;gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"dates"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"checkIn"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2027-03-10"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"checkOut"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2027-03-12"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"watch"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;watch&lt;/code&gt; works in hotel mode only. It is rejected in other modes and on the Standby endpoint.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use fixed dates
&lt;/h2&gt;

&lt;p&gt;This matters for a schedule. Without &lt;code&gt;dates&lt;/code&gt;, each run checks a stay 14 days after the run. A daily schedule would then check a new date every day, and nothing would ever be compared. For a scheduled watch, give a fixed &lt;code&gt;checkIn&lt;/code&gt; and &lt;code&gt;checkOut&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get back
&lt;/h2&gt;

&lt;p&gt;Each row gains three fields:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;previousPerNight&lt;/code&gt;: the stored per-night price from the previous watch run for this hotel, dates, currency and country.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;changePerNight&lt;/code&gt;: the change in &lt;code&gt;leadPrice.perNight&lt;/code&gt; since then, rounded to the currency's minor unit.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;changePct&lt;/code&gt;: that change as a percentage, to one decimal place, half-up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All three are null when &lt;code&gt;watch&lt;/code&gt; is off, on the first watch run for that hotel, dates, currency and country, or when either price is missing or the previous price is 0.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the last price is kept
&lt;/h2&gt;

&lt;p&gt;In short, with &lt;code&gt;watch&lt;/code&gt; on, the Actor keeps the last price it saw for each hotel, dates, currency and country in a key-value store named &lt;code&gt;google-hotels-watch&lt;/code&gt; in your own Apify account, so the next run can compare. It holds hotel ids, dates, currency, country, that price and when it was read, nothing else, and stays in your account until you delete it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I saw
&lt;/h2&gt;

&lt;p&gt;I tested this on the Apify platform. The first run created the store and saved one price. The second run, a minute later, reopened it and reported the previous price with a change of 0, because the price had not moved.&lt;/p&gt;

&lt;p&gt;Then, on one of our own test runs of the example Task on 6 November 2026, I got a drop. The watch reported one Lisbon hotel's nightly price for a March 2027 stay down $23.15 (8.3%) since the previous run. The previous run was about 17 minutes earlier. The three fields were:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"previousPerNight"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;278.17&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"changePerNight"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;-23.15&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"changePct"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;-8.3&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is one observation, not a trend. I am not saying hotel prices are falling, and I am not naming the hotel.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;Every watched hotel is a normal &lt;code&gt;hotel&lt;/code&gt; row: $0.003 on the Free plan. Bronze, Silver and Gold plans and above pay less on the hotel event (not on the start fee), as the README's tier table shows. Each run also has the $0.005 start fee. The watch adds no event and no extra request, and an unchanged hotel is charged like any other row.&lt;/p&gt;

&lt;p&gt;For three hotels that is 3 x $0.003 + $0.005 = $0.014 a run on the Free plan. A daily schedule for 30 days is about $0.42. Use Apify's maximum cost per run setting if you want a hard ceiling. Check the current README prices before you rely on these.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting an alert
&lt;/h2&gt;

&lt;p&gt;The Actor writes data. It does not send email or push notifications. If you want a message when a price drops, you connect a webhook or an integration yourself, for example to act on a negative &lt;code&gt;changePct&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The watch only compares runs that share the same hotel, dates, currency and country.&lt;/li&gt;
&lt;li&gt;A past date fails the run (the start fee still applies), so update the dates before the stay date passes.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;bookingUrl&lt;/code&gt; is always null: the Actor never follows or passes on Google's click links.&lt;/li&gt;
&lt;li&gt;Prices in your own browser can differ, for example if you are signed in.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This Actor is not affiliated with, endorsed by or sponsored by Google.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>travel</category>
      <category>api</category>
      <category>automation</category>
    </item>
    <item>
      <title>Two free UK property pages: sold prices by district and rental yield by authority</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Thu, 12 Nov 2026 10:01:39 +0000</pubDate>
      <link>https://dev.to/yappman/two-free-uk-property-pages-sold-prices-by-district-and-rental-yield-by-authority-35o8</link>
      <guid>https://dev.to/yappman/two-free-uk-property-pages-sold-prices-by-district-and-rental-yield-by-authority-35o8</guid>
      <description>&lt;p&gt;I publish two free tables on data.yappman.com, both built from public UK data and offered under the Open Government Licence v3.0. This post says what is in them, how the yield is worked out, and where they stop.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Median sold prices by postcode district, England and Wales: &lt;a href="https://data.yappman.com/sold-prices/" rel="noopener noreferrer"&gt;https://data.yappman.com/sold-prices/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Gross rental yield by local authority, England and Wales: &lt;a href="https://data.yappman.com/rental-yield/" rel="noopener noreferrer"&gt;https://data.yappman.com/rental-yield/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both are statistics, not advice and not a valuation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Median sold prices by postcode district
&lt;/h2&gt;

&lt;p&gt;The table is updated monthly from HM Land Registry Price Paid Data. It uses standard sales (category A) by transfer date, over the 12 months ending three months before the latest monthly file. It also gives the 3-month median and the change from the 12 months before.&lt;/p&gt;

&lt;p&gt;Medians and quartiles are left blank where a period has fewer than 5 sales, which is too few for a meaningful figure.&lt;/p&gt;

&lt;p&gt;Two things to know:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is not an index. The mix of homes sold changes from period to period.&lt;/li&gt;
&lt;li&gt;Sales are registered weeks or months after the transfer date, so the newest months start low and rise in later tables, the 3-month figures most of all. Figures are also revised as HM Land Registry corrects its data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The table for 2026-10 covers sales from 2025-08 to 2026-07: 11,377 rows for 2,526 districts. It was built on 5 November 2026. Each dated file stays as it was first published, and there are CSV and JSON downloads.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gross rental yield by local authority
&lt;/h2&gt;

&lt;p&gt;This table is updated monthly. For each local authority and property type (all homes, detached, semi-detached, terraced, flat) it gives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the average monthly rent, from the ONS Price Index of Private Rents (PIPR);&lt;/li&gt;
&lt;li&gt;the number of sales and the median price of standard sales (category A) from HM Land Registry, for the same type and the same 12 months;&lt;/li&gt;
&lt;li&gt;the gross yield: the average monthly rent times 12, divided by the median price, as a percentage to one decimal place.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The rent is the mean of PIPR's 12 monthly figures for the same 12 months as the sales. It covers new and existing tenancies. Bedroom rents appear on the all-homes row only, as context. HM Land Registry has no bedroom counts, so there is no bedroom yield.&lt;/p&gt;

&lt;p&gt;The table for 2026-10 uses rents and sales from 2025-08 to 2026-07 and the PIPR edition of 2026-10-21. It has 316 local authorities (294 in England, 22 in Wales) and 1,580 rows. 1,552 rows have a yield and 27 type yields are withheld. It was built on 6 November 2026.&lt;/p&gt;

&lt;p&gt;For example, the all-homes rows show Leeds at 5.4% (a rent of £1,121 a month against a median price of £250,000, from 8,964 sales) and Cardiff at 5.1%. The same rows show Manchester at 6.2% and Westminster at 4.7%.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read this before you use the yields
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It is gross.&lt;/strong&gt; It is before costs, voids, tax and finance. It is not advice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The two sides are different homes.&lt;/strong&gt; The rent is a mean and the price a median, and the homes that are rented are not the homes that sold. These are area averages, not a valuation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PIPR is statistics in development.&lt;/strong&gt; The ONS labels these figures that way. They are not seasonally adjusted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Some areas are left out.&lt;/strong&gt; Scotland and Northern Ireland are not covered: PIPR publishes them by Broad Rental Market Area, and HM Land Registry has no data for them. City of London and the Isles of Scilly are not covered either, because PIPR does not publish them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When a yield is withheld
&lt;/h2&gt;

&lt;p&gt;On a property-type row, the yield is shown as a dash in two cases.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The type has fewer than 20 sales in the 12 months. 14 rows are withheld for this reason.&lt;/li&gt;
&lt;li&gt;The yield is below half of that authority's all-homes yield. I take that as a sign that the rented homes and the sold homes of that type are not alike. 13 rows are withheld for this reason. In the cases I checked when I reviewed the first table, these were inner London house types, where the rent PIPR gives for a house type is close to the area's flat rent while the median sale price for that type is very high.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The rent, sales and median are still shown on a withheld row, with a footnote giving the reason. A plain dash with no note means there is no figure: fewer than 5 sales, or a rent PIPR does not publish for all 12 months. The all-homes row is never withheld.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you need outcode and bedroom level
&lt;/h2&gt;

&lt;p&gt;These tables are by local authority. For outcode and bedroom level from current listings, the UK Property Listings Scraper Actor has a &lt;code&gt;rentalYield&lt;/code&gt; summary, which gives yields per outcode from advertised asking prices (not valuations) and bedroom count (0 to 5+). It is a paid pay-per-event Actor on the Apify Store: &lt;a href="https://apify.com/yappman/uk-property-listings" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-property-listings&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the Free plan a listing costs $0.00125 and each run $0.005. The summary itself is free; the listing rows it reads are charged as usual. Paid plans pay less. Check the Store page for current prices.&lt;/p&gt;

&lt;h2&gt;
  
  
  Licence and sources
&lt;/h2&gt;

&lt;p&gt;Contains HM Land Registry data © Crown copyright and database right 2026. This data is licensed under the Open Government Licence v3.0. Rents and local authority codes: Source: Office for National Statistics licensed under the Open Government Licence v3.0. Contains OS data © Crown copyright and database right 2026. Contains Royal Mail data © Royal Mail copyright and database right 2026.&lt;/p&gt;

</description>
      <category>opendata</category>
      <category>uk</category>
      <category>realestate</category>
      <category>apify</category>
    </item>
    <item>
      <title>Apify rotated every token overnight: what broke on our Actors and what we changed</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Thu, 12 Nov 2026 09:33:36 +0000</pubDate>
      <link>https://dev.to/yappman/apify-rotated-every-token-overnight-what-broke-on-our-actors-and-what-we-changed-4pfn</link>
      <guid>https://dev.to/yappman/apify-rotated-every-token-overnight-what-broke-on-our-actors-and-what-we-changed-4pfn</guid>
      <description>&lt;p&gt;On the evening of 11 November 2026, Apify told account holders that it had rotated all API tokens and Proxy passwords, ended sessions and revoked GitHub sign-in. Old tokens stopped working at once.&lt;/p&gt;

&lt;p&gt;We run 33 Actors on one Apify account. This is a plain account of what that meant for us, what we did, and what we would set up in advance next time. It covers only our own account. We are not adding any explanation of why the rotation happened beyond what Apify told us.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we had
&lt;/h2&gt;

&lt;p&gt;The account held about 30 personal tokens, 33 Actors, 172 saved Tasks, 58 schedules and one webhook. That is not unusual for a small data business, but it is enough that "just replace the token" stops being a one-minute job.&lt;/p&gt;

&lt;h2&gt;
  
  
  What broke
&lt;/h2&gt;

&lt;p&gt;In roughly the order we noticed it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The command line logged out.&lt;/strong&gt; That meant no builds and no runs from our machines until we signed in again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Actors that read private stores returned 401.&lt;/strong&gt; Several of our Actors read from private key-value stores using a token held in a secret environment variable. Once the old token was dead, those reads failed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customer-facing Actors failed closed.&lt;/strong&gt; They stopped with a plain message, for example "change log unavailable, nothing was read or charged". Nobody was billed for a run that could not read its data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A local publish step was held.&lt;/strong&gt; It depends on a stored token, so it stopped rather than guessing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scheduled canaries went red.&lt;/strong&gt; We run small scheduled checks against our public Actors. They told us within hours which ones were affected.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A daily summary Actor failed with 401.&lt;/strong&gt; It is triggered by a webhook and uses a token to read run information.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How we recovered
&lt;/h2&gt;

&lt;p&gt;The first surprise was the Console's copy button on an old token. It copies a value, but the value is invalid. A rotated token cannot be recovered that way, so every token we still needed had to be rotated or created again.&lt;/p&gt;

&lt;p&gt;The second was environment variables. A secret variable only reaches a run through a build made after you set it. Setting the new value in the Console is not enough; the running build still carries the old one. We rebuilt eleven Actors.&lt;/p&gt;

&lt;p&gt;Then we tested. For each new token we made one tiny owner run, capped at $0.05. The total cost of all of them was well under a cent. We also scanned every Task, schedule and the webhook for old tokens. None held one.&lt;/p&gt;

&lt;p&gt;One limit we could not get round: the Console's token list shows no created or last-used dates, and there is no audit log. From the Console alone you cannot prove that nothing else used a given token. We can say what we checked, but not what we could not see.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we learned
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Copy cannot recover a rotated token
&lt;/h3&gt;

&lt;p&gt;If you are counting on being able to copy a token out of the Console later, you cannot. Treat a token as something you can only create again. Know which of your jobs would stop if every token vanished tonight, and know how to make each replacement.&lt;/p&gt;

&lt;h3&gt;
  
  
  Rebuild after every variable change
&lt;/h3&gt;

&lt;p&gt;A secret variable reaches a run only through a build made after it was set. After any change to an Actor's variables, rebuild and then check with a run. We now treat "set the variable" and "rebuild the Actor" as one step with two parts, not two separate tasks.&lt;/p&gt;

&lt;h3&gt;
  
  
  One scoped token per job
&lt;/h3&gt;

&lt;p&gt;Give each job its own token, named for the job and the Actor that uses it, and keep a written map of where each one lives. When a rotation arrives, finding what to replace becomes a lookup rather than a hunt. A shared token that feeds six things is the one that costs you an afternoon. Keep the map somewhere that does not depend on any of the tokens working.&lt;/p&gt;

&lt;h3&gt;
  
  
  Fail closed, with a message people can read
&lt;/h3&gt;

&lt;p&gt;When an Actor cannot read its data, it should stop, say so in words a customer understands, and charge nothing. Ours did, and that kept a credential problem on our side from turning into a billing problem on theirs. A bare stack trace or an empty dataset that looks like success would have been worse.&lt;/p&gt;

&lt;h3&gt;
  
  
  Canaries find the affected Actors quickly
&lt;/h3&gt;

&lt;p&gt;A small scheduled run against each public Actor, with an alert on failure, told us within hours which Actors were hit. Without that, we would have learned from customers. If a public Actor has no canary, it is the first thing we would add.&lt;/p&gt;

&lt;h3&gt;
  
  
  Write the list before you need it
&lt;/h3&gt;

&lt;p&gt;Make a list of every place a token is used, before you need it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Actor environment variables&lt;/li&gt;
&lt;li&gt;local stored credentials&lt;/li&gt;
&lt;li&gt;routines and scheduled jobs&lt;/li&gt;
&lt;li&gt;shell variables&lt;/li&gt;
&lt;li&gt;integrations&lt;/li&gt;
&lt;li&gt;webhooks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The ones that are easy to forget are the quiet ones: a webhook-triggered job that runs once a day, or a local step that only runs when you publish. Ours was the daily summary Actor.&lt;/p&gt;

&lt;h3&gt;
  
  
  Test each new token with the smallest possible run
&lt;/h3&gt;

&lt;p&gt;Once a token is in place, prove it with one tiny run and put a spending cap on it. We capped ours at $0.05. A new token that has never been used is a guess, and a capped run is a cheap way to find out.&lt;/p&gt;

&lt;h3&gt;
  
  
  Keep tokens out of chat and logs
&lt;/h3&gt;

&lt;p&gt;We use small scripts that read the token from hidden input, store it, and print only whether it worked. The token never appears in a chat window, a terminal history or a log. That also means we never have to ask anyone, or any tool, to read one back.&lt;/p&gt;

&lt;h2&gt;
  
  
  A checklist to write down now
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] A list of every token and where it is used (Actor variables, local credentials, routines, shell variables, integrations, webhooks)&lt;/li&gt;
&lt;li&gt;[ ] One scoped token per job, named for the job and the Actor&lt;/li&gt;
&lt;li&gt;[ ] A rebuild step after every variable change&lt;/li&gt;
&lt;li&gt;[ ] A canary and failure alert on every public Actor&lt;/li&gt;
&lt;li&gt;[ ] A customer-readable message when data cannot be read, with no charge&lt;/li&gt;
&lt;li&gt;[ ] One capped test run for each new token&lt;/li&gt;
&lt;li&gt;[ ] Hidden-input scripts so tokens never reach chat or logs&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  About us
&lt;/h2&gt;

&lt;p&gt;We publish free weekly UK and Australian shelf-price indices under CC BY 4.0 at &lt;a href="https://data.yappman.com" rel="noopener noreferrer"&gt;data.yappman.com&lt;/a&gt;, and our Actors are on the Apify Store at &lt;a href="https://apify.com/yappman" rel="noopener noreferrer"&gt;apify.com/yappman&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>webscraping</category>
      <category>devops</category>
      <category>security</category>
    </item>
    <item>
      <title>Track a fixed shopping basket weekly: a saved Task, a schedule and a Sheet</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Wed, 11 Nov 2026 09:16:55 +0000</pubDate>
      <link>https://dev.to/yappman/track-a-fixed-shopping-basket-weekly-a-saved-task-a-schedule-and-a-sheet-45p7</link>
      <guid>https://dev.to/yappman/track-a-fixed-shopping-basket-weekly-a-saved-task-a-schedule-and-a-sheet-45p7</guid>
      <description>&lt;p&gt;If you want to watch the same shopping basket week after week, you need three things: a fixed list of products, something that reads their prices on a timer, and somewhere to look at the result. This post shows one way to do all three with an Apify Actor I publish, and a Google Sheet. It also says what each part costs and where it stops.&lt;/p&gt;

&lt;p&gt;The prices below are shelf prices as shown on the shops' websites when the run reads them. They are not a promise of the price in a store.&lt;/p&gt;

&lt;p&gt;The Actor is &lt;strong&gt;UK Grocery Prices: Tesco, Sainsbury's, Asda, Aldi, Morrisons&lt;/strong&gt;, published by Yappman Data: &lt;a href="https://apify.com/yappman/uk-supermarket-price-scraper" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-supermarket-price-scraper&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An example of a saved Task for it, searching baked beans at all five shops, is here: &lt;a href="https://apify.com/yappman/uk-supermarket-price-scraper/examples/uk-baked-beans-five-shops" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-supermarket-price-scraper/examples/uk-baked-beans-five-shops&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 1: the list, as a Task
&lt;/h2&gt;

&lt;p&gt;The Actor has a &lt;code&gt;product&lt;/code&gt; mode. You give it product page links and it returns one row per product. The shop is worked out from each link, so you do not set the shop list. Here is the shape, using three product pages from the Actor's README:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"productUrls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"https://www.tesco.com/shop/en-GB/products/257265436"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"https://www.sainsburys.co.uk/groceries/product/cathedral-city-mature-cheddar-cheese-350g"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"https://www.aldi.co.uk/product/cowbelle-chocolate-milk-000000000000543221"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"outputDataset"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"my-weekly-basket"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use real links, copied from the shop's site. For your own basket, replace the three links with your list and set &lt;code&gt;maxItems&lt;/code&gt; to the number of links. If you leave &lt;code&gt;maxItems&lt;/code&gt; out and call the Actor through the API, a run stops at 100 rows. The Console form starts at 10.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;outputDataset&lt;/code&gt; is an optional field. It adds every row to a dataset with that name in your account, so each run builds on the last one. Use letters, digits and hyphens only, and start with a letter or digit.&lt;/p&gt;

&lt;p&gt;In the Console, save this input as a Task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 2: the schedule
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the Task, then Schedules, and add a schedule.&lt;/li&gt;
&lt;li&gt;Pick a time. For Monday at 6am, the cron expression is &lt;code&gt;0 6 * * 1&lt;/code&gt;, with the time zone &lt;code&gt;Europe/London&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Enable it. A new schedule starts disabled.&lt;/li&gt;
&lt;li&gt;In the Task's run options, set a maximum cost per run a little above what the run should cost.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What a run costs
&lt;/h2&gt;

&lt;p&gt;The Actor charges $0.005 for each run and $0.0025 for each product row saved. Those are Free plan prices. Higher Apify plans pay less per product.&lt;/p&gt;

&lt;p&gt;For the three-link test above, that is at most $0.0125. For a 20-product basket it is at most $0.055 a run. A product that cannot be read saves no row and is not charged. Rows added to your own named dataset are not charged a second time.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;maxItems&lt;/code&gt; is a hard cap on rows. Together with the maximum cost per run setting, it means a scheduled job cannot run away on you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 3: the Sheet
&lt;/h2&gt;

&lt;p&gt;Reading your own dataset into a Sheet needs your Apify token, and I have not tested that route, so I will not show it here. To show the Sheet pattern without a token, I use a public dataset I also publish: a fixed basket of 212 staple products, up to three per shop for each of 20 staples, at Tesco, Sainsbury's, Asda and Aldi. It is intended to be added to daily since 24 September 2026, and it needs no account or token.&lt;/p&gt;

&lt;p&gt;I tested these steps on 9 November 2026.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make a new Google Sheet. Rename the first tab &lt;code&gt;Raw&lt;/code&gt;. The tab name matters, because the formulas below refer to it.&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;Raw!A1&lt;/code&gt;, paste this on one line:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;=IMPORTDATA("https://api.apify.com/v2/datasets/ynAT9NPps2EdjMOJa/items?format=csv&amp;amp;clean=true&amp;amp;desc=true&amp;amp;limit=1000&amp;amp;fields=retailer,retailerProductId,name,packSize,price,loyaltyPrice,inStock,scrapedAt")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;The cell shows &lt;code&gt;#REF!&lt;/code&gt; with a yellow banner about allowing access to external data. The owner of the Sheet clicks &lt;strong&gt;Allow access&lt;/strong&gt; once. Then the rows load, newest first.&lt;/li&gt;
&lt;li&gt;Add a second tab called &lt;code&gt;Summary&lt;/code&gt;. In &lt;code&gt;Summary!A1&lt;/code&gt;, paste:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;=LEFT(INDEX(Raw!H2:H,1),10)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That gives the date of the newest row.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;In &lt;code&gt;Summary!A3&lt;/code&gt;, paste:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight datastudio"&gt;&lt;code&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;QUERY&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nc"&gt;Raw&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="no"&gt;A2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;A&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Raw&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="no"&gt;E2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;E&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;ARRAYFORMULA&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;LEFT&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Raw&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="no"&gt;H2&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="no"&gt;H&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"select Col1, count(Col2), avg(Col2) where Col3 = '"&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="no"&gt;A1&lt;/span&gt;&lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="s2"&gt;"' and Col2 is not null group by Col1 label count(Col2) 'Items', avg(Col2) 'Average price'"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In my test the date cell showed 2026-11-09. The table had one row for each of the four shops, with item counts of 46 (Aldi), 48 (Asda), 59 (Sainsbury's) and 58 (Tesco), 211 items in all. The list has 212 products, so the count can be one lower when a product has no price that day.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keeping a history
&lt;/h2&gt;

&lt;p&gt;The Sheet only shows what is in the public dataset's latest rows. To keep your own weekly record, add a &lt;code&gt;History&lt;/code&gt; tab. Once a week, copy the &lt;code&gt;Summary&lt;/code&gt; rows and paste them as values below the last row. A chart on &lt;code&gt;History&lt;/code&gt; then shows the trend.&lt;/p&gt;

&lt;p&gt;If you use your own Task from Parts 1 and 2 as the data source, the named dataset already holds every run, so the history lives in the dataset instead of in the Sheet. You read it from &lt;code&gt;https://api.apify.com/v2/datasets/&amp;lt;your-apify-username&amp;gt;~my-weekly-basket/items&lt;/code&gt; with your Apify token. Keep the token out of anything you share.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reading the numbers
&lt;/h2&gt;

&lt;p&gt;The averages in the Summary tab are averages over a fixed list. They are not an inflation measure. Each shop has a different number of items in the list, as the counts show, so do not compare shops on the averages alone. To compare, look at the same product at each shop, joined on the barcode (&lt;code&gt;ean&lt;/code&gt;) where the shop publishes one, or on &lt;code&gt;matchKey&lt;/code&gt; where it does not.&lt;/p&gt;

&lt;p&gt;Some fields are empty by design. Aldi publishes no barcode and no stock level, so &lt;code&gt;inStock&lt;/code&gt; is always &lt;code&gt;null&lt;/code&gt; for Aldi rows.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the data
&lt;/h2&gt;

&lt;p&gt;The public basket dataset is free to use and cite under CC BY 4.0. Credit it as: Source: Yappman Data, UK Supermarket Prices: Daily 212-Item Basket, CC BY 4.0.&lt;/p&gt;

&lt;p&gt;For rows from your own runs, a different rule applies. If you pay to run the Actor you may show the prices in your own app and keep a copy for up to about a week, as long as you show when the prices were read; you may not resell or pass the data on in bulk; the shops' own content is not ours, and their own terms apply to it. Product images, descriptions and ingredient text belong to the shops, and I do not license them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A run returns the prices a shop shows on its website when the run reads them. It does not log in, and it does not read baskets or accounts.&lt;/li&gt;
&lt;li&gt;Tesco and Sainsbury's are read with no store chosen. Asda and Aldi use one fixed store or service point, so prices in other stores may differ.&lt;/li&gt;
&lt;li&gt;A run does not compare itself with earlier runs. The history comes from the dataset you keep.&lt;/li&gt;
&lt;li&gt;The Sheet recipe depends on the public dataset staying readable without a token and on the &lt;code&gt;Raw&lt;/code&gt; tab name. If the formula shows an error, open the dataset address in a browser to see what it returns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Get the Actor: &lt;a href="https://apify.com/yappman/uk-supermarket-price-scraper?fpr=wy5pu7" rel="noopener noreferrer"&gt;UK Supermarket Price Scraper on the Apify Store&lt;/a&gt;. Some links to Apify are affiliate links: if you sign up through them we may earn a commission.&lt;/p&gt;

&lt;p&gt;This is an independent tool. It is not affiliated with or endorsed by Tesco, Sainsbury's, Asda, Aldi or Morrisons.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>uk</category>
      <category>googlesheets</category>
      <category>webscraping</category>
    </item>
    <item>
      <title>How to get Morrisons prices as rows, and match them without barcodes</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Tue, 10 Nov 2026 09:15:24 +0000</pubDate>
      <link>https://dev.to/yappman/how-to-get-morrisons-prices-as-rows-and-match-them-without-barcodes-36bo</link>
      <guid>https://dev.to/yappman/how-to-get-morrisons-prices-as-rows-and-match-them-without-barcodes-36bo</guid>
      <description>&lt;p&gt;Morrisons publishes no barcode on its website. That is the main thing to know if you want to compare its products with other shops. Most price data is joined on the barcode (the EAN). Without one you need another way to say that two rows are the same product.&lt;/p&gt;

&lt;p&gt;This post shows how to get Morrisons prices as rows with an Apify Actor I publish, and how the Actor's match fields work. It says how well the matching has been checked, and where it is weak.&lt;/p&gt;

&lt;p&gt;Everything below is shelf prices as shown on the shops' websites when the run reads them. They are not a promise of the price in a store.&lt;/p&gt;

&lt;p&gt;The Actor is &lt;strong&gt;UK Grocery Prices: Tesco, Sainsbury's, Asda, Aldi, Morrisons&lt;/strong&gt;, published by Yappman Data: &lt;a href="https://apify.com/yappman/uk-supermarket-price-scraper" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-supermarket-price-scraper&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Morrisons became one of its default shops on 9 November 2026, in version 0.2.32. A run with no shop list now reads all five shops.&lt;/p&gt;

&lt;p&gt;An example Task that searches baked beans at all five, Morrisons included, is here: &lt;a href="https://apify.com/yappman/uk-supermarket-price-scraper/examples/uk-baked-beans-five-shops" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-supermarket-price-scraper/examples/uk-baked-beans-five-shops&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Get Morrisons rows
&lt;/h2&gt;

&lt;p&gt;Start with a small run. This input searches one product at Morrisons and Tesco and saves at most 20 rows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"queries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"baked beans"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"retailers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"morrisons"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"tesco"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You get one row per product. The fields that matter for Morrisons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;price&lt;/code&gt;: the current shelf price in pounds.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;loyaltyPrice&lt;/code&gt;: the More Card price, when there is one. &lt;code&gt;price&lt;/code&gt; stays the price any shopper pays.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;wasPrice&lt;/code&gt; and &lt;code&gt;promotionText&lt;/code&gt;: other reductions and offers, such as &lt;code&gt;Buy 2 for £4&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;packSize&lt;/code&gt; and &lt;code&gt;unitPrice&lt;/code&gt;: the pack size and the price per litre, kilo or each.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;inStock&lt;/code&gt;: Morrisons' own availability flag.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;url&lt;/code&gt;: the product page.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;scrapedAt&lt;/code&gt;: when the row was read.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Items sold by weight, such as loose fruit and meat, are priced for their typical weight. &lt;code&gt;packSize&lt;/code&gt; shows it, for example &lt;code&gt;0.25kg&lt;/code&gt;, and the per-kilo figure is in &lt;code&gt;unitPrice&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;The Actor charges $0.005 for each run and $0.0025 for each product row saved. Those are Free plan prices. Higher Apify plans pay less per product.&lt;/p&gt;

&lt;p&gt;The input above costs at most $0.055 ($0.005 plus 20 rows). A 20-row test run across all five shops on 9 November 2026 cost exactly that. A default run, which searches &lt;code&gt;milk&lt;/code&gt; at all five shops and saves up to 100 rows, costs at most $0.255.&lt;/p&gt;

&lt;p&gt;Set &lt;code&gt;maxItems&lt;/code&gt; every time. The Actor also has a &lt;code&gt;catalogue&lt;/code&gt; mode that reads the whole Morrisons category tree. A check run on 29 September 2026 returned about 26,000 rows, which would cost about $66 on the Free plan. That is why I keep &lt;code&gt;maxItems&lt;/code&gt; small until the first rows look right.&lt;/p&gt;

&lt;h2&gt;
  
  
  What no barcode means
&lt;/h2&gt;

&lt;p&gt;For Tesco, Sainsbury's and Asda, &lt;code&gt;ean&lt;/code&gt; is filled on nearly every row. For Morrisons it is an empty array on every row. So you cannot join Morrisons to another shop on &lt;code&gt;ean&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The Actor gives you three fields for this instead:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;matchKey&lt;/code&gt;: a normalised version of brand, name and pack size.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;matchBasis&lt;/code&gt;: which parts went into the key. The values are &lt;code&gt;brand-name-size&lt;/code&gt;, &lt;code&gt;name-size&lt;/code&gt;, &lt;code&gt;brand-name&lt;/code&gt; and &lt;code&gt;name&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;matchConfidence&lt;/code&gt;: a number from 0 to 1.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is a row from the README, a Sainsbury's one, trimmed to the main match fields:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"retailer"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sainsburys"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Sainsbury's British Semi Skimmed Milk 2.27L (4 pint)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"packSize"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.27L"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"matchKey"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sainsburys british semi skimmed milk 2.27l 4 pint 4pt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"matchBasis"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"brand-name-size"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"matchConfidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.97&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;matchConfidence&lt;/code&gt; is not a score for the row. It is a fixed value for each &lt;code&gt;matchBasis&lt;/code&gt;. In the sample above, 0.97 is the value for &lt;code&gt;brand-name-size&lt;/code&gt;. The &lt;code&gt;name&lt;/code&gt; basis, at 0.50, is an assumed value, not a measured one.&lt;/p&gt;

&lt;h2&gt;
  
  
  How well it has been checked
&lt;/h2&gt;

&lt;p&gt;I checked &lt;code&gt;matchKey&lt;/code&gt; against barcodes on the 4 October 2026 weekly snapshot. Among the pairs of products at different shops that shared a &lt;code&gt;matchKey&lt;/code&gt; and could be checked against a barcode, 97.6% were the same product (4,124 of 4,225).&lt;/p&gt;

&lt;p&gt;Two limits on that figure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It was measured on Tesco, Sainsbury's and Asda rows, the shops that publish a barcode. Morrisons rows use the same per-basis values, but they are unmeasured, because there is no barcode to check against.&lt;/li&gt;
&lt;li&gt;It only counts pairs that the key found. &lt;code&gt;matchKey&lt;/code&gt; joins products that are named the same way, so it finds only some of the pairs a barcode would. Shops word the same product differently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two products that differ only in something the name leaves out, such as a scent or a flavour, can share a &lt;code&gt;matchKey&lt;/code&gt;. &lt;code&gt;matchConfidence&lt;/code&gt; does not account for that. Before you rely on a name-only join, check &lt;code&gt;unitPrice&lt;/code&gt; and &lt;code&gt;packSize&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Match in a few lines
&lt;/h2&gt;

&lt;p&gt;This joins a run's rows on &lt;code&gt;matchKey&lt;/code&gt; and keeps the pairs where one row is Morrisons. It reads a JSON file of rows downloaded from the run.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;defaultdict&lt;/span&gt;

&lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"rows.json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;encoding&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"utf-8"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;rows&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;by_key&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;defaultdict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"matchKey"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;by_key&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"matchKey"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;group&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;by_key&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;shops&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"retailer"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="s2"&gt;"morrisons"&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;shops&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;shops&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;group&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;unit&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"unitPrice"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
            &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"retailer"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"brand"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"packSize"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                  &lt;span class="n"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"value"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;unit&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"measure"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"price"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Some shops leave the brand out of the product name, so the snippet prints &lt;code&gt;brand&lt;/code&gt; too.&lt;/p&gt;

&lt;p&gt;Read the printed pairs before you trust them. Look at &lt;code&gt;packSize&lt;/code&gt; and &lt;code&gt;unitPrice&lt;/code&gt; first. If two rows have the same key but different pack sizes, one of them is wrong for your purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that catch people out
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Two ids for one item.&lt;/strong&gt; Morrisons sometimes lists the same item twice, under two product ids with slightly different names, for example "British Semi Skimmed Milk 2 Pint" and "... 2 Pints". Both are returned and both are charged. Since 4 November 2026 the &lt;code&gt;matchKey&lt;/code&gt; treats unit words as singular, so these two give the same key. Check for duplicates before you count products.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The key changed on 4 November 2026.&lt;/strong&gt; If you join older rows to newer ones, join on &lt;code&gt;matchKeyV1&lt;/code&gt;, which carries the key as it was built before. It is on every row for one release and is then removed, with a notice. Older rows, including the earlier rows of my free daily dataset, have the old key in &lt;code&gt;matchKey&lt;/code&gt; and no &lt;code&gt;matchKeyV1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;50 products per page.&lt;/strong&gt; A Morrisons listing page carries data for only its first 50 products. Search returns at most 50 products per query. In category mode the run summary has a &lt;code&gt;listingShortfall&lt;/code&gt; count of the products that were not reached.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Aldi.&lt;/strong&gt; Aldi also publishes no barcode and sells mostly its own labels. In the 4 October snapshot no Aldi &lt;code&gt;matchKey&lt;/code&gt; equalled another shop's. For Aldi, compare by &lt;code&gt;unitPrice&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Using the data
&lt;/h2&gt;

&lt;p&gt;If you pay to run the Actor you may show the prices in your own app and keep a copy for up to about a week, as long as you show when the prices were read; you may not resell or pass the data on in bulk; the shops' own content is not ours, and their own terms apply to it. Product images, descriptions and ingredient text belong to the shops, and I do not license them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The Actor reads what Morrisons shows on its groceries website. It does not log in, and it does not read baskets, accounts or delivery slots.&lt;/li&gt;
&lt;li&gt;A run returns that day's prices. It does not compare them with earlier runs.&lt;/li&gt;
&lt;li&gt;The Actor's basket route on the Standby URL is separate, and it does not cover Morrisons.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Get the Actor: &lt;a href="https://apify.com/yappman/uk-supermarket-price-scraper?fpr=wy5pu7" rel="noopener noreferrer"&gt;UK Supermarket Price Scraper on the Apify Store&lt;/a&gt;. Some links to Apify are affiliate links: if you sign up through them we may earn a commission.&lt;/p&gt;

&lt;p&gt;This is an independent tool. It is not affiliated with or endorsed by Morrisons, Tesco, Sainsbury's, Asda or Aldi.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>uk</category>
      <category>webscraping</category>
      <category>python</category>
    </item>
    <item>
      <title>Upcoming UK public tenders from the public pipeline</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Mon, 09 Nov 2026 14:11:14 +0000</pubDate>
      <link>https://dev.to/yappman/upcoming-uk-public-tenders-from-the-public-pipeline-3o9m</link>
      <guid>https://dev.to/yappman/upcoming-uk-public-tenders-from-the-public-pipeline-3o9m</guid>
      <description>&lt;p&gt;Public sector buyers in the UK often announce what they plan to buy before they publish the tender. If you sell to them, the useful list is the one that tells you what is coming, sorted by when. The notices are public, but they sit on separate services with different formats. This post shows a ready-made way to read them as rows with an Apify Actor I publish, and what it costs.&lt;/p&gt;

&lt;p&gt;The Actor is &lt;strong&gt;UK Tenders Scraper: Contracts Finder &amp;amp; Find a Tender Notices&lt;/strong&gt; (README heading: UK Public Contracts Lookup), published by Yappman Data: &lt;a href="https://apify.com/yappman/contracts-lookup" rel="noopener noreferrer"&gt;https://apify.com/yappman/contracts-lookup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The example Task is &lt;strong&gt;Upcoming UK public tenders: pipeline and planned notices&lt;/strong&gt;: &lt;a href="https://apify.com/yappman/contracts-lookup/examples/upcoming-uk-public-tenders" rel="noopener noreferrer"&gt;https://apify.com/yappman/contracts-lookup/examples/upcoming-uk-public-tenders&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Task does
&lt;/h2&gt;

&lt;p&gt;It runs the Actor in &lt;code&gt;pipeline&lt;/code&gt; mode. That returns planning notices, sorted by when the buyer expects to publish its next notice, soonest first. On Find a Tender these are the Procurement Act pipeline, preliminary market engagement and planned procurement notices, plus prior information notices on the older forms. On Contracts Finder it is that service's planning notices. Notices that state no expected date come after the dated ones.&lt;/p&gt;

&lt;p&gt;The saved input is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"pipeline"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run options are the latest build, 512 MB and a 600 second timeout, with a maximum cost per run of $0.15.&lt;/p&gt;

&lt;p&gt;I did not save an expected date range in the Task, because a fixed date goes stale. You add your own.&lt;/p&gt;

&lt;h2&gt;
  
  
  Narrowing it to the months you can bid in
&lt;/h2&gt;

&lt;p&gt;The Task page offers the input fields &lt;code&gt;expectedFrom&lt;/code&gt;, &lt;code&gt;expectedTo&lt;/code&gt;, &lt;code&gt;cpvCodes&lt;/code&gt;, &lt;code&gt;regions&lt;/code&gt; and &lt;code&gt;keywords&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;expectedFrom&lt;/code&gt; and &lt;code&gt;expectedTo&lt;/code&gt; (YYYY-MM-DD, inclusive) keep notices whose expected date falls in those days, in UK time. Notices that state no expected date are then left out.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cpvCodes&lt;/code&gt; takes prefixes. &lt;code&gt;72&lt;/code&gt; matches all of division 72 (IT services); a longer code matches itself and the codes beneath it.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;regions&lt;/code&gt; takes the 12 UK regions plus &lt;code&gt;Outside UK&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;keywords&lt;/code&gt; matches whole words in the title and description. The description is matched but never returned.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An example for IT work expected between November and January:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"pipeline"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"cpvCodes"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"72"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"lastDays"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;92&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"expectedFrom"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2026-11-01"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"expectedTo"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2027-01-31"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;lastDays: 92&lt;/code&gt; is the widest publication window.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open tenders by sector
&lt;/h2&gt;

&lt;p&gt;Pipeline notices are what is coming. If you want what is open for bids now, I also published sector Tasks. They run a search for tender-stage notices from the last 7 days with &lt;code&gt;maxItems&lt;/code&gt; 20:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open UK construction tenders (last 7 days)&lt;/strong&gt;, CPV division 45: &lt;a href="https://apify.com/yappman/contracts-lookup/examples/uk-construction-tenders" rel="noopener noreferrer"&gt;https://apify.com/yappman/contracts-lookup/examples/uk-construction-tenders&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open UK health and social care tenders (last 7 days)&lt;/strong&gt;, CPV division 85: &lt;a href="https://apify.com/yappman/contracts-lookup/examples/uk-health-social-care-tenders" rel="noopener noreferrer"&gt;https://apify.com/yappman/contracts-lookup/examples/uk-health-social-care-tenders&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IT and software tenders in the last 30 days (CPV 72)&lt;/strong&gt;, a search for tender-stage notices on both services with &lt;code&gt;maxItems&lt;/code&gt; 20: &lt;a href="https://apify.com/yappman/contracts-lookup/examples/uk-it-and-software-tenders" rel="noopener noreferrer"&gt;https://apify.com/yappman/contracts-lookup/examples/uk-it-and-software-tenders&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because the window is relative ("last 7 days"), a saved Task does not go stale. You can change the CPV codes, add keywords or regions, or switch to alert mode.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a row holds
&lt;/h2&gt;

&lt;p&gt;One fixed row per notice: source (Find a Tender, Contracts Finder or, if you choose it, Public Contracts Scotland), notice id, title, buyer, value and currency, CPV codes, regions, stage, publication time, deadline and a link to the notice. Pipeline rows also carry &lt;code&gt;noticeType&lt;/code&gt; and &lt;code&gt;futureNoticeDate&lt;/code&gt;, the date the buyer expects to publish its next notice, as the notice states it.&lt;/p&gt;

&lt;p&gt;The rows hold no supplier field and no contact details. Titles have email addresses and UK phone numbers replaced with &lt;code&gt;[redacted]&lt;/code&gt;. That works by pattern, so a name written some other way in a title is not caught.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;Pay per event. A run is $0.005 and each notice returned is $0.005 on the Free plan, falling to $0.003 on Gold and above. A default 20 row run costs up to $0.105. A run refused before anything is read (invalid input, or a window over 92 days) is not charged. A run that reads data and finds nothing still pays the $0.005 run fee.&lt;/p&gt;

&lt;p&gt;Use &lt;code&gt;maxItems&lt;/code&gt; and Apify's maximum cost per run setting to cap spend.&lt;/p&gt;

&lt;p&gt;How long it takes: a default run usually takes a minute or two. Requests to the services' APIs are paced at one every 15 seconds, and a run is capped at 12 of them, so expect minutes, not seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting only new notices every morning
&lt;/h2&gt;

&lt;p&gt;Each sector Task can be turned into a daily feed:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the Task and change &lt;code&gt;mode&lt;/code&gt; to &lt;code&gt;alert&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Give it an &lt;code&gt;alertId&lt;/code&gt; of your choice, for example &lt;code&gt;it-tenders&lt;/code&gt;, and keep your CPV codes.&lt;/li&gt;
&lt;li&gt;Add a schedule in the Console (Schedules, then create one, daily).&lt;/li&gt;
&lt;li&gt;Keep &lt;code&gt;maxItems&lt;/code&gt; set so a busy day stays capped.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Each run looks at the last 14 days of notices and returns only those not sent to that &lt;code&gt;alertId&lt;/code&gt; before. The Actor sends no email or message itself, so use Apify's own notifications or an integration for delivery. State is kept in a key-value store named &lt;code&gt;contracts-alert-&amp;lt;alertId&amp;gt;&lt;/code&gt; in your own account. A daily alert returning about 20 new notices costs about $0.105 a run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The expected date is the buyer's estimate as published. It can move or pass without a tender.&lt;/li&gt;
&lt;li&gt;Only notices published inside your publication window are read, so a pipeline notice published four months ago is not found. The window is 31 days by default and 92 at most.&lt;/li&gt;
&lt;li&gt;Both services are read from their daily files over your whole window, with today taken from their APIs. A run is capped at 12 API requests, so if a day's file is missing the run still finishes, and the run summary names the days it did not cover.&lt;/li&gt;
&lt;li&gt;A procurement published on two services is two notices and two charges. A &lt;code&gt;reconcileKey&lt;/code&gt; on the row helps you join them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Licence
&lt;/h2&gt;

&lt;p&gt;Contains public sector information licensed under the Open Government Licence v3.0.&lt;/p&gt;

&lt;p&gt;This is an independent tool. Not affiliated with or endorsed by the operators of Find a Tender, Contracts Finder or Public Contracts Scotland.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>uk</category>
      <category>api</category>
      <category>opendata</category>
    </item>
    <item>
      <title>Rental yield by outcode from current asking prices</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Mon, 09 Nov 2026 08:12:53 +0000</pubDate>
      <link>https://dev.to/yappman/rental-yield-by-outcode-from-current-asking-prices-m4</link>
      <guid>https://dev.to/yappman/rental-yield-by-outcode-from-current-asking-prices-m4</guid>
      <description>&lt;p&gt;If you want a quick read on rental yield for a UK outcode, you can build it from two things that are already public: what homes are advertised for sale, and what similar homes are advertised to rent. This post shows a ready-made way to do that with an Apify Actor I publish, what it returned for one outcode, and what it costs.&lt;/p&gt;

&lt;p&gt;Everything below is asking prices: advertised figures, not advice. They are not sold prices and not achieved rents.&lt;/p&gt;

&lt;p&gt;The Actor is &lt;strong&gt;Rightmove Scraper: UK Property Listings, Sold Prices, Yield&lt;/strong&gt;, published by Yappman Data: &lt;a href="https://apify.com/yappman/uk-property-listings" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-property-listings&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The example Task is &lt;strong&gt;Rental yield for one outcode (LS6)&lt;/strong&gt;: &lt;a href="https://apify.com/yappman/uk-property-listings/examples/rental-yield-for-an-outcode" rel="noopener noreferrer"&gt;https://apify.com/yappman/uk-property-listings/examples/rental-yield-for-an-outcode&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What the Task does
&lt;/h2&gt;

&lt;p&gt;It searches LS6 on Rightmove for sale and then to rent, 200 listings in all. It then saves a free SUMMARY record in the run's key-value store: median asking rent per month, median asking price and gross asking yield, by number of bedrooms. To use your own outcode, change LS6.&lt;/p&gt;

&lt;p&gt;The input is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rentalYield"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"locations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"LS6"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"portals"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rightmove"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run options are the latest build, 1,024 MB and a 600 second timeout. The run I describe below took 37.7 seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it returned
&lt;/h2&gt;

&lt;p&gt;On 5 Nov 2026 I ran the Task once. It returned 200 listing rows. 192 were used for the summary and 8 were left out because of their property type. Gross asking yield by bedrooms, with the number of advertised rents and advertised sales behind each figure:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Bedrooms&lt;/th&gt;
&lt;th&gt;Gross asking yield&lt;/th&gt;
&lt;th&gt;Rents&lt;/th&gt;
&lt;th&gt;Sales&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;5.4%&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;5.6%&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;7.5%&lt;/td&gt;
&lt;td&gt;18&lt;/td&gt;
&lt;td&gt;28&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5 or more&lt;/td&gt;
&lt;td&gt;11.3%&lt;/td&gt;
&lt;td&gt;61&lt;/td&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Rows too thin to show were suppressed, including 1-bed in LS6. These are advertised asking figures from one day, not advice.&lt;/p&gt;

&lt;p&gt;Read it with the counts beside it. The 2-bed row rests on 6 rents and 5 sales, so I would not lean on it. The yield rises with bedroom count in this run, and I have not looked into why.&lt;/p&gt;

&lt;h2&gt;
  
  
  What "gross asking yield" means here
&lt;/h2&gt;

&lt;p&gt;Gross means no costs are taken off: nothing for management, repairs, voids or tax. Asking means both sides come from adverts. A landlord may accept less than the advertised rent and a seller may accept less than the asking price. Neither figure is a sale or a signed tenancy. The yield figures are gross asking yields from one day's listings, and nothing here is investment advice.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;Pay per event. At Free plan prices a listing is $0.00125 and the run start is $0.005, so 200 listings come to about $0.26 a run. The SUMMARY record itself is free. Paid Apify plans pay less per listing. A run that returns nothing, for example a blocked one, is not charged.&lt;/p&gt;

&lt;p&gt;The three test Tasks I ran on 5 Nov used under a cent of platform usage in total.&lt;/p&gt;

&lt;p&gt;Use Apify's maximum charge per run setting if you want a hard ceiling on any run.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to run it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Replace &lt;code&gt;LS6&lt;/code&gt; in &lt;code&gt;locations&lt;/code&gt; with your outcode.&lt;/li&gt;
&lt;li&gt;Start the run, then open the run's key-value store and read the SUMMARY record.&lt;/li&gt;
&lt;li&gt;To track change, add the Task to a schedule: in the Console open Schedules, add the task and pick a time.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The same Actor does the underlying search directly if you want the 200 rows rather than the summary. Each row has the price, address, bedrooms, property type, agent as a business and the listing URL.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One portal by default: Rightmove. The Task uses Rightmove only.&lt;/li&gt;
&lt;li&gt;A run returns at most 1,000 rows, and a Rightmove search ends at about 1,000 results.&lt;/li&gt;
&lt;li&gt;Medians over a handful of listings are weak. The counts are there so you can judge.&lt;/li&gt;
&lt;li&gt;Listings can be let or sold after your run. Each row carries a &lt;code&gt;scrapedAt&lt;/code&gt; time.&lt;/li&gt;
&lt;li&gt;Data-quality figures for our data are published on data.yappman.com.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is an independent tool. Not affiliated with or endorsed by Rightmove, Zoopla or OnTheMarket.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>uk</category>
      <category>api</category>
      <category>webscraping</category>
    </item>
    <item>
      <title>Aldi Australia: a weekly price feed that returns only what changed</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Fri, 06 Nov 2026 11:26:50 +0000</pubDate>
      <link>https://dev.to/yappman/aldi-australia-a-weekly-price-feed-that-returns-only-what-changed-325m</link>
      <guid>https://dev.to/yappman/aldi-australia-a-weekly-price-feed-that-returns-only-what-changed-325m</guid>
      <description>&lt;p&gt;If you want Australian supermarket prices as rows, the awkward part is not the first read. It is the second one: next week you do not want 60 products again, you want the ones that moved. This post shows a ready-made way to get that for Aldi Australia with an Apify Actor I publish, and what it costs.&lt;/p&gt;

&lt;p&gt;One limit up front. Coles and Woolworths are not available at the moment. The Actor reads Aldi Australia only, so everything below is Aldi. I am not describing any Coles or Woolworths feed because there is not one to describe right now.&lt;/p&gt;

&lt;p&gt;The Actor is &lt;strong&gt;Aldi Australia Price Scraper &amp;amp; Tracker: Special Buys&lt;/strong&gt;, published by Yappman Data: &lt;a href="https://apify.com/yappman/au-supermarket-price-scraper" rel="noopener noreferrer"&gt;https://apify.com/yappman/au-supermarket-price-scraper&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The four example Tasks
&lt;/h2&gt;

&lt;p&gt;An Apify Task is a saved set of inputs for an Actor. I published four for Aldi Australia, each with its own page:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Aldi milk price changes, weekly watch&lt;/strong&gt;: &lt;a href="https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-milk-price-changes-weekly-watch" rel="noopener noreferrer"&gt;https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-milk-price-changes-weekly-watch&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Aldi staples: weekly price changes&lt;/strong&gt;: &lt;a href="https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-staples-weekly-price-changes" rel="noopener noreferrer"&gt;https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-staples-weekly-price-changes&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Aldi Special Buys: new products each week&lt;/strong&gt;: &lt;a href="https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-special-buys-new-products-weekly" rel="noopener noreferrer"&gt;https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-special-buys-new-products-weekly&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Aldi whole range, all 14 departments&lt;/strong&gt;: &lt;a href="https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-whole-range-all-14-departments" rel="noopener noreferrer"&gt;https://apify.com/yappman/au-supermarket-price-scraper/examples/aldi-whole-range-all-14-departments&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The milk, staples and Special Buys Tasks use watch mode. The whole-range Task is a plain read.&lt;/p&gt;

&lt;p&gt;As of Actor version 0.1.20 you can read the whole range with one input instead of pasting department URLs. Set &lt;code&gt;fullRange&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; in category mode, leave &lt;code&gt;categoryUrls&lt;/code&gt; empty, and the Actor reads every department of Aldi Australia's online range in a fixed order:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"fullRange"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;maxItems&lt;/code&gt; still caps what is returned and charged. The default is 60, which fills mostly or entirely from the first department or two, so raise &lt;code&gt;maxItems&lt;/code&gt; if you want a spread across the range. The run summary shows &lt;code&gt;fullRange: true&lt;/code&gt;. It works with a watch too. Prices and the other inputs are unchanged.&lt;/p&gt;

&lt;h2&gt;
  
  
  How watch mode works
&lt;/h2&gt;

&lt;p&gt;Give a run a &lt;code&gt;watchId&lt;/code&gt; and it becomes a watch. The first run is a baseline: it returns the products in scope. Each later run with the same &lt;code&gt;watchId&lt;/code&gt; and the same search returns only products that are new to the watch or whose price changed. Rows carry a &lt;code&gt;watchEvent&lt;/code&gt; field (&lt;code&gt;baseline&lt;/code&gt;, &lt;code&gt;added&lt;/code&gt; or &lt;code&gt;changed&lt;/code&gt;) and, for changes, the old price and the move as a percentage.&lt;/p&gt;

&lt;p&gt;The milk watch input is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"search"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"retailers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"aldi_au"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"queries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"full cream milk"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"maxItems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"watchId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"milk-weekly"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The watch keeps its memory in a key-value store named &lt;code&gt;grocery-watch-&amp;lt;watchId&amp;gt;&lt;/code&gt; in your own Apify account, so your baseline is yours and nobody else's runs affect it. Delete that store and the next run is a first run again.&lt;/p&gt;

&lt;p&gt;There is also &lt;code&gt;minMovePct&lt;/code&gt;, which ignores price moves under a percentage. Small moves add up and are reported once they reach it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What each Task costs
&lt;/h2&gt;

&lt;p&gt;Pay per event. On the Free plan a product is $0.0015 and the run start is $0.005. Paid Apify plans pay less per product.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;First run&lt;/th&gt;
&lt;th&gt;Later runs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Milk watch&lt;/td&gt;
&lt;td&gt;up to about $0.095 (60 x $0.0015 + $0.005)&lt;/td&gt;
&lt;td&gt;$0.005 start fee plus any changed rows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Staples watch&lt;/td&gt;
&lt;td&gt;up to about $0.91 (600 x $0.0015 + $0.005)&lt;/td&gt;
&lt;td&gt;$0.005 start fee plus any changed rows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Special Buys&lt;/td&gt;
&lt;td&gt;at most about $0.46 (300 products); about $0.34 for the 224 listed on 5 Nov&lt;/td&gt;
&lt;td&gt;$0.005 start fee plus any new or changed rows&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Whole range&lt;/td&gt;
&lt;td&gt;500 products about $0.76&lt;/td&gt;
&lt;td&gt;on demand, no watch&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The whole range is about 2,600 products when last counted, which comes to about $4 on the Free plan ($0.0015 per product plus the $0.005 start fee). The Task is set to 500 on purpose, so one click costs about $0.76. Change Max items if you want more.&lt;/p&gt;

&lt;p&gt;A run that returns nothing costs only the start fee. If no Special Buys drop is listed, that Task returns no rows.&lt;/p&gt;

&lt;p&gt;Use Apify's maximum cost per run setting if you want a hard ceiling on any run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting up the weekly schedule
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the milk watch Task and run it once. That is the baseline.&lt;/li&gt;
&lt;li&gt;Keep the &lt;code&gt;watchId&lt;/code&gt; and the search words. Changing either on the same &lt;code&gt;watchId&lt;/code&gt; is refused, so use a new id for a new scope.&lt;/li&gt;
&lt;li&gt;In the Console open Schedules, add the Task and pick a time. The README example uses &lt;code&gt;0 21 * * 0&lt;/code&gt;, which is Sunday 21:00 UTC.&lt;/li&gt;
&lt;li&gt;Read each week's rows where &lt;code&gt;watchEvent&lt;/code&gt; is &lt;code&gt;changed&lt;/code&gt; or &lt;code&gt;added&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If you want to be told when something moves, the README describes a webhook you can add to the Task.&lt;/p&gt;

&lt;p&gt;Special Buys works the same way. Each drop is listed by Aldi a week or two ahead, and the Task's first run returns the products of today's and later drops as a baseline. After that you get new or changed products.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a row holds
&lt;/h2&gt;

&lt;p&gt;One row per product: price, unit price, was-price where Aldi shows one, promotion text (on Special Buys rows, the on-sale line), a &lt;code&gt;matchKey&lt;/code&gt; and a &lt;code&gt;scrapedAt&lt;/code&gt; time. Aldi publishes no barcode, so the &lt;code&gt;ean&lt;/code&gt; field is empty and &lt;code&gt;matchKey&lt;/code&gt;, a normalised brand, name and pack size, is the join key. Aldi reports no stock online, so &lt;code&gt;inStock&lt;/code&gt; is null.&lt;/p&gt;

&lt;p&gt;Prices are as shown to a visitor with no store selected. You cannot choose a store.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits worth knowing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Aldi Australia only. Coles and Woolworths are not available at the moment.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;fullRange&lt;/code&gt; is for Aldi Australia in category mode with &lt;code&gt;categoryUrls&lt;/code&gt; empty. The range is about 2,600 products when last counted, and that count changes.&lt;/li&gt;
&lt;li&gt;A watch scope of more than 3,000 products, a read that comes back much smaller than last time, or a read that fails part-way is not compared. Nothing is charged beyond the start fee, and the run summary says why.&lt;/li&gt;
&lt;li&gt;Changes that do not fit under &lt;code&gt;maxItems&lt;/code&gt; come back in the next run. That includes the first run: a scope bigger than &lt;code&gt;maxItems&lt;/code&gt; is returned &lt;code&gt;maxItems&lt;/code&gt; at a time, each charged.&lt;/li&gt;
&lt;li&gt;A product that leaves the scope and comes back is returned again as &lt;code&gt;added&lt;/code&gt;, and charged.&lt;/li&gt;
&lt;li&gt;A watch run that crashes part-way can miss changes for good. It never reports or charges a change twice.&lt;/li&gt;
&lt;li&gt;Special Buys mode reads only the drops Aldi lists at the time of the run. An earlier drop that is no longer listed cannot be read.&lt;/li&gt;
&lt;li&gt;Special Buys rows have no end date and no stock level.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A free overview
&lt;/h2&gt;

&lt;p&gt;If you only want weekly index numbers rather than rows, our free index is at &lt;a href="https://data.yappman.com/au-shelf-price-index/" rel="noopener noreferrer"&gt;https://data.yappman.com/au-shelf-price-index/&lt;/a&gt;. It covers Coles, Woolworths and Aldi Australia shelf prices, with partial Coles coverage.&lt;/p&gt;

&lt;p&gt;Independent tool. Not affiliated with, endorsed by or sponsored by Coles, Woolworths or Aldi.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>australia</category>
      <category>pricing</category>
      <category>webscraping</category>
    </item>
    <item>
      <title>Pay-per-event pricing on Apify: what I got wrong</title>
      <dc:creator>Russell Yapp</dc:creator>
      <pubDate>Fri, 06 Nov 2026 08:08:30 +0000</pubDate>
      <link>https://dev.to/yappman/pay-per-event-pricing-on-apify-what-i-got-wrong-2im2</link>
      <guid>https://dev.to/yappman/pay-per-event-pricing-on-apify-what-i-got-wrong-2im2</guid>
      <description>&lt;p&gt;I publish data Actors on the Apify Store as Yappman Data, all on pay-per-event pricing. This is a list of things I got wrong about pricing and charging, and what I did about each. It is not a recipe. It is the short version of my own notes, in case it saves you the same detours.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. I thought tier-priced events were not charged
&lt;/h2&gt;

&lt;p&gt;My early notes said every event on our Actors was flat, and that version 4.0.2 of the Python SDK bills nothing on tier-priced events. If that were true, our main per-row events would have billed $0.&lt;/p&gt;

&lt;p&gt;It was wrong. On 13 Oct our UK Actor session checked run metadata from an owner run. The tiered &lt;code&gt;product&lt;/code&gt; event had been resolved to a flat price of a few tenths of a cent, and the run's charged-event count showed the events had been billed. The platform turns each tier into one flat price for the caller's plan before the run starts. The SDK only skips an event if the run's pricing info still carries tiers, and it never does.&lt;/p&gt;

&lt;p&gt;What I changed: I corrected the notes, which had been wrong about the impact, and kept the main per-row events tiered as designed. On the UK grocery Actor the &lt;code&gt;product&lt;/code&gt; event is $0.0025 on the Free plan down to $0.0015 on Gold. The basket and Standby events and the start fee stay flat, by choice.&lt;/p&gt;

&lt;p&gt;The lesson is to read the numbers on a real run instead of trusting what you remember about the SDK.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. My own test runs were being cut short
&lt;/h2&gt;

&lt;p&gt;The platform clamps each run's maximum charge to the remaining monthly usage limit of the account that starts it. That affects you when you run your own Actor for snapshots, canaries and tests. Those runs were being truncated.&lt;/p&gt;

&lt;p&gt;What I changed: owner-account runs now skip charge calls. That shipped in UK 0.2.21, AU 0.1.12 and hotels 0.1.25. The gate is the Actor owner's user id, so anything run with the owner's token is free and must never be used to serve paying users. Two things to remember: platform usage from those runs still counts towards the limit, and the limit only stops runs started from your own account. Other people's runs of a public Actor are billed to them.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Charged-event counts after a restart
&lt;/h2&gt;

&lt;p&gt;I saw cases where charged-event counts and the run's maximum charge did not behave as I expected after a platform reboot of a run. I collected evidence from test runs and reported it as an issue on the SDK's GitHub repo. Apify closed it as completed on 3 November.&lt;/p&gt;

&lt;p&gt;I did not wait for a platform fix. I approved an in-Actor spend limit: before each batch of rows is pushed to the dataset, the Actor cuts the batch to the number of rows that still fit under the run's maximum charge, after the start fee and the rows already pushed. After a restart it works out "rows already pushed" from the run's own dataset. The Property Actor's README states the result: a restarted run does not charge the run start or any row twice, and stays within your maximum charge.&lt;/p&gt;

&lt;p&gt;The lesson is not to rely on the platform alone to enforce a cap. Enforce it in the Actor too, and test it with a simulated restart.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Price increases are the locked direction
&lt;/h2&gt;

&lt;p&gt;The Console allows one price increase per Actor per month. Decreases and removals are not locked. A new paid event on a public Actor counts as an increase and needs 14 days' notice.&lt;/p&gt;

&lt;p&gt;Two things followed from that.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Dates slip. I planned two new add-on events on the UK Actor, &lt;code&gt;product-detail&lt;/code&gt; at $0.005 and &lt;code&gt;price-history&lt;/code&gt; at $0.004, to be chargeable around 26 Oct. After the notice and the monthly rule they could not go in before 28 Oct, so the start moved later. Pricing for those events is announced in advance, and charging starts only when the code that enables them is released.&lt;/li&gt;
&lt;li&gt;Transfer cost belongs in the price. I raised the buyer-profile event on our Contracts Actor from $0.05 to $0.10 per decision on 12 Oct, because one run pulls 365 daily files of 150 to 450 MB and the transfer cost is real. The event started charging $0.10 on 26 Oct.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My own rule now: pricing is never done in a hurry.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. I priced above what the free source justifies
&lt;/h2&gt;

&lt;p&gt;LEI Lookup started at $0.004 per entity. On 23 Oct I set it to $0.001 per entity ($1.00 per 1,000), with no start fee. My reasoning in the notes: LEI data is CC0 and free at source, so a buyer gains little from paying more.&lt;/p&gt;

&lt;p&gt;The cost of changing it was the number of places the old price lived: a demo video description, two dev.to posts, a Substack post and a data marketplace listing all needed editing. On 26 Oct I found the video description still said $0.004 and fixed it.&lt;/p&gt;

&lt;p&gt;What I changed: I now keep prices out of short and SEO descriptions entirely. The price lives in the pricing table and the README, so there are fewer places to go stale.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Flat on every plan, then tiers anyway
&lt;/h2&gt;

&lt;p&gt;On 23 Oct I decided the LEI and Contracts events would stay flat on every plan. The reasons I wrote down: the revenue effect was near nil, the effect on higher-plan callers was unproven, and there was a known SDK charging problem on a tiered Contracts event. Apify's "Enable Store discounts" suggestion was not taken.&lt;/p&gt;

&lt;p&gt;On 28 Oct I changed my mind for LEI, and its tiers took effect that day. Also on 28 Oct, in the Console, I split the Property listing price to $1.25 per 1,000 on the Free plan with proportional tiers, and cut the AU product price from $2.00 to $1.50 per 1,000 on Free. The lesson is small: write the reason down, so that when you reverse a decision you know which reason changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I do now
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Charge only for rows the buyer receives. On the Property Actor the run start is charged once, and only when the first rows reach the dataset, so a blocked or empty run costs nothing. The exception is a monitoring run that read listings: it pays the run start even if nothing changed.&lt;/li&gt;
&lt;li&gt;Give worked examples in every README, so a buyer can check the sum.&lt;/li&gt;
&lt;li&gt;Check the numbers on a real run before believing the docs, mine included.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Data notes for our Actors are at data.yappman.com.&lt;/p&gt;

</description>
      <category>apify</category>
      <category>pricing</category>
      <category>api</category>
      <category>webscraping</category>
    </item>
  </channel>
</rss>
