Testing 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"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}" | jqHTTPie
http GET "https://key.devioussolver.com/key/${DEVIOUS_API_KEY}"What to look for:
unlimited: truemeans no quota.remaining_solvescan be negative if you exceeded.
2) Smoke test /solve
/solveThis 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: trueandtokena reasonable
processTime
3) Test with Postman / Insomnia
Use this if you prefer an API client.
Send and inspect
Success:
solved: true+tokenFailure:
solved: falseorerror
See the full error list in DeviousSolver API.
Common gotchas
Proxy must be present. Expect
Add Proxyotherwise.Avoid rotating proxies if you get
Do not use rotating.If you get
Low quality IP score, switch IPs/provider.
Last updated
