REST API reference for integrating ITFast tools into your applications, scripts, and AI agents.
List all available tools
Tool detail with parameter schema
Execute a tool
Check your remaining credits
Execution history
Execute any tool. Input format depends on the tool type.
{
"input": "Write a professional email declining a meeting",
"preferences": {
"tone": "formal",
"outputLength": "detailed",
"outputFormat": "bullets",
"customInstructions": "Keep it under 200 words"
}
}{
"input": "https://example.com/article"
}{
"file": "JVBERi0xLjQK...",
"fileName": "report.pdf"
}
// Or use plain text instead of file upload:
{
"input": "Paste your document text here..."
}File uploads use base64 encoding. Supported: PDF, DOCX, TXT, CSV, MD, RTF. Max 75MB.
{
"success": true,
"output": "The AI-generated result...",
"usage": {
"tokensIn": 1234,
"tokensOut": 567,
"totalTokens": 1801,
"creditsCharged": 1,
"creditsRemaining": 49
},
"meta": {
"toolId": "email-writer",
"toolName": "Email Writer",
"durationMs": 3200,
"model": "gpt-4.1-mini"
}
}formal, casual, technical, friendly
short, medium, detailed
paragraphs, bullets, numbered, table
Free text (max 500 chars)
{
"subscriptionCredits": 45,
"purchasedCredits": 10,
"totalAvailable": 55,
"totalEarned": 100,
"totalSpent": 45
}{
"tools": [
{
"id": "pdf",
"name": "PDF Analyzer",
"description": "Upload a PDF to extract summary, key points, and action items",
"category": "CONVERT",
"credits": 1,
"inputType": "file",
"placeholder": "Upload a PDF file..."
},
...
],
"pagination": {
"page": 1,
"limit": 50,
"total": 196,
"totalPages": 4
}
}Filter by category: ?category=CONVERT — Paginate: ?page=2&limit=25
Returns tool detail including a JSON Schema for the input parameters.
{
"id": "pdf",
"name": "PDF Analyzer",
"description": "...",
"category": "CONVERT",
"credits": 1,
"inputType": "file",
"parameters": {
"type": "object",
"required": ["input"],
"properties": {
"input": { "type": "string", "description": "..." },
"file": { "type": "string", "description": "Base64-encoded file" },
"fileName": { "type": "string", "description": "Original filename" },
"preferences": { ... }
}
}
}{
"executions": [
{
"id": 42,
"toolSlug": "pdf",
"status": "completed",
"durationMs": 3200,
"tokensIn": 1234,
"tokensOut": 567,
"creditsCharged": 1,
"costUsd": 0.0014,
"createdAt": "2026-02-11T10:30:00Z"
}
],
"pagination": { "page": 1, "limit": 20, "total": 42, "totalPages": 3 }
}Filter: ?tool=pdf — Paginate: ?page=2&limit=50
All errors return a consistent JSON format.
{
"error": {
"code": "INSUFFICIENT_CREDITS",
"message": "Not enough credits to execute this tool"
}
}Per API key. Exceeding returns 429 with Retry-After header.
Subscription credits are deducted first, then purchased credits.
Create an API key
Browse tools
GET /api/v1/tools or
Execute a tool
curl -X POST https://itfast.eu/api/v1/execute/quote \
-H "X-Client-Id: YOUR_CLIENT_ID" \
-H "X-Client-Secret: YOUR_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{"input": "3 hours web dev at 85/hr"}'Check balance
GET /api/v1/credits