/api/openapi.json
OpenAPI specification
Machine-readable OpenAPI 3.1 document for SDK generation, docs tooling, and API audits.
- Query
- none
- Example
- https://agentpets.dev/api/openapi.json
Developers
AgentPets exposes versioned public endpoints for pet discovery, creator growth loops, README badges, and embeddable pet cards. Use the API for bots, launch pages, docs, and developer tools.
API reference
/api/openapi.json
Machine-readable OpenAPI 3.1 document for SDK generation, docs tooling, and API audits.
/api/v1/pets
Paginated public catalog with assets, install commands, metrics, creator credit, and share URLs.
/api/v1/pets/{slug}
Canonical API payload for a pet page, badge, embed, CLI install, and custom integrations.
/api/v1/creators
Creator leaderboard payload for community pages, bots, and launch widgets.
/api/v1/badge/{slug}
Cacheable SVG badge for GitHub READMEs, docs, launch posts, and creator profiles.
/api/v1/embed/{slug}
Returns an iframe snippet plus the public pet payload for websites that want a drop-in card.
Live examples
GET /api/v1/pets?limit=3&sort=popular
OpenLoading...npx -y https://github.com/agiagentsdev/agentpets-dev/releases/latest/download/agentpets-cli.tgz install boba[](https://agentpets.dev/pets/boba?ref=badge)<iframe src="https://agentpets.dev/embed/boba" width="320" height="420" title="Boba on AgentPets" loading="lazy"></iframe>