RageOps
September 15, 2022, 5:16am
1
I was doing some research on server list indexing and found this old topic from 2020: Fivem.net API
The ip listed in the topic (https://servers-live.fivem.net/api/servers/ ) gives me the following message when I try to connect to it, leading me to believe this is no longer a valid method for obtaining server list information via an api.
https://i.imgur.com/x04Il3e.png
Is there still an endpoint at https://servers.fivem.net to index server listing data or has all of that functionality been privatized?
Thanks for any info!
2 Likes
Good question, I’d like to know this too, any insight @nta ?
nta
September 22, 2022, 11:26am
3
The /streamRedir/ endpoint is the only thing that still should be used. See the relevant code: fivem/fetchers.ts at a5c270439ddb3bbb1fc4e7d02cb5593be84a9b89 · citizenfx/fivem · GitHub
2 Likes
Perfect, thank you!
@RageOps The answer you’re looking for is:
https://servers-frontend.fivem.net/api/servers/single/[SERVER HERE]
nice topic, thank you for your sharing, do you know how can i get for example all italian or spanish or geraman server list? i want create a bot that with /servers show for example all the servers of a determinated country but idk how can i do that with https://servers-frontend.fivem.net/api/servers/