API Documentation

Integrate our tools directly into your workflow. While most users prefer the UI, our API provides powerful programmatic access.

POST /api/v1/base64

Encode and decode Base64 strings.

curl -X POST https://tooldock.dev/api/v1/base64 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/cve-lookup

Fetch details for a specific Common Vulnerabilities and Exposures (CVE) ID.

curl -X POST https://tooldock.dev/api/v1/cve-lookup \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/fuzzy-domain

Generate and analyze variants of a domain name to find potential phishing or typosquatting threats.

curl -X POST https://tooldock.dev/api/v1/fuzzy-domain \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/ip-info

Lookup IP address geolocation and details.

curl -X POST https://tooldock.dev/api/v1/ip-info \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/convert/json-to-csv

Convert data between JSON and CSV formats.

curl -X POST https://tooldock.dev/api/v1/convert/json-to-csv \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/convert/json-to-xml

Convert data between JSON and XML formats.

curl -X POST https://tooldock.dev/api/v1/convert/json-to-xml \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/known-bot-check

Check if an IP address belongs to a known bot or service.

curl -X POST https://tooldock.dev/api/v1/known-bot-check \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/password-generator

Create strong, secure, and random passwords.

curl -X POST https://tooldock.dev/api/v1/password-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/qrcode

Generate QR codes from text or URLs.

curl -X POST https://tooldock.dev/api/v1/qrcode \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/sentiment-analyzer

Analyze the sentiment and emotions within a block of text.

curl -X POST https://tooldock.dev/api/v1/sentiment-analyzer \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/stock-data

Fetch near real-time stock data for any ticker symbol.

curl "https://tooldock.dev/api/v1/stock-data?ticker=AAPL&limit=100&format=json" \
-H "Authorization: Bearer YOUR_API_KEY"
POST /api/v1/binary

Convert text to binary code and vice versa.

curl -X POST https://tooldock.dev/api/v1/binary \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/hashes

Generate hashes (MD5, SHA-1, SHA-256, etc.).

curl -X POST https://tooldock.dev/api/v1/hashes \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/ip-generate

Generate random IP addresses for a specified country.

curl -X POST https://tooldock.dev/api/v1/ip-generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/mac-address-generator

Generate random MAC addresses with custom formats.

curl -X POST https://tooldock.dev/api/v1/mac-address-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/security-headers

Analyze HTTP response headers for security.

curl -X POST https://tooldock.dev/api/v1/security-headers \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/token-counter

Estimate the token count for text with various LLM models.

curl -X POST https://tooldock.dev/api/v1/token-counter \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/url

Encode and decode strings for URL-safe usage.

curl -X POST https://tooldock.dev/api/v1/url \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'
POST /api/v1/user-agent

Parse, analyze, and generate User-Agent strings.

curl -X POST https://tooldock.dev/api/v1/user-agent \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "Tooldock - Love at First Byte"}'