API
TinyTools API
Eine kostenlose REST-API für Generatoren und Hilfsfunktionen. Kein API-Key, keine Registrierung.
Alle Endpunkte nutzen GET, liefern JSON und erlauben Cross-Origin-Aufrufe. Du kannst sie also aus dem Browser, aus Skripten oder von der Kommandozeile aufrufen.
Schnellstart
Basis-URL
https://tinytools.cc/api/v1
curl "https://tinytools.cc/api/v1/uuid?count=3&format=text"
Antwortformate
Standardmäßig sind Antworten JSON in der Form { "data": … }. Mit format=text erhältst du Klartext mit einem Wert pro Zeile, praktisch für Shell-Skripte.
Rate-Limit
60 Anfragen pro Minute pro Client. Jede Antwort enthält die Header X-RateLimit-Limit, X-RateLimit-Remaining und X-RateLimit-Reset. Bei Überschreitung erhältst du 429 mit einem Retry-After-Header.
Datenschutz und faire Nutzung
Anfragen werden anonym pro Endpunkt gezählt. Deine Adresse wird nur für das Rate-Limit im Arbeitsspeicher gehalten und nie gespeichert. Bitte nutze die API nicht für missbräuchliche Mengen. Brauchst du mehr, melde dich bei uns.
Fehler
Fehler nutzen den passenden HTTP-Status und einen JSON-Body:
HTTP/1.1 400 Bad Request
{
"error": {
"code": "invalid_parameter",
"message": "Parameter \"count\" must be at most 100.",
"status": 400
}
}Endpunkte
GET/api/v1/uuid
Zum Web-Tool →Generate UUIDs. Returns random version 4 UUIDs or time-ordered version 7 UUIDs.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| version | 4 | 7 | 4 | UUID version. |
| count | integer 1–100 | 1 | How many UUIDs to return. |
| uppercase | boolean | false | Return uppercase hex. |
| hyphens | boolean | true | Keep the hyphens. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
"22730d25-dbbb-4b25-82a7-016b1a8b91e9",
"245b5ed9-0179-4be6-b773-c95a1dd2ae5d",
"ce07450b-32f7-4fab-ba60-18b54007e60d"
]
}GET/api/v1/password
Zum Web-Tool →Generate secure passwords. Cryptographically secure random passwords. At least one character of every enabled type is included.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| length | integer 4–128 | 20 | Password length. |
| count | integer 1–50 | 1 | How many passwords to return. |
| uppercase | boolean | true | Include A–Z. |
| lowercase | boolean | true | Include a–z. |
| digits | boolean | true | Include 0–9. |
| symbols | boolean | true | Include symbols. |
| excludeAmbiguous | boolean | false | Leave out look-alike characters (I, l, 1, O, 0). |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
"rSKRiut8AAzKA2NO"
]
}GET/api/v1/random-number
Zum Web-Tool →Generate random numbers. Random integers or decimals in a range, with optional unique values and sorting.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| min | number | 1 | Smallest value (inclusive). |
| max | number | 100 | Largest value (inclusive). |
| count | integer 1–1000 | 1 | How many numbers to return. |
| decimals | integer 0–8 | 0 | Decimal places. |
| unique | boolean | false | Draw without repeats. |
| sort | none | asc | desc | none | Sort order. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielanfrage
curl "https://tinytools.cc/api/v1/random-number?min=1&max=49&count=6&unique=true&sort=asc"
Beispielantwort
{
"data": [
4,
7,
13,
32,
40,
45
]
}GET/api/v1/name
Zum Web-Tool →Generate random names. Fictional first names, last names or full names for tests, mockups and stories.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| type | full | first | last | full | Kind of name. |
| count | integer 1–100 | 1 | How many names to return. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
"Karl Meyer",
"Yusuf Baker",
"Lena Roth"
]
}GET/api/v1/username
Zum Web-Tool →Generate usernames. Catchy usernames built from an adjective, a noun and an optional number.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| count | integer 1–100 | 1 | How many usernames to return. |
| separator | none | _ | . | - | none | Character between the parts. |
| numbers | boolean | true | Append a number (1–999). |
| capitalize | boolean | false | Capitalize each word. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
"mellow_forest_756",
"fuzzy_quartz_825",
"velvet_falcon_672",
"jolly_lagoon_133",
"bright_comet_513"
]
}GET/api/v1/color
Zum Web-Tool →Generate random colors. Random colors with HEX, RGB and HSL values.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| count | integer 1–100 | 1 | How many colors to return. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
{
"hex": "#46721d",
"rgb": "rgb(70, 114, 29)",
"hsl": "hsl(91, 59%, 28%)"
},
{
"hex": "#8df9ea",
"rgb": "rgb(141, 249, 234)",
"hsl": "hsl(172, 90%, 76%)"
},
{
"hex": "#748568",
"rgb": "rgb(116, 133, 104)",
"hsl": "hsl(95, 12%, 46%)"
}
]
}GET/api/v1/lorem
Zum Web-Tool →Generate placeholder text. Lorem ipsum paragraphs, sentences or words.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| type | paragraphs | sentences | words | paragraphs | Unit to generate. |
| count | integer 1–200 | 3 | How many units. |
| startWithLorem | boolean | true | Start with "Lorem ipsum dolor sit amet". |
| html | boolean | false | Wrap paragraphs in <p> tags. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": "Lorem ipsum dolor sit amet, consectetur, adipiscing elit commodo luctus ea deserunt. Ex vestibulum eiusmod sed ante curae cubilia, dolor nulla ad et dolor officia posuere."
}GET/api/v1/dice
Zum Web-Tool →Roll dice. Roll one or more dice with 2 to 1000 sides.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| sides | integer 2–1000 | 6 | Number of sides per die. |
| count | integer 1–100 | 1 | How many dice to roll. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": {
"rolls": [
16,
8
],
"sum": 24
}
}GET/api/v1/coin
Zum Web-Tool →Flip a coin. Flip one or more fair coins.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| count | integer 1–100 | 1 | How many coins to flip. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
"heads",
"heads",
"tails"
]
}GET/api/v1/emoji
Zum Web-Tool →Random emojis. Random emojis from a curated set of widely supported emojis.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| count | integer 1–100 | 1 | How many emojis to return. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": [
"🍋",
"🌵",
"💜",
"🔥",
"️"
]
}GET/api/v1/slug
Zum Web-Tool →Create a URL slug. Turns text into a URL-friendly slug. Umlauts and accents are transliterated.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| textPflicht | string | — | Text to convert. |
| separator | - | _ | - | Word separator. |
| lowercase | boolean | true | Convert to lowercase. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielanfrage
curl "https://tinytools.cc/api/v1/slug?text=Über%20uns%3A%20Größe%20%26%20Qualität"
Beispielantwort
{
"data": "ueber-uns-groesse-qualitaet"
}GET/api/v1/hash
Zum Web-Tool →Hash a text. Calculates a hex digest of the UTF-8 text. MD5 and SHA-1 are provided for checksums only.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| textPflicht | string | — | Text to hash. |
| algorithm | md5 | sha1 | sha256 | sha384 | sha512 | sha256 | Hash algorithm. |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": {
"algorithm": "sha256",
"hash": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
}
}GET/api/v1/base64
Zum Web-Tool →Base64 encode or decode. UTF-8 safe Base64 encoding and decoding, with an optional URL-safe alphabet.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| textPflicht | string | — | Text to encode, or Base64 to decode. |
| mode | encode | decode | encode | Direction. |
| urlSafe | boolean | false | Use - and _ and drop padding (encode only). |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielanfrage
curl "https://tinytools.cc/api/v1/base64?text=Hello%20TinyTools&mode=encode"
Beispielantwort
{
"data": "SGVsbG8gVGlueVRvb2xz"
}GET/api/v1/timestamp
Zum Web-Tool →Current time or timestamp conversion. Without a value it returns the current time. With a Unix timestamp (seconds, or milliseconds above 100 billion) it converts it.
Parameter
| Name | Typ | Standard | Beschreibung |
|---|---|---|---|
| value | number | — | Unix timestamp to convert (optional). |
| format | json | text | json | json returns { data }, text returns one value per line. |
Beispielantwort
{
"data": {
"unix": 1735689600,
"unixMs": 1735689600000,
"iso": "2025-01-01T00:00:00.000Z",
"utc": "Wed, 01 Jan 2025 00:00:00 GMT"
}
}