Search players
GET /v1/players: the players a search finds, newest save first.
/v1/playersAPI keyThe players a search finds, newest save first: their keys and when each saved. The search is the dashboard’s own language: Search language.
Parameters
- qstringDefault everyone
The search, such as
level > 50 and inventory has "RareSword", encoded for a URL. Up to 2,000 characters: longer is cut there.- storestring
The data store, when the game has more than one.
- scopestringDefault
global Its scope.
Request
curl -G https://api.useatomo.com/v1/players \
--data-urlencode 'q=level > 50 and inventory has "RareSword"' \
-H "Authorization: Bearer $ATOMO_API_KEY"
local q = HttpService:UrlEncode('level > 50 and inventory has "RareSword"')
local response = HttpService:RequestAsync({
Url = "https://api.useatomo.com/v1/players?q=" .. q,
Method = "GET",
Headers = { Authorization = key:AddPrefix("Bearer ") },
})
local found = HttpService:JSONDecode(response.Body)
for _, player in found.players do
print(player.key)
end
Answer
{
"asOf": 1796474085459,
"total": 2,
"players": [
{ "key": "Player_48213", "updatedTime": 1764871140000 },
{ "key": "Player_10042", "updatedTime": 1764871080000 }
],
"more": false,
"most": 200
}
- totalnumber
How many players the search finds, all of them.
- playersobject[]
Up to 200: each
keyandupdatedTime, when Roblox saved it. To read one, ask for the player.- moreboolean
truewhen the search found more than are listed.- mostnumber
The most listed in one answer: 200.
A search that can’t be read
{
"error": "bad_query",
"message": "Expected \"and\" or \"or\", not \"gold\".",
"at": 10
}
message says what is wrong, and at where: the place in q, counted from 0. A search that runs past 4 seconds is stopped, with at null. The other errors: Errors and limits.
Examples
| q | Finds |
|---|---|
coins > 100 | Players with more than 100 coins |
user = 48213 | That Roblox user’s save |
saved > 1h ago | Players who saved in the last hour |
not vip exists | Players with no vip field |