Demonic Downloader

RPC API

Demonic Downloader speaks the aria2 JSON-RPC dialect, so tools written for aria2 can control it. The secret token is your licence key.

Enabling the server

In the app: Settings → Automation → RPC server. It listens on http://127.0.0.1:6800/jsonrpc by default. On this website, a demonstration endpoint is available at https://demonic.stvnhost.dev/api/rpc; it keeps a simulated queue per licence and never downloads anything. In the app the RPC server is a Pro feature; the demo endpoint accepts any valid key, including Free, so everyone can try it.

Authentication

Pass "token:<your licence key>" as the first parameter of every call, the same way aria2 handles --rpc-secret.

Methods

MethodParametersReturns
aria2.getVersion—Version and enabled features
aria2.addUri[uris]The new task's GID
aria2.tellActive—Running tasks
aria2.tellStopped—Finished and paused tasks
aria2.tellStatusgidOne task
aria2.removegidThe removed GID

Errors

1 unauthorised or unknown GID · 2 unsupported link · 3 queue full (20 tasks on the demo) · -32601 unknown method · -32700 invalid JSON.

Playground

Sign in to use your own licence key, or paste any key below.

// Response appears here