Every tool run is a task: you create it, poll its status until it settles, then read the per-line results. All three endpoints need your API key.

Create a task

POST /api/v1/task/create
FieldTypeNotes
toolstringThe tool id (e.g. check). See Tools reference.
tokensstring / arrayInput, one item per line (or an array). Aliases: payload, items, input. Badges uses a payload object.
configobjectTool-specific options (alias options). Each tool's options are in the reference.
proxiesstring / arrayOptional. One proxy per line - required by some tools.
payment_methodstringauto (default), wallet, license or request (only runs while the tool is free).

Returns { success, job_id, tool, status: "running", total }.

Poll the status

GET /api/v1/task/status?job_id=...

Returns { success, status, total, ... }. status is one of:

statusMeaning
runningStill working - keep polling (every ~2s is plenty).
doneFinished - read the items.
errorThe run failed.
stoppedStopped before finishing.

Read the results

GET /api/v1/task/items?job_id=...

Returns { success, job_id, status, total, items: [...] }. Each item has a status (a hint - the result folder) and a line (the full result). Treat line as the source of truth.

End to end

Create → poll → read, for the Token Checker:

BASE="https://tools.eimted.us/api/v1"
KEY="YOUR_API_KEY"

# 1. Create
JOB=$(curl -s -X POST "$BASE/task/create" \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"tool":"check","tokens":"MTI5...\nNzQx...","config":{"validity":true,"nitro":true}}' \
  | python3 -c "import sys,json;print(json.load(sys.stdin)['job_id'])")

# 2. Poll
while true; do
  S=$(curl -s "$BASE/task/status?job_id=$JOB" -H "Authorization: Bearer $KEY" \
    | python3 -c "import sys,json;print(json.load(sys.stdin)['status'])")
  echo "status: $S"; [ "$S" = "done" ] || [ "$S" = "error" ] || [ "$S" = "stopped" ] && break; sleep 2
done

# 3. Results
curl -s "$BASE/task/items?job_id=$JOB" -H "Authorization: Bearer $KEY"
Also useful

GET /api/v1/tools lists every tool with live prices, GET /api/v1/balance returns your wallet, and GET /api/v1/task/history lists your recent jobs.