Back to The Prompt Fixer™
API Documentation
Complete reference for The Prompt Fixer™ API. Use these endpoints to programmatically optimize, grade, and analyze prompts.
Resources
Available Endpoints
POST/api/v1/optimize
POST/api/v1/grade
POST/api/v1/recommend
GET/api/v1/usage
Quick Start
1
Get your API key
Create an API key from the API Dashboard
2
Make your first request
curl -X POST https://thepromptfixer.com/api/v1/optimize \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "write a blog post about AI"}'3
Get your optimized prompt
{
"success": true,
"data": {
"optimizedPrompt": "ROLE: Expert content strategist...",
"characterCount": 856,
"targetChatbot": "any"
}
}API Plans & Pricing
Starter
$49/mo
- 1,000 requests/month
- 30 requests/minute
- Email support
- All endpoints included
Growth
$199/mo
- 10,000 requests/month
- 60 requests/minute
- Priority support
- All endpoints included
- Webhook support
Enterprise
Custom
- 100,000+ requests/month
- Custom rate limits
- Dedicated support
- SLA guarantee
- Custom integrations
Authentication
API Keys
For server-to-server communication. Pass your API key in the Authorization header:
Authorization: Bearer pf_xxxxxxxxxxxxx
OAuth 2.0
For applications that need user authorization. Contact us for OAuth client credentials.
Support
- Starter tier: api-support@thepromptfixer.com
- Growth tier: Priority email support (24-hour response)
- Enterprise: Dedicated support channel with SLA