Text Art Figlet API

Generate an ASCII art from a given word or text.

To access the web version of this service click here.

API End Points

The end point for connecting : If you subscribe directly from us use this endpoint.
	http://api.textart.io/figlet
	

Ratelimiting

Our Text Art Figlet API is public. To maintain our service level we ratelimit the number of API calls. For public API calls this is 60 API calls a day with distribution of 5 calls an hour. For paid plans this limit is increased according to the service level described in the plan.

Authentication

For public calls you don't need to pass any API key. Just invoke the endpoint (see examples below). For paid subscriptions you need to pass the API key.

Currently we support API Key based authentication. Please set a request header 'X-Textart-Api-Secret' with value of your API key. Alternatively you can also pass api_key= as a request parameter, though we strongly discourage this mode of passing the key.

Listing available figlet styles public ratelimited

List all the available figlet styles

POST  /figlet/list_styles

List all the available figlet styles

Parameters
Parameter NameParameter TypeDescription
output
The result is a json object with list of available figlet styles

Here is an example using curl.

curl -v -i -X GET -H 'X-Textart-Api-Secret: <api_key>' http://api.textart.io/figlet/list_styles.json
{
    "success": {
        "total": 236
    },
    "contents": {
        "fonts": [
            "3-d",
            "3x5",
            "5lineoblique",
            "5x7",
            "5x8",
            "6x10",
            "6x9",
            "acrobatic",
            "alligator",
            "alligator2",
            ...
           ]
      }
}
        

Convert the given text into figlet (text art) with the chosen figlet style public ratelimited

Convert a text to one of the figlet styles

POST  /figlet

Convert a text to one of the figlet styles

Parameters
Parameter NameParameter TypeDescription
textstringText to translate.
stylestringFiglet style to use.
encodeboolShould Base64 encode the result or not.
output
The result is a json object with the figlet as (encoded) text.

Here is an example using your browser to convert the given text. Click on the below link to get the json response for the text.

http://api.textart.io/figlet.json?text=ThisIsAwesome&style=slant

Here is an example using CURL to convert the given text.

curl -v -i -X POST -H 'X-Textart-Api-Secret: <api_key>' http://api.textartio/figlet.json -d text=ThisIsAwesome -d style=slant
	

The above call if successful will return a json response something like this.

{
    "success": {
        "total": "1"
    },
    "contents": {
        "style": "slant",
        "figlet": "ICBfX19fX19fXyAgICBfICAgICAgX19fXyAgICAgX19fICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogL18gIF9fLyAvXyAgKF8pX19fXy8gIF8vX19fXy8gICB8XyAgICAgIF9fX19fICBfX19fX19fX18gIF9fX18gX19fICBfX18gCiAgLyAvIC8gX18gXC8gLyBfX18vLyAvLyBfX18vIC98IHwgfCAvfCAvIC8gXyBcLyBfX18vIF9fIFwvIF9fIGBfXyBcLyBfIFwKIC8gLyAvIC8gLyAvIChfXyAgKS8gLyhfXyAgKSBfX18gfCB8LyB8LyAvICBfXyhfXyAgKSAvXy8gLyAvIC8gLyAvIC8gIF9fLwovXy8gL18vIC9fL18vX19fXy9fX18vX19fXy9fLyAgfF98X18vfF9fL1xfX18vX19fXy9cX19fXy9fLyAvXy8gL18vXF9fXy8gCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK"
    }
}
	

Subscribe

Text Art Figlet API Basic

$4.99/mo

No contracts. Anytime cancellation.
1 API Key
2000 API Calls / day
Best in class backend tools
Easy to use REST API
Immediate provisioning

Text Art Figlet API Premium

$9.99/mo

No contracts. Anytime cancellation.
1 API Key
5000 API Calls / day
Best in class backend tools
Easy to use REST API
Immediate provisioning

Text Art Figlet API Ultra

$24.99/mo

No contracts. Anytime cancellation.
1 API Key
15000 API Calls / day
Best in class backend tools
Easy to use REST API
Immediate provisioning