curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/smyths-inventory \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/smyths-inventory"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/smyths-inventory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Smyths Toys UK product stock, price, details and listings
Smyths Toys UK (smythstoys.com) as JSON, in four modes. mode=product (the default when code is given) returns one product’s stock and price as the JSON Smyths’ own storefront reads (/api/uk/en-gb/product/product-inventory), unchanged: code, type, prices (price, value, wasPrice, thenPrice, rrpPrice, discountedPercentage), hdSection (home delivery: stockStatus, stockMessage, isAvailableForDelivery, isPreOrder, expectedStockDate, delivery messages), ccSection (click & collect: the same stock fields plus storeName, deliveryMessage, storeClosed), ageSuitabilities, carrierType, marketing messages and decals. code takes a product code (225095), a product or bundle page link or a product-inventory link; one product is one billed request. mode=details&code= returns the JSON Smyths’ product page is built from (/api/uk/en-gb/product, a bundle’s from /api/uk/en-gb/b), unchanged, one billed request: name, brand, ean, description (HTML), webFeatures (the key features list), the safety warnings euWarning, safetyText, urgentSafetyTextHeading and urgentSafetyTextDescription, productImages (the gallery: thumbnail, original and zoom per galleryIndex, videos as youtubeUrl), prices, averageRating, numberOfReviews, breadcrumb, categoryHierarchy, ageSuitabilities, assemblyRequired and more; a bundle adds subProducts. url and breadcrumb paths are relative to https://www.smythstoys.com/uk/en-gb. mode=search&query= and mode=category&category= find product codes: they return products (code, name, url, prices with the same fields, currency, image, averageRating, productType - BUNDLE for bundles - and decals) with totalResults, totalPages and nextPage, 60 per page; a category also returns its title, breadcrumbs and subcategories (code, name, count). Smyths’ search returns its best 240 matches at most, a category every product it holds. Listings collect up to max_results from page on, billed one unit per page.
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/smyths-inventory \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/smyths-inventory"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/smyths-inventory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
mode=product and mode=details: product code ('225095'), product or bundle page link, or product-inventory link.
mode=product and mode=details: ask for a bundle. A bundle page link sets it, and a code Smyths does not answer as a product is asked again as a bundle.
'product': one product's stock and price (the default when code is given). 'details': one product's page details - description, features, safety warnings, images. 'search': the products matching query (the default when query is given). 'category': the products of a category (the default when category is given).
mode=search: what to search for, e.g. 'lego star wars'. Smyths returns its best 240 matches at most - list a category to get every product of a range.
mode=category: a category code ('SM060101') or a category page link (https://www.smythstoys.com/uk/en-gb/toys/action-figures-and-playsets/c/SM060101). The top categories are Toys SM0601, Baby SM0602, Outdoor SM0603 and Gaming & Tech SM0604; each listing names its subcategories.
Listing order. search: relevance, bestsellers, price_asc, price_desc, rating_desc, newest (the first is the default). category: bestsellers, price_asc, price_desc, rating_desc, newest (the first is the default).
1-based listing page to start from (60 products per page).
Products to collect across pages, 1-600. Each page fetched is billed one unit.
Response
mode=product: Smyths' product-inventory JSON. mode=details: Smyths' product page JSON. mode=search and mode=category: JSON with products; a search with no matches answers 200 with an empty list.

