gettoolbox

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/ip

IP 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

FieldType
ipstring
versionstring
countrystring
country_codestring
regionstring
citystring
zipstring
latitudenumber
longitudenumber
timezonestring
ispstring
orgstring
asstring
hostnamestring
sourcestring
query_timestring

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/password

Password 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

ParameterTypeDefault
lengthinteger16
lowerbooleantrue
upperbooleantrue
digitsbooleantrue
symbolsbooleantrue
all_symbolsbooleanfalse
exclude_confusablebooleanfalse
customstring""

Response fields

FieldType
passwordstring
lengthinteger
charset_sizeinteger
entropy_bitsnumber
settingsobject

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

gettoolbox.dev — free tools for developers