Break a product URL into three parts
First confirm the Amazon host, then find a supported path segment, then read the next ten letters or digits. Referral parameters after the identifier do not become part of the ASIN.
https://www.amazon.co.uk/gp/product/B0C27P6VC9?tag=example
host ─────────┘ path ─────┘ ASIN ───────┘Examples
| URL | Parsed result |
|---|---|
| amazon.com/dp/B0C27P6VC9 | B0C27P6VC9 · amazon.com |
| amazon.de/gp/aw/d/B0C27P6VC9/ref=example | B0C27P6VC9 · amazon.de |
| amazon.com/s?k=B0C27P6VC9 | Unsupported search URL |
| example.com/dp/B0C27P6VC9 | Unsupported host |
Parse first, query only when you choose
The URL-to-ASIN tool performs this step locally and does not consume lookup quota. A separate lookup is required to check product data.