欧博allbetHow to get JobId from server list?

You need to use the games api. Docs: Swagger UI
Example in Node.js:

const axios = require('axios'); async function get(placeid){ const response = await axios.get(`https://games.roblox.com/v1/games/${placeid}/servers/0?sortOrder=2&excludeFullGames=false&limit=100`) //sortOrder: 1 - min-max players, 2 - max-min players //limit - the number of results per request. (ONLY 10, 25, 50, 100) if(response && response.data && response.data.data){return response.data.data} return } (async() => { var servers = await get(7180042682) console.log(servers[0].id) //print 53511917-d9dc-4dcb-b663-ecd62da96836 })()

It will only give you the first 100 servers (or whatever you want), to get more you need to use cursor. response.data has the values ​​previousPageCursor and nextPageCursor (if one or two of them are null, then you cannot go to the next/previous page). You need to add them when requested and the link will be something like this https://games.roblox.com/v1/games/7180042682/servers/0?sortOrder=2&excludeFullGames=false&limit=100&cursor=eyJzdGFydEluZGV4IjoxMCwiZGlzY3JpbWluYXRvciI6InBsYWNlSWQ6NzE4MDA0MjY4MnNlcnZlclR5cGU6MCIsImNvdW50IjoxMH0KYzliYTlmZmQzMTNhNmQzNDNkMGJhOWUzZTMzZWE3ZWE0NTE1ZWNlNGE0ZmE1MWQ5YzU4MGNjNTRhNDZlMDkwYQ%3D%3D.
If you have questions - ask.

2025-09-21 05:50 点击量:2