Every request needs your API key in the x-api-key header. One key works on all endpoints. Daily limits depend on your plan (Free 100 · Pro 5,000 · Unlimited 100,000).
curl https://rahad-api-marketplace-production.up.railway.app/v1/models \
-H "x-api-key: rk-YOUR_KEY"
POST /v1/chat?backend=pollinations|worm|kimi — body: {"message": "..."}
curl -X POST "https://rahad-api-marketplace-production.up.railway.app/v1/chat?backend=kimi" \
-H "x-api-key: rk-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Hello! Who are you?"}'
POST /v1/image?backend=pollinations|grok — body: {"prompt": "..."}
curl -X POST "https://rahad-api-marketplace-production.up.railway.app/v1/image?backend=grok" \
-H "x-api-key: rk-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "a cat astronaut, cinematic"}'
curl -X POST https://rahad-api-marketplace-production.up.railway.app/v1/enhance \
-H "x-api-key: rk-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"image_url": "https://example.com/photo.jpg"}'
curl "https://rahad-api-marketplace-production.up.railway.app/v1/download?url=https://www.tiktok.com/@user/video/123" \
-H "x-api-key: rk-YOUR_KEY"
| Code | Meaning |
|---|---|
| 401 | Missing, invalid, or deactivated API key |
| 429 | Daily plan limit reached — upgrade to continue |
| 502 / 503 | An upstream backend is down or not configured |
Create a free account and your key is generated instantly — 100 requests/day across every API. Paid plans (Pro ৳499/mo · Unlimited ৳1,499/mo) are bought from the dashboard with bKash and activate after admin approval. Keep your key secret — anyone with it can spend your daily limit.
Create free account