Developer API

Decode from your own scripts

A small REST API over the same pipeline as the dashboard — same credits, same versions, same auto-delete rules. Built for batch recovery jobs and CI pipelines.

Authentication

Create a token in Account → API tokens and send it as a bearer token. Tokens are shown once and stored hashed — treat one like a password.

curl -H "Authorization: Bearer dcx_your_token_here" \
     https://decryptioncube.com/api/v1/me

Endpoints

GET /me Account state and remaining credits.
POST /decode Submit one file (multipart field `file`). Costs 1 credit, returns a job.
GET /jobs Recent jobs, newest first. Optional `limit` (default 25).
GET /jobs/{id} Job state. Polling this also advances the pipeline.
GET /jobs/{id}/download The decoded source, once the job is ready.

Decode a file end to end

# submit
curl -X POST https://decryptioncube.com/api/v1/decode \
     -H "Authorization: Bearer $DECRYPTIONCUBE_TOKEN" \
     -F "[email protected]"

# {"ok":true,"job":{"id":42,"status":"uploading",...},"credits":9}

# poll until status is "ready"
curl -H "Authorization: Bearer $DECRYPTIONCUBE_TOKEN" https://decryptioncube.com/api/v1/jobs/42

# download the decoded source
curl -H "Authorization: Bearer $DECRYPTIONCUBE_TOKEN" \
     -o decoded.php https://decryptioncube.com/api/v1/jobs/42/download

CLI

A zero-dependency Node script that walks a folder, submits every encoded file, waits, and writes the decoded output next to the original.

export DECRYPTIONCUBE_TOKEN=dcx_your_token_here
node decryptioncube.mjs ./src --out ./decoded

Ships in the cli/ folder of the project repository, MIT licensed.

Errors & limits

401Missing or invalid token.
402Not enough credits — top up and retry.
403Email not verified, account suspended, or the job belongs to someone else.
409Job is not ready yet — keep polling.
422Unsupported file type or file too large.
429Rate limited: 60 requests per minute per account.