Skip to content
Sign upLog in
← Back to Community

Repl User Information API!!!

Profile icon
EpicCodeWizard

Hey everyone! First post here, so let's begin. Quite a while ago, I found out about authentication with replit. Ever since then, I was wondering, why do you only get the username, user ID, and roles from a user? So, about a month ago, I started researching a bit and found

@mat1
's python repltalk lib. Using that, a bit of my knowledge, replit's internal API, some web scraping, and a bit more stuff, I created the Repl User Information API. The repl is attached, but here's the link for easy access: https://repluserapi.epiccodewizard.repl.co/@USERNAME. I know that others can make a simple program to convert the JSON into a User object, make the program faster, make this into a library, make this in other languages, and much more. Sorry for the slow/messy code. Any help to make the code better is appreciated. Note: Most of the time,
@amasad
gives an incomplete JSON of information, I am trying to fix that. Also, the webpage takes a long time to load. Sample User Information (@amasad's) - https://epiccodewizard.repl.co/amasad.json. I have worked very hard on this, so please upvote, comment, and/or share this post. If there is a repetitive error, or if there is a takedown request, feel free to email me at [email protected].

Voters
Profile icon
Tycho112
Profile icon
MarcusWeinberger
Profile icon
Jake378
Profile icon
VidhyaSubbaraya
Profile icon
EpicCodeWizard2
Profile icon
SarveshMadullap
Profile icon
SaharshM
Profile icon
UnwantedEmails
Profile icon
ch1ck3n
Profile icon
EpicCodeWizard
Comments
hotnewtop
Profile icon
ch1ck3n

poggers

you can also just do https://replit.com/data/profiles/ch1ck3n

edit doesnt work anymore

Profile icon
EpicCodeWizard

@ch1ck3n
Thanks! I still made this, as it provides all of that information, and much more. I think the only thing in the link you provided has extra, compared to mine, is whether the user is a team or not.

Profile icon
EpicCodeWizard

@ch1ck3n
Also, how many https://replit.com/data/'s are there? I have heard of the one you posted and repls, which returns information about a repl.

Profile icon
ch1ck3n
Profile icon
EpicCodeWizard

@ch1ck3n
The API is deprecated, and that is why I was asking how many https://replit.com/data/'s are there? I know there is the profiles endpoint and the repls endpoint.

Profile icon
ch1ck3n

@EpicCodeWizard
I'm not really sure..

Profile icon
boston2029

@ch1ck3n
didn't work for me

Profile icon
ch1ck3n

@boston2029
they changed it

Profile icon
boston2029

@ch1ck3n
to what?

Profile icon
ch1ck3n

@boston2029
I don't know, but you can use graphql libraries (probably)

https://replit.com/graphql

Profile icon
boston2029

didn't work

Profile icon
EpicCodeWizard

@boston2029
This project initially returned a lot of information, but as Replit's GraphQL API changed over time, this API became harder to maintain. The current version, https://replit-user-info-api.epiccodewizard.repl.co/@USERNAME, works well but can stop working anytime in the future, so don't rely too heavily on it. Hopefully, I'll update the API soon with more information.

Profile icon
pyelias

wait since when did i make a repl talk api

Profile icon
EpicCodeWizard

@pyelias
Sorry, I meant
@mat1
!

Profile icon
ch1ck3n

Hey ima use this for my project

Profile icon
SarveshMadullap

@ch1ck3n
Sure!