Open densurfer opened 2 years ago
Hey, were you able to build something out of that API? I want to search based on the EAN.
With the discontinuation of the Colruyt
mobile app in favor of the Xtra
app they have taken down the old hidden API endpoints. (both the products and promotions endpoints).
The current endpoints (also used on colruyt.be, go check in the network tab of devtools) only require a simple auth token that simply never expires. (X-CG-APIKey header) This can be hardcoded into your code or be retrieved using a (headless) browser.
Hey, were you able to build something out of that API? I wan't to search based on the EAN.
Are you still looking for this ? I might be able to provide you some data. I don't see EAN in any response body, could it be under a different name ?
Hi, Thanks for the update. I will have a look and see if I can find something relevant for my use case: scanning of the bar code.
Hi, Thanks for the update. I will have a look and see if I can find something relevant for my use case: scanning of the bar code.
I checked using my very tasty EVERYDAY cola zero 50cl
:), it is listed under GTIN
in the response of:
This is one of the few fields I don't track in my scraper. For now the only way to filter by EAN I see is to scrape everything and query your own dataset. If you find a way to directly query by EAN/GTIN from their API, I am also very interested as well.
Hey, thank you!
I am still unable to fetch item per EAN. It seems only searchTerm
is available.
They also put a strict "bot" and request threshold in place.
They also put a strict "bot" and request threshold in place.
annoying indeed, that's why this project uses ssl proxies.
I know the page you are seeing, this can be bypassed by providing a valid X-CG-APIKey
(and by leaving some time between requests if you don't wanna use proxies).
Hey,
Thanks for the project! I wanted to access the API of Colruyt, but I couldn't find anything. But helps to you, I got something! :D But I was wondering where did you get the URL from or this information? I want to build a broader API based on this, but I want to know how to use the query params, or which other URLs there are to use. Can you help me out?