Getting started
- Create an account and add funds to your balance.
- Create an API key in your account.
- Send the key with every request in the Authorization header.
Authorization: Bearer jd_live_…
API
Place and track orders from your own software. Orders are paid from your prepaid balance.
Authorization: Bearer jd_live_…
Errors return a JSON body with an error code. A 401 means the key is missing or wrong. A 402 means your balance is too low. A 422 means something in the order is not valid.
Each key can make 120 requests per minute.
Send an Idempotency-Key header when you place an order. If the same key is sent again, you get the first order back and you are not charged twice.
Idempotency-Key: 6f1c2a9e-order-123
GET /api/v1/services
List every service, package and price.
curl https://juicedrop.io/api/v1/services
GET /api/v1/balance
Show your balance.
curl https://juicedrop.io/api/v1/balance \ -H "Authorization: Bearer jd_live_…"
POST /api/v1/orders
Place an order. It is paid from your balance straight away.
curl https://juicedrop.io/api/v1/orders \
-H "Authorization: Bearer jd_live_…" \
-H "Content-Type: application/json" \
-d '{"items":[{"service":"tiktok-promotion","package":"standard","link":"https://www.tiktok.com/@you/video/123"}]}'GET /api/v1/orders
List your orders, newest first. Use limit, status and before to page through them.
curl "https://juicedrop.io/api/v1/orders?limit=20&status=completed" \ -H "Authorization: Bearer jd_live_…"
GET /api/v1/orders/{ref}
Show one order and its status.
curl https://juicedrop.io/api/v1/orders/JD-XXXXXX \ -H "Authorization: Bearer jd_live_…"