What is the number (ID) of the Allegro login?
Karolina Wyrwicka
Posted in Features AleAsystent.pl
ποΈ 7 December 2021
β±οΈ 3 min reading
Many Allegro users β especially developers, analysts, or integrators β need to know the account ID number of a specific user. Although Allegro does not provide this number directly in the interface, there is a simple way to find it β without logging in or using the API.
Below, we show how to check the Allegro account ID by knowing only the seller's login.
#Step by step β how to do it?
#Go to the user ratings page
In the browser, enter the following address changing SELLER_LOGIN to the correct username:
allegro.pl/uzytkownik/SELLER_LOGIN/oceny
Example for the account the-point: allegro.pl/uzytkownik/the-point/oceny
#Open the browser console (DevTools)
In most browsers, you can do this by pressing:
F12, orCtrl + Shift + I(Windows) /Cmd + Option + I(Mac)
Then go to the Console tab.
#Paste the following JavaScript code and run it:
1 var m = document.body.innerHTML.match(/"sellerId":"(\d+)"/);
2 console.log(m?.[1]||"Not found");
If everything works correctly, you will see something like 101990993 in the console. This is the Allegro account ID assigned to the login the-point.
#Why does this work?
When loading the ratings page, Allegro embeds user data in the HTML code as a JSON structure. Among this data is the "sellerId" field that identifies the account in the Allegro system. The code above searches for this value and prints it in the console.
#Final note
The above method is based solely on publicly available data. Allegro may change the structure of the page or the way data is embedded in the future, so this technique may stop working.
For now, however β it works great!
About the author
Specializes in creating engaging content for the e-commerce industry. Combines knowledge of online sales with the ability to build content that captures attention and increases user engagement. She is responsible for maintaining brand communication consistency and the effectiveness of actions on social media channels.
Karolina Wyrwicka