Quick Start
Create an Account
Sign up for free. You get 10 credits per day to start, no payment required.
Get Your API Key
Visit the Developer Portal to generate your API key.
Make Your First Call
Send a POST request to the optimize endpoint:
POST /api/v1/optimize/v3/optimizeAuthentication
All API requests require an API key passed via the X-API-Key header.
GET /api/v1/credits/balance Host: promplify.ai X-API-Key: YOUR_API_KEY Content-Type: application/json
Error Responses
Invalid or missing API key
{"detail": "Invalid or missing API key"}No credits remaining
{"detail": "No credits remaining. Purchase more at promplify.ai"}Rate limit exceeded
{"detail": "Rate limit exceeded. Retry after 45 seconds"}Endpoints Reference
Base URL: https://promplify.ai/api
Rate Limits
| Window | Limit | Type |
|---|---|---|
| Per minute | 60 requests | Sliding window |
| Per day | 1,000 requests | Sliding window |
Response Headers
X-RateLimit-LimitMaximum requests allowed in the current windowX-RateLimit-RemainingRequests remaining in the current windowX-RateLimit-ResetUnix timestamp when the current window resetsRetry-AfterSeconds to wait before retrying (only on 429 responses)Implement exponential backoff when you receive a 429 response. Start with the Retry-After value and increase the delay on consecutive failures.
Pricing & Credits
Cost per Endpoint
| Endpoint | Cost |
|---|---|
| Optimize | 1 credit |
| Rewrite | 1 credit |
| Analyze | Free |
| Playground | 1 credit |
| Credits Balance | Free |
Free Tier
Every registered account gets 10 free credits per day, resetting at midnight UTC. No payment needed to get started.
Credit Packages
Starter
$4.99
50 credits
$0.10/credit
Pro
$14.99
200 credits
$0.075/credit
Ultra
$29.99
500 credits
$0.06/credit
Code Examples
curl -X POST https://promplify.ai/api/v1/optimize/v3/optimize \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{
"prompt": "Explain quantum computing simply",
"framework": "auto",
"models": ["gpt-4o"]
}'
# Check for errors
# 401 → Invalid or missing API key
# 402 → No credits remaining
# 429 → Rate limit exceeded (check Retry-After header)Usage Restrictions
Fair Use Policy
- No automated spam or abuse of the API
- No reselling API access or credits to third parties
- No circumventing rate limits via multiple accounts or keys
- Do not send sensitive PII (social security numbers, passwords, medical records) in prompts
Data Handling
Prompts are processed by third-party LLM providers (OpenAI, Anthropic, Google, DeepSeek) and are subject to their respective data policies. We retain request logs for up to 30 days for debugging and abuse prevention. We do not use your prompts to train models.
Service Level
The API is provided as-is with no uptime guarantees or SLA. We aim for high availability but make no formal commitments. See our Terms of Service for full details.
Frequently Asked Questions
Ready to Get Started?
Sign up, grab your API key, and start optimizing prompts in minutes.