API DOCUMENTATION
Build with the Prompt Gallery API
Authentication
Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYEndpoints
GET
/api/promptsList all prompts with optional filters
GET
/api/prompts/:idGet a single prompt by ID or slug
POST
/api/promptsCreate a new prompt (auth required)
POST
/api/prompts/:id/copyTrack a copy action
GET
/api/categoriesList all categories
GET
/api/prompts/trendingGet trending prompts
Rate Limits
API requests are limited to 100 requests per minute. Contact us if you need higher limits.