apyhub
Back

Text Styling API

What it does

Text Styling Tools lets you transform plain text into different formats, symbols, and encodings. Send text plus the requested mode or style, and get back the converted result in a structured response.

Use it to normalize user input, generate formatted labels, or create text for chat apps, social posts, and internal tooling. The case converter supports upper, lower, title, sentence, camel, pascal, snake, kebab, constant, alternating, and inverse. The fancy text generator applies a Unicode style to your text. The reverse endpoint can reverse characters, words, or lines.

It also includes utilities for invisible text and emoji code points. With invisible text, you can encode or decode hidden messages, strip invisible characters, or generate invisible character strings with an optional length and carrier. With emoji Unicode conversion, you can convert a value to a per-character Unicode breakdown or decode Unicode back into text.

For text rendering, the ASCII art endpoint turns a string into multi-line ASCII output and returns the font, fill character, line count, and width in columns. That makes it useful for banners, terminal output, previews, and automation that needs text in a more visual form.

β–£ ENDPOINT 01 / 06
POST
Text Case Converter
https://api.eu.apyhub.com/freedailypro/text-styling-api/text/case-convert

QUICKSTART

GUIDE

Quickstart

Convert a piece of text to the case you choose.

curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/case-convert" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"hello world from apyhub","case":"title"}'

What you'll get back

Returns a JSON object with tool, case, and result string fields. tool is the name of the tool that produced the response, case echoes the case that was applied, and result is the converted text.

{
  "tool": "text-styling-api",
  "case": "title",
  "result": "Hello World From Apyhub"
}
TRY ITLIVE Β· 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab β€” never sent to orbit or saved.
body*

About this endpoint

What it does

Converts the provided text to the requested case style and returns the applied case, the converted text, and the tool name in a JSON object.

Request Body

ParameterTypeMandatoryDescription
textStringYesThe input text to convert.
caseENUMYesThe case style to apply. Allowed values: upper, lower, title, sentence, camel, pascal, snake, kebab, constant, alternating, inverse.

Response

Returns a JSON object with three string fields: tool, case, and result. The tool field identifies the tool that produced the response, case echoes the applied case from the request, and result contains the converted text.

ParameterTypeMandatoryDescription
toolStringYesName of the tool that produced the response.
caseStringYesThe case that was applied (echoes the request).
resultStringYesThe converted text.
β–£ ENDPOINT 02 / 06
POST
Fancy Unicode Text Generator
https://api.eu.apyhub.com/freedailypro/text-styling-api/text/fancy

QUICKSTART

GUIDE

Quickstart

Format text into a fancy Unicode style by sending the text and style in a JSON body.

curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/fancy" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world","style":"bold"}'

What you'll get back

Returns a JSON object with three string fields: tool for the name of the tool that produced the response, style for the applied style, and result for the styled text in Unicode characters.

{
  "tool": "text-styling-api",
  "style": "bold",
  "result": "π‡πžπ₯π₯𝐨 𝐰𝐨𝐫π₯𝐝"
}
TRY ITLIVE Β· 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab β€” never sent to orbit or saved.
body*

About this endpoint

What it does

Generates a fancy Unicode version of the input text using the requested style, and returns the styled text along with the applied style and the tool name.

Request Body

ParameterTypeMandatoryDescription
textStringYesThe text to transform.
styleStringYesThe style to apply.

Response

Returns a JSON object with tool, style, and result string fields. result contains the styled text in Unicode characters, style echoes the requested style, and tool identifies the tool that produced the response.

ParameterTypeMandatoryDescription
toolStringYesName of the tool that produced the response.
styleStringYesThe style that was applied; echoes the request.
resultStringYesThe styled text, written with Unicode characters.
β–£ ENDPOINT 03 / 06
POST
Reverse Text
https://api.eu.apyhub.com/freedailypro/text-styling-api/text/reverse

QUICKSTART

GUIDE

Quickstart

Reverse the text using the default character mode.

curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/reverse" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world"}'

What you'll get back

Returns a JSON object with tool, mode, and result string fields. tool is the name of the tool that produced the response, mode is how the text was reversed, and result is the reversed text.

{
  "tool": "text-styling-api",
  "mode": "characters",
  "result": "dlrow olleH"
}
TRY ITLIVE Β· 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab β€” never sent to orbit or saved.
body*

About this endpoint

What it does

Reverses the provided text and returns the reversed string along with the reversal mode used and the tool name that produced the response.

Request Body

ParameterTypeMandatoryDescription
textStringYesThe text to reverse.
modeENUMNoHow the text is reversed. Allowed values: characters, words, lines.

Response

Returns a JSON object with three string fields: tool, mode, and result. tool identifies the tool that produced the response, mode indicates how the text was reversed, and result contains the reversed text.

ParameterTypeMandatoryDescription
toolStringYesName of the tool that produced the response.
modeStringYesHow the text was reversed: characters, words, or lines.
resultStringYesThe reversed text.
β–£ ENDPOINT 04 / 06
POST
Hide & Reveal Invisible Text
https://api.eu.apyhub.com/freedailypro/text-styling-api/text/invisible

QUICKSTART

GUIDE

Quickstart

Use mode and the text you want to transform to generate invisible text.

curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/invisible" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "encode",
    "text": "Hello world"
  }'

What you'll get back

Returns a JSON object with three top-level string fields: tool (the name of the tool that produced the response), mode (the mode that was used), and result (the transformed text output).

{
  "tool": "string",
  "mode": "string",
  "result": "string"
}
TRY ITLIVE Β· 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab β€” never sent to orbit or saved.
body*

About this endpoint

What it does

Encodes, decodes, strips, or generates invisible text based on the requested mode. It returns the selected mode, the textual result, and the tool name that produced the response.

Request Body

ParameterTypeMandatoryDescription
modeENUMYesOperation to run. Allowed values: encode, decode, strip, generate.
textStringNoInput text used by the encode, decode, or strip modes.
lengthNumberNoLength of the generated invisible string for generate mode. Must be between 1 and 500.
carrierStringNoCarrier text used for invisible-text generation or embedding, if applicable.

Response

Returns a JSON object with tool and mode string fields, plus a result string field. The mode value echoes the request, tool identifies the responding tool, and result contains the output text for the selected mode.

AttributeTypeMandatoryDescription
toolStringYesName of the tool that produced the response.
modeStringYesThe mode that was used; echoes the request.
resultStringYesThe output: text with a hidden message (encode), the hidden message (decode), the text without invisible characters (strip), or a string of invisible characters (generate).
β–£ ENDPOINT 05 / 06
POST
ASCII Art Text Generator
https://api.eu.apyhub.com/freedailypro/text-styling-api/text/ascii-art

QUICKSTART

GUIDE

Quickstart

Generate ASCII art from a short piece of text.

curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/ascii-art" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world"}'

What you'll get back

Returns a JSON object with tool, result, font, fill, lines, and widthColumns fields.

  • tool is the name of the tool that produced the response.
  • result is the ASCII art string, with lines separated by newline characters.
  • font is the font used.
  • fill is the character used to draw the letters.
  • lines is the number of text lines drawn.
  • widthColumns is the width of the widest line, in characters.
{
  "tool": "ascii-art",
  "result": " _   _\n| | | |\n| |_| |",
  "font": "standard",
  "fill": "#",
  "lines": 3,
  "widthColumns": 7
}
TRY ITLIVE Β· 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab β€” never sent to orbit or saved.
body*

About this endpoint

What it does

Generates ASCII art for the provided text and returns the rendered output along with metadata about the tool, font, fill character, line count, and output width.

Request Body

ParameterTypeMandatoryDescription
textStringYesText to convert into ASCII art.

Response

Returns a JSON object with tool, result, font, fill, lines, and widthColumns fields. result contains the generated ASCII art as a string with newline-separated lines; the other fields describe the generator used and basic dimensions of the rendered text. Success response: 200.

ParameterTypeMandatoryDescription
toolStringYesName of the tool that produced the response.
resultStringYesThe ASCII art. Lines are separated by newline characters.
fontStringYesName of the font used to draw the letters.
fillStringYesCharacter used to draw the letters.
linesNumberYesNumber of text lines that were drawn.
widthColumnsNumberYesWidth of the widest line, in characters.
β–£ ENDPOINT 06 / 06
POST
Emoji to Unicode Converter
https://api.eu.apyhub.com/freedailypro/text-styling-api/text/emoji-unicode

QUICKSTART

GUIDE

Quickstart

Convert a regular string into Unicode emoji/code-point data with the required operation and value fields.

curl -X POST "https://api.eu.apyhub.com/freedailypro/text-styling-api/text/emoji-unicode" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"operation":"toUnicode","value":"Hello 😊"}'

What you'll get back

Returns a JSON object with a tool string and a result field. For toUnicode, result is an array with one object per character, each containing char (the character), codePoint (the Unicode code point as a number), and hex (the code point in U+XXXX form).

{
  "tool": "text-styling-api",
  "result": [
    {
      "char": "H",
      "codePoint": 72,
      "hex": "U+0048"
    }
  ]
}
TRY ITLIVE Β· 10 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab β€” never sent to orbit or saved.
body*

About this endpoint

What it does

Converts text between emoji and Unicode representations. Send a value and an operation, and the endpoint returns the converted result along with the tool name that produced it.

Request Body

ParameterTypeMandatoryDescription
valueStringYesInput text to convert.
operationENUMYesConversion mode: toUnicode or fromUnicode.

Response

Returns a JSON object with required tool and result fields. tool is a string naming the tool that produced the response, and result is either an array of Unicode character objects or a decoded text string, depending on the requested operation.

ParameterTypeMandatoryDescription
toolStringYesName of the tool that produced the response.
resultString ArrayYesFor toUnicode, a list with one entry per character; for fromUnicode, the decoded text. When it is an array, each item is an object with char, codePoint, and hex fields.

Notes

For toUnicode, the result field is an array of objects, and each object contains char as a string, codePoint as a number, and hex as a string in U+XXXX form. For fromUnicode, result is a string.

β–£ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.