Scraper API
B and Mbmstores.searchAvailable
B and M search
The products that match: name, price, was price and RRP where shown, price per unit, size, brand, categories, stock status, Special Buy and promotion, picture and description.
Give it Words to search B and M's range for, a page and how many products a page holds.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 3, 1 required
- Record
- 20 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/bmstores.search/runs
sent, and answered
a record of the run20 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 20 fields are set down here; the whole record is below.

What it is used for
- Watch B and M's prices
- Search the products you follow and track each one's
price,was_priceandunit_pricefrom week to week. - Spot Special Buys and offers
- Find products marked
special_buyor carrying a promotion, with their price and the category they sit in. - Map B and M's range
- Every product B and M lists for a term, with brand, size and the full category path, to compare its range with other stores'.
What you send
Words to search B and M's range for, a page and how many products a page holds. These are its 3 inputs, as its schema has them.
querystring Required- What to look for, e.g.
paint,garden chair. pageinteger Optional- The page of the results, from 1.Default
1 max_resultsinteger Optional- How many products a page holds. Up to 48.Default
24
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/bmstores.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"paint"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("bmstores.search", {"query": "paint"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("bmstores.search", { query: "paint" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "bmstores.search", map[string]any{"query": "paint"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("bmstores.search", Map.of("query", "paint"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run bmstores.search --input query=paintInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The products that match: name, price, was price and RRP where shown, price per unit, size, brand, categories, stock status, Special Buy and promotion, picture and description. A record has 20 fields. One we could not read is null, never an empty string or a zero.
{
"product_code": "236925",
"title": "Johnstone's Paint Vinyl Silk Emulsion 5L - Seashell",
"url": "https://www.bmstores.co.uk/products/johnstone-s-paint-vinyl-silk-emulsion-5l-seashell-236925",
"price": 29,
"was_price": null,
"rrp": null,
"unit_price": "£5.80/litre",
"size": "5L",
"brand": "Johnstone's Paint",
"categories": [
"DIY",
"Paint",
"Interior Paint"
],
"stock_status": "In Stock",
"buy_online": false,
"special_buy": false,
"on_sale": false,
"label": null,
"promotion": null,
"image": "https://cdn.bmstores.co.uk/images/hpcProductImage/imgTeaserBox/236925-johnstones-seashell-silk-5l-paint.jpg",
"summary": "Johnstone's Paint Vinyl Silk Emulsion - Seashell. A smooth, rich and non-reflective finish for interior walls & ceilings. Buy matt emulsion paint at B&M",
"description": "Johnstone's Paint Vinyl Silk Emulsion.\nJohnstone’s Silk emulsion provides an attractive high sheen finish for interior walls and ceilings.\nLow odour and quick drying.\nColour: Seashell\nSize: 5L (Approx.)\nSee Specification tab for coverage. … [truncated]",
"fetched_at": "2026-11-19T18:52:21.789873Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: categories: 4 items, the first 3 shown; description: 303 characters, the first 238 shown.
The fields of a record
product_codestring- B&M's product code, the number at the end of the product's address, e.g.
236925. titlestring- The product's name.
urlstring- The product's page on bmstores.co.uk.
pricenumber or null- The price, in pounds. Null where B&M does not show it online (an age-restricted product).
was_pricenumber or null- The earlier price the page shows struck through, in pounds. Null when none is shown.
rrpnumber or null- The recommended retail price the page shows, in pounds. Null when none is shown.
unit_pricestring or null- The price per unit as printed, e.g.
£5.80/litre. sizestring or null- The pack size, e.g.
5L. brandstring or null- The brand, e.g.
Johnstone's Paint. categorieslist of strings- The product's categories from the widest to the narrowest, e.g.
DIY,Paint,Interior Paint,Emulsion. stock_statusstring or null- B&M's stock status as it states it, e.g.
In Stock. buy_onlineboolean or null- True when the product can be bought online; most of B&M's range is sold in stores only.
special_buyboolean or null- True for a Special Buy, a product in stores for a limited time.
on_saleboolean or null- True when the product is marked as reduced.
labelstring or null- The label printed on the product's picture, e.g.
WOW,NEW. promotionstring or null- A promotion the product is in, as worded, e.g.
2 for £5. imagestring or null- The product's picture.
summarystring or null- B&M's short description of the product.
descriptionstring or null- The product's full description, as plain text.
fetched_atdatetime- When the search was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads one page of up to 48 products.
- Most of B and M's range is sold in stores only: `buy_online` says which can be ordered.
- Prices are national; a store's own stock is not read.
The bounds its schema sets
page- 1 to 100; 1 unless you say otherwise
max_results- 1 to 48; 24 unless you say otherwise
Questions
What does B and M search return?
The products that match: name, price, was price and RRP where shown, price per unit, size, brand, categories, stock status, Special Buy and promotion, picture and description. A record has 20 fields, among them product_code, title, url, price, was_price and rrp. A value that could not be read is null, never an empty string or a zero.
What do I send?
Words to search B and M's range for, a page and how many products a page holds. The input query is required. Optional: page and max_results.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: page 1 to 100 (1 unless you say otherwise); max_results 1 to 48 (24 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One run reads one page of up to 48 products. Most of B and M's range is sold in stores only: `buy_online` says which can be ordered. Prices are national; a store's own stock is not read.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id bmstores.search and the same input. It costs what the same API call costs.
B and M
Products in B and M's UK range, with prices, sizes, stock status, Special Buys and promotions.
- Industry
- Shopping and retail
- Where
- United Kingdom
- For
- E-commerce
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.