vialTesting the API

Quick ways to verify your key and /solve from your terminal or API client.

You can test everything without writing code.

Before you start

Set a couple variables so you can copy/paste commands.

export DEVIOUS_API_KEY="YOUR_API_KEY"
export DEVIOUS_PUBLIC_KEY="476068BF-9607-4799-B53D-966BE98E2B81"
export DEVIOUS_PROXY="user:pass@ip:port"
export DEVIOUS_BLOB="BLOB_HERE"
circle-info

If you don’t want env vars, just inline values in the commands.


1) Test your key balance

cURL

curl -sS "https://key.devioussolver.com/key/${DEVIOUS_API_KEY}"

Pretty print (optional):

curl -sS "https://key.devioussolver.com/key/${DEVIOUS_API_KEY}" | jq

HTTPie

http GET "https://key.devioussolver.com/key/${DEVIOUS_API_KEY}"

What to look for:

  • unlimited: true means no quota.

  • remaining_solves can be negative if you exceeded.


2) Smoke test /solve

This is the fastest way to validate:

  • your API key works

  • your proxy format is accepted

  • the endpoint is up

Full payload (copy/paste):

cURL

HTTPie

What to look for:

  • solved: true and token

  • a reasonable processTime


3) Test with Postman / Insomnia

Use this if you prefer an API client.

1

Create a request

  • Method: POST

  • URL: https://api.devioussolver.com/solve

  • Header: content-type: application/json

2

Paste a full body

3

Send and inspect

  • Success: solved: true + token

  • Failure: solved: false or error

See the full error list in DeviousSolver API.


Common gotchas

  • Proxy must be present. Expect Add Proxy otherwise.

  • Avoid rotating proxies if you get Do not use rotating.

  • If you get Low quality IP score, switch IPs/provider.

Last updated