📚 API Documentation
The MythicDot.AI API provides cloud-powered developer tools that you can integrate into your applications. All endpoints are free to use with no authentication required.
Introduction
Our API runs on Cloudflare Workers at the edge, providing low-latency responses globally. The API offers 18 pre-built tools for common developer tasks like UUID generation, JSON validation, text transformation, and more.
Base URL
https://mythicdot-ai.pages.dev/api
All API endpoints are relative to this base URL.
Authentication
Currently, the API is open and free to use without any authentication. Rate limiting may be applied in the future to prevent abuse.
Health Check
Check if the API is operational.
Response
{
"status": "healthy",
"timestamp": "2026-01-31T16:00:00.000Z",
"runtime": "cloudflare-worker"
}
List Agents
Get a list of all available agents/tools.
Response
{
"agents": [
{ "id": "uuid-generator", "name": "UUID Generator", "type": "utility" },
{ "id": "calculator", "name": "Calculator", "type": "math" },
...
]
}
Execute Tool
Execute a tool with the provided context.
Request Body
| Parameter | Type | Description |
|---|---|---|
| context | object | Execution context with tool parameters |
| context.agent_id | string required | The ID of the tool to execute |
Example Request
{
"context": {
"agent_id": "uuid-generator",
"count": 3
}
}
Example Response
{
"success": true,
"stdout": "Executed agent: uuid-generator",
"stderr": "",
"result": {
"count": 3,
"uuids": [
"a1b2c3d4-e5f6-4a7b-8c9d-e0f1a2b3c4d5",
"f6e5d4c3-b2a1-4f5e-6d7c-8b9a0f1e2d3c",
"c4d5e6f7-a8b9-4c0d-1e2f-3a4b5c6d7e8f"
]
},
"execution_time_ms": 1,
"return_code": 0
}
Try it →
API Statistics
Get API usage statistics.
Response
{
"agents": 18,
"tasks": 0,
"executions": 0,
"runtime": "cloudflare-worker"
}
UUID Generator
Generate RFC-4122 compliant UUIDs.
Parameters
| count | number | Number of UUIDs to generate (1-100, default: 1) |
Example
{ "context": { "agent_id": "uuid-generator", "count": 5 } }
Password Generator
Generate secure passwords with entropy scoring.
Parameters
| length | number | Password length (8-128, default: 16) |
| uppercase | boolean | Include uppercase letters (default: true) |
| lowercase | boolean | Include lowercase letters (default: true) |
| numbers | boolean | Include numbers (default: true) |
| symbols | boolean | Include symbols (default: true) |
Calculator
Perform math operations and number functions.
Parameters
| expression | string | Math expression like "5 + 3", "10 * 4", "2 ^ 8" or a number for functions |
Supported Operations
+ (add), - (subtract), * (multiply), / (divide), % (modulo), ^ (power)
For single numbers: sqrt, squared, cubed, abs, round, floor, ceil
Statistics
Calculate statistical measures for a dataset.
Parameters
| data | array | Array of numbers to analyze |
Returns
count, sum, mean, median, min, max, range, variance, std_dev, q1, q3, iqr
Text Transformer
Transform text with various operations.
Parameters
| text | string | The text to transform |
| operation | string | uppercase, lowercase, reverse, titlecase, slugify, camelcase, wordcount, charcount, linecount |
JSON Validator
Validate and analyze JSON structure.
Parameters
| json | string | JSON string to validate |
Timestamp Converter
Convert between date/time formats.
Parameters
| timestamp | string|number | "now", Unix timestamp (seconds or milliseconds), or ISO date string |
Color Converter
Convert between color formats (HEX, RGB, HSL).
Parameters
| color | string | HEX color code like "#6366f1" or "ff5733" |
More Tools
Additional tools available:
- markdown-converter - Convert Markdown to HTML
- url-parser - Parse URLs into components
- regex-tester - Test regular expressions
- base64-encoder - Encode/decode Base64
- hash-generator - Generate hash values
- code-generator - Generate code templates
- data-analyzer - Analyze data types
- api-mock - Generate mock API responses
- task-executor - Execute simple tasks
- demo - Test cloud execution