Recognizing an Amazon.co.uk product URL
The host must be on the supported list. Search, cart, seller, and shortened redirect URLs are not treated as product-detail input.
| Supported path | UK example |
|---|---|
| /dp/{ASIN} | https://www.amazon.co.uk/dp/B0C27P6VC9 |
| /gp/product/{ASIN} | https://www.amazon.co.uk/gp/product/B0C27P6VC9 |
| /gp/aw/d/{ASIN} | https://www.amazon.co.uk/gp/aw/d/B0C27P6VC9 |
Bare ASIN versus UK product URL
| Input | Effective marketplace | Reason |
|---|---|---|
| B0C27P6VC9 | amazon.co.uk on this page | The selector supplies context |
| https://www.amazon.co.uk/dp/B0C27P6VC9 | amazon.co.uk | The URL hostname wins |
| https://www.amazon.de/dp/B0C27P6VC9 | amazon.de | A recognized foreign hostname is preserved |
Reading category and Best Sellers Rank fields
The UK fixture contains the category path Fashion → Luggage & Travel Gear → Backpacks → Casual Daypacks. Its bsr is null. Category breadcrumbs and Best Sellers Rank are independent optional fields; a present category never authorizes a fabricated rank, and rank must not be interpreted as sales volume or keyword position.
Inside the UK JSON structure
- Identity strings record asin, marketplace, source_url, and canonical_url.
- Product scalars hold title, currency, rating, review_count, brand, and nullable bsr.
- images and category are arrays even when only one or zero values are available.
- product_information is an array of named attribute groups; this snapshot has none.
Input mistakes that stop a UK lookup
- Submitting a search-results URL instead of a product path.
- Dropping characters from the ten-character ASIN.
- Using an Amazon-like hostname outside the allowlist.
- Expecting a short link to be expanded.
- Assuming GBP means that a price was collected.