Documentation
API Reference
All GetToolbox APIs are free, require no authentication, and return JSON. CORS is open — call them directly from any browser or server.
Base URL https://gettoolbox.dev
Method GET
Format application/json
Auth None
Rate limits None
CORS Access-Control-Allow-Origin: *
Choose your language — applies to all examples below.
GET
/api/ipIP Lookup
Returns geolocation, ISP, ASN and reverse-DNS hostname for the caller's IP address. No query parameters required. Data is sourced from MaxMind GeoLite2.
curl https://gettoolbox.dev/api/ip
Response fields
| Field | Type |
|---|---|
ip | string |
version | string |
country | string |
country_code | string |
region | string |
city | string |
zip | string |
latitude | number |
longitude | number |
timezone | string |
isp | string |
org | string |
as | string |
hostname | string |
source | string |
query_time | string |
Example response
{
"ip": "203.0.113.42",
"version": "IPv4",
"country": "Italy",
"country_code": "IT",
"region": "Lombardy",
"city": "Milan",
"zip": "20121",
"latitude": 45.4654,
"longitude": 9.1865,
"timezone": "Europe/Rome",
"isp": "Telecom Italia S.p.A.",
"org": "AS1234 Telecom Italia",
"as": "AS1234 Telecom Italia S.p.A.",
"hostname": "host-42.telecomitalia.it",
"source": "maxmind",
"query_time": "2026-05-19T12:00:00.000Z"
}GET
/api/passwordPassword Generator
Generates a cryptographically secure password using Node.js crypto.randomInt.
At least one character from each active set is guaranteed.
All parameters are optional.
# Default (16 chars, all character sets) curl https://gettoolbox.dev/api/password # 24 chars, no symbols curl "https://gettoolbox.dev/api/password?length=24&symbols=false" # 32 chars, extended symbols, exclude confusable curl "https://gettoolbox.dev/api/password?length=32&all_symbols=true&exclude_confusable=true" # Custom character pool curl "https://gettoolbox.dev/api/password?length=20&lower=false&upper=false&digits=false&custom=abc123"
Query parameters
| Parameter | Type | Default |
|---|---|---|
length | integer | 16 |
lower | boolean | true |
upper | boolean | true |
digits | boolean | true |
symbols | boolean | true |
all_symbols | boolean | false |
exclude_confusable | boolean | false |
custom | string | "" |
Response fields
| Field | Type |
|---|---|
password | string |
length | integer |
charset_size | integer |
entropy_bits | number |
settings | object |
Example response
{
"password": "aB3!kZ9@mP2#nQ7$",
"length": 16,
"charset_size": 85,
"entropy_bits": 104.8,
"settings": {
"lower": true,
"upper": true,
"digits": true,
"symbols": true,
"all_symbols": false,
"exclude_confusable": false,
"custom": ""
}
}Entropy guidance
Weak < 40 bits
Moderate 40–72 bits
Strong 72–100 bits
Very strong 100–128 bits
Exceptional 128+ bits