Share your repls and programming experiences

← Back to all posts
Replit User API
EpicCodeWizard (10)

Replit User API


Using a small part of @mat1's repltalk library, I have made this API. It makes a POST request to Replit's GraphQL Playground, and returns it in a timely matter.


Go to and follow the directions there. As part of the API, it returns a user's repls. The default number of latest repls is set to 10. To modify it, define the url parameter of replcount. In any repl's information, it returns the id of repls which are forked from it. Use to get information on a repl from it's id (follow the directions on it).


You get a L͟O͟T of user information. You can take a look at the code for the GraphQL query if you would like to.


      Support for team information (not fetchable for some reason).
      Create an embeddable stats widget.
      Support to specify which fields of information are required, so there are faster load times.


The creator of this huge project is @EpicCodeWizard. Email me at [email protected] if you want to help. Any help is appreciated.


That's it! Please share and comment!

RoBlockHead (520)

Doesn’t this defeat the whole point of GraphQL? You aren’t meant to request every single property of a user unless you’re using that data

RayhanADev (2511)

@RoBlockHead it admittedly does, but that's what every (and I quite mean every) package for the Replit API does lol. Check mat1's, CC's, JB and dark's, even mine it's just what's normal for things like this.

EpicCodeWizard (10)

@RayhanADev Yeah, sadly it does. That is why in the roadmap section, I wrote, "support to specify which fields of information are required". I want to make a library that is the bridge between GraphQL, replit, and python, so people can query the fields they want conveniently, without making their own queries or anything like that.

RoBlockHead (520)

@RayhanADev I mean other packages do it in more elegant ways, by just having smaller queries mapped to methods, but this one seems quite excessive

RayhanADev (2511)

@RoBlockHead ƪ(˘⌣˘)ʃ yeah you're completely correct but I believe that was their aim

RayhanADev (2511)

The code breaks btw, I'll let you figure it out ;D

RayhanADev (2511)

@EpicCodeWizard umm, broke again. Your query has an error I believe

Edit: nvm it's just slow LOL

EpicCodeWizard (10)

@RayhanADev Wait, how? It works fine for me...

Edit: Thanks.

RayhanADev (2511)

@EpicCodeWizard it works, I edited the comment

EpicCodeWizard (10)

@RayhanADev Thanks! @Coder100 only takes 10 seconds, I thought longer. Question: How do you underline in markdown? I couldn't find a way, so I just bolded text from here.

RayhanADev (2511)

@EpicCodeWizard ummm...?

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6



that should hopefully get you running!

EpicCodeWizard (10)

@RayhanADev Thanks! I thought I said how do we u͟n͟d͟e͟r͟l͟i͟n͟e in markdown.

RayhanADev (2511)

@EpicCodeWizard not quite sure since I never do it 😂

EpicCodeWizard (10)

@RayhanADev Ah, thanks. I usually do it to symbolize important things. Actually, correct that, I bold and underline it, like t̳h̳i̳s̳ or t͟h͟i͟s.

EpicCodeWizard (10)

@RayhanADev Thanks! Also, can I be on the ReplAPIit team? I have great expertise in that area. I can help you with your APIs, and can even support your language API! Note: I have found something that can boost it...