GetFreeToolsHub API
Integrate 100+ tools directly into your apps. The GetFreeToolsHub API lets you process PDFs, images, SEO, and more programmatically via simple REST endpoints.
Fast
Sub-second response times
Secure
API key authentication
Simple
REST + JSON, no SDKs needed
Authentication
All API requests require an API key passed as a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEYGet your API key
Generate an API key from your dashboard after subscribing to a Pro or Enterprise plan.
Go to dashboardEndpoints
Base URL: https://api.getfreetoolshub.com
/api/v1/pdf/mergeMerge PDF
Merge multiple PDF files into a single document.
curl -X POST https://api.getfreetoolshub.com/api/v1/pdf/merge \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"files": ["<base64_pdf_1>", "<base64_pdf_2>"],
"output_name": "merged.pdf"
}'Example Response
{
"success": true,
"file_url": "https://cdn.getfreetoolshub.com/output/merged_abc123.pdf",
"expires_at": "2024-12-01T12:00:00Z",
"pages": 12
}/api/v1/image/compressCompress Image
Compress an image file while maintaining quality.
curl -X POST https://api.getfreetoolshub.com/api/v1/image/compress \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"file": "<base64_image>",
"quality": 80,
"format": "jpeg"
}'Example Response
{
"success": true,
"file_url": "https://cdn.getfreetoolshub.com/output/compressed_abc123.jpg",
"original_size": 2048000,
"compressed_size": 512000,
"reduction": "75%"
}/api/v1/developer/json-formatFormat JSON
Validate and prettify a JSON string.
curl -X POST https://api.getfreetoolshub.com/api/v1/developer/json-format \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input": "{"name":"John"}"}'Example Response
{
"success": true,
"formatted": "{
"name": "John",
"age": 30
}",
"valid": true
}/api/v1/seo/analyzeSEO Analyze
Analyze a URL for SEO issues and suggestions.
curl -X POST https://api.getfreetoolshub.com/api/v1/seo/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'Example Response
{
"success": true,
"score": 74,
"issues": [
{ "type": "warning", "message": "Meta description too short" },
{ "type": "error", "message": "Missing alt tags on 3 images" }
],
"suggestions": ["Add structured data", "Improve page speed"]
}Error Codes
All errors return a consistent JSON structure.
{
"success": false,
"error": {
"code": 401,
"message": "Invalid API key"
}
}Bad Request
Invalid or missing parameters.
Unauthorized
Missing or invalid API key.
Forbidden
Plan limit reached for this endpoint.
Too Many Requests
Rate limit exceeded.
Server Error
Something went wrong on our end.
Rate Limits
Rate limits are applied per API key per minute.