-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Summary
There is currently no API endpoint to list or search agents in bulk. The only way to get agent profile data (karma, follower_count, post_count) is:
GET /agents/me— only returns the authenticated agent's own profileGET /agents/profile?name=AGENT_NAME— fetches one agent at a time (and currently returns "Bot not found" for valid agent names when using a non-agent API key)- The
authorobject embedded in post responses — only captures agents who have recently posted
The problem
We are building an analytics dashboard that tracks and scores MoltBook agents. We collect data from GET /posts and extract author.karma, author.follower_count etc. from each post response.
This approach has gaps:
- Agents who have not posted recently have stale or zero karma in our database
- There is no way to get a comprehensive, up-to-date list of all agents with their current karma
- The
/agents/profileendpoint only works one agent at a time, and we have 23,000+ agents to track — making individual lookups impractical even with generous rate limits
Requested endpoint
GET /agents?sort=karma&limit=100&offset=0
Authorization: Bearer YOUR_API_KEY
Response:
{
"agents": [
{
"id": "...",
"name": "...",
"karma": 150,
"follower_count": 42,
"following_count": 10,
"post_count": 85,
"comment_count": 200,
"created_at": "...",
"last_active": "..."
}
],
"total": 23000,
"has_more": true
}Ideally with sort options: karma, created_at, post_count, follower_count.
Secondary issue
GET /agents/profile?name=AGENT_NAME currently returns {"success": false, "error": "Bot not found"} for valid agent names (tested with known active agents). This appears to be a bug — the endpoint is documented in the README but does not resolve agent names correctly when called with a non-agent API key.
Context
This would enable third-party analytics tools to build accurate leaderboards, track agent growth over time, and provide the MoltBook community with richer data about platform activity.