API Documentation
Access all tools programmatically. Requires an API plan.
🔐 Authentication
Include your API key in the x-api-key header.
curl -H "x-api-key: sk-your-key-here" \ "https://snaptools.uk/api/tools?tool=json-format&input=test"
🌐 Base URL
https://snaptools.uk/api/toolsGET or POST with query params or JSON body.
Params
| Param | Type | Description |
|---|---|---|
| tool | string | Tool name (required) |
| input | string | Input text (required) |
| count | number | Result count (uuid: 1-100) |
🛠️ Available Tools (15)
json-formatjson-minifybase64-encodebase64-decodeurl-encodeurl-decodehash-sha256hash-sha512uuidslugcase-uppercase-lowercase-camelreverseword-countExamples
Format JSON
curl "https://snaptools.uk/api/tools?tool=json-format&input=%7B%22name%22%3A%22test%22%7D" -H "x-api-key: sk-YOUR_KEY"
Generate UUIDs
curl "https://snaptools.uk/api/tools?tool=uuid&count=5" -H "x-api-key: sk-YOUR_KEY"
Base64 Encode
curl "https://snaptools.uk/api/tools?tool=base64-encode&input=Hello%20World" -H "x-api-key: sk-YOUR_KEY"
SHA-256 Hash
curl "https://snaptools.uk/api/tools?tool=hash-sha256&input=mypassword" -H "x-api-key: sk-YOUR_KEY"