Daily Free Tools

API Documentation

Access our powerful tools programmatically with our simple, privacy-focused API

API Overview

The DailyFree.tools API provides programmatic access to our collection of privacy-focused tools. All processing happens client-side - no data is ever sent to our servers.

🔒

Privacy First

All processing happens in the browser. No data is transmitted to our servers.

Lightweight

Simple RESTful endpoints with minimal payloads for maximum performance.

🌐

Cross-Platform

Works with any programming language that can make HTTP requests.

Authentication

Our API uses API keys for authentication. Include your API key in the header of all requests:

Authorization: Bearer YOUR_API_KEY

To get an API key, please contact us with details about your intended use.

Available Endpoints

GET /api/v1/tools

List all available tools with their endpoints and descriptions.

POST /api/v1/text/case-convert

Convert text between different cases (lower, upper, title, sentence, etc.).

Request

{
  "text": "sample text to convert",
  "caseType": "title" // options: lower, upper, title, sentence, camel, pascal, snake, kebab
}

Response

{
  "success": true,
  "result": "Sample Text To Convert",
  "processingTimeMs": 12
}
POST /api/v1/image/compress

Compress an image with specified quality settings.

Request

{
  "image": "base64EncodedImageString",
  "quality": 80, // 1-100
  "outputFormat": "webp" // jpeg, png, webp
}

Response

{
  "success": true,
  "result": "base64EncodedCompressedImage",
  "originalSize": 1024,
  "compressedSize": 512,
  "processingTimeMs": 245
}
GET /api/v1/generate/password

Generate a secure random password with customizable parameters.

Parameters

{
  "length": 12, // default: 12
  "includeNumbers": true, // default: true
  "includeSymbols": true, // default: true
  "includeLowercase": true, // default: true
  "includeUppercase": true // default: true
}

Response

{
  "success": true,
  "result": "X7$kL9#pQ2!m",
  "strength": "very strong", // weak, medium, strong, very strong
  "processingTimeMs": 8
}

Rate Limiting

To ensure fair usage for all users, our API has the following rate limits:

  • Free tier: 100 requests per hour
  • Basic tier: 1,000 requests per hour
  • Pro tier: 10,000 requests per hour

Exceeding these limits will result in a 429 Too Many Requests response.

Error Handling

All errors return a JSON response with the following structure:

{
  "success": false,
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {} // Additional error details if available
  }
}

Common Error Codes

Code HTTP Status Description
invalid_api_key 401 Invalid or missing API key
rate_limit_exceeded 429 Too many requests
invalid_parameters 400 Invalid request parameters
processing_error 500 Error processing the request
not_found 404 Endpoint not found

Support

For API support, feature requests, or to report issues, please contact us or open an issue on our GitHub repository.