I’m trying to use the Catalog API to get all items on sale by a group, but I have one problem: I do not know the agent ID.
Since the new group design, I can’t seem to find any way to get an agent ID.
Please help, thanks in advance.
I’m trying to use the Catalog API to get all items on sale by a group, but I have one problem: I do not know the agent ID.
Since the new group design, I can’t seem to find any way to get an agent ID.
Please help, thanks in advance.
To get the Agent ID, go to the groups catalog. The url should look something like Catalog - Roblox. Where “AGENTID” is, there’s a number. You can use that number as your Agent Id, as explained in this post.
You can no longer go to a groups personal catalog since the group page redesign. I addressed this in the original post.
With some help from searching the keyword “agent ID”: [link found above]
With some digging, you have to check this article out:
I’m still a little lost on where the ID is. Maybe the JSON can help you find it if you read it? I might request some documentation on how to acquire the group agent ID, because the article is too unclear where to find it.
Dang it, too slow to post this.
There seems to be no way to squire the agent ID via the JSON.
Let’s see if we have some veterans popping up or some expert. Perhaps they can help?
Otherwise, I’ll attempt a feature request later on.
This may be better suited as a documentation request since I’m certain its not impossible to get a group agent ID.
I know only one way to get a group’s agent id:
858056283
)Creator
field. Its Id
value (not CreatorTargetId
) is the group agent id.Thank you. I have submitted a feature request to see if an API could be added for this as not all use cases are covered by this.
I’ll post the same message I posted in the feature request.
You shouldn’t need to know the agent ID to be able to fetch catalog items for a group. You can do this by adding “CreatorType=Group” to the query string. Then you can pass in the group ID as the CreatorID parameter.
An example:
https://search.roblox.com/catalog/items?CreatorID=851558&CreatorType=Group
This will fetch catalog items for the group Kestrel - Roblox
Can we get this better documented?