JSON to Chart Image API

Generate charts (images base64) based on your JSON objects. Be able to visualize your data with this API.

About the API:

This API will generate charts based on the information that you pass to it. Be ready to visualize your data and create charts faster than ever. 

 

What this API receives and what your API provides (input/output)?

 

This API will receive a JSON object with all the data that you want to visualize. Get a base64 image for you to visualize your chart. 

 

What are the most common uses cases of this API?

 

This API is ideal for creating charts that will display the information you want. The charts that you can create are up to you. The information will be selected for you and you will have fully personalized charts to work with. 

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no limitations between plans. 

API Documentation

Endpoints


Pass the JSON object with the data you want to display on a chart. 

 

provider: this field accepts the value "charts"
height: height of image generated. Max height is 800
width: width of the image generated. Max width is 800
data: In this field you provide your chart data



                                                                            
POST https://zylalabs.com/api/590/json+to+chart+image+api/403/chart+generator
                                                                            
                                                                        

Chart Generator - Endpoint Features

Object Description
Request Body [Required] Json
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"data":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQCAYAAAByNR6YAAAABmJLR0QA/wD/AP+gvaeTAAAgAElEQVR4nOzdeXwUVdY//s+51Z2NNewBUcRdVCCJsoUQlUUdUb/PGMbHFQLpQALOOD+XmdFx4uiMC7MJJtAdBnCbBXQeZ+RRQBBIwqIkRHRwfWRENOwEErJ21T2/P5JAB7JCqrvTOe/Xi9eL3Fr65HRV90ndW7cAIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIfyPAh2AOCUxqzAz0DG0Vm5GXFDHmrBmWVDH5yt/yowOE6s/8evoMHmhezpOrO0p7647OszvPf5vb3WYWEVocAQ6ANHArwIdQBsE94cVSS5DgLyHQY7kPRKiSVJgiQ7D5XJdTUSXud3uNwIdi2i75OTksF69ej0UExPz+8zMTDPQ8YSK0/Mq54l/BEOe5ZwKblJgBanzoyMCHcIZvi2panJZamrqBKXU6CYWl7jdbs/pjbNmzbrGMIxLW/sBxc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YHnN0VLv3E0PxuXY+xt0OlJgNUIKrFZIWrDzPG2Yfwcwtr6NCV8T6eTcOdcWNbOp/w86ZkrM3nF5fbFFhNHMuAoNHvfQ+JYAvgDTB6ywjU1sdRw9vqsDTBMhX072kvzar1PlOClrV1fLqD5fmdYgTWqQIj6fmQYCOA/AYACDAPQ+19fpHuHA8JhTIyo0gO3flp6oquGE/Adjd57r/kUDUmA1QgqsFiQt3J6klforGv619LYm5wOtuOITFB+ck+fv7FIT5R2pgThAjQOQeNq8L00pB9FHYBQCKHQwNr0/N3aPzeG2VVDkOIRJfu0XMjke84ctkUaEM8YBY6hmDAQhBpqHksJAMGK49spTTIs7ar0SAnaDsI81iqFoNxj7lGEcJDaz+kSFD4zpFhZhgfHtsary8mpr/ftzYm9vx9cXtaTAaoQUWE1hpsRFRY+C+Tc4dfXHBPCb3EOxv27lY26C9oOzkWki4gBEtLhh/TQRoHzFejOiygo2zri+yu54mxG0OQ4Rkl/7dYgcJ2R/HM1aD3QqHdNE8XQxgB7t9HJeAIcJKD6jeCIUm7B2Ow6e+La5K+yjFmzrHukMexLavM0wnCcsC38pc1gvFqbFe9spRnGKFFiNkAKrETe+9EFvLzleBXCzT/NBZro7b27s+jbsqkN8cAK100SY/boPV8wJTBRXN03Ela3Y9MxpIuaO2GV3vD46TI47KMmv/QKeY9/iicFDmeuKJsJQqi2mBgPo1k4vVw3gKAHFDNoNYB8IxQS9mxj7TOLimD7/2bNy2jSrn...
                                                                                                                                                                                                                    
                                                                                                    

Chart Generator - CODE SNIPPETS


curl --location --request POST 'https://zylalabs.com/api/590/json+to+chart+image+api/403/chart+generator' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
    "provider": "charts",
    "height": 400,
    "width": 600,
    "data": {
        "type": "line",
        "data": {
            "labels": [
                "Sunday",
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday"
            ],
            "datasets": [
                {
                    "data": [
                        86,
                        114,
                        106,
                        106,
                        107,
                        111,
                        133
                    ],
                    "label": "Total",
                    "borderColor": "#3e95cd",
                    "backgroundColor": "#7bb6dd",
                    "fill": false
                },
                {
                    "data": [
                        70,
                        90,
                        44,
                        60,
                        83,
                        90,
                        100
                    ],
                    "label": "Accepted",
                    "borderColor": "#3cba9f",
                    "backgroundColor": "#71d1bd",
                    "fill": false
                },
                {
                    "data": [
                        10,
                        21,
                        60,
                        44,
                        17,
                        21,
                        17
                    ],
                    "label": "Pending",
                    "borderColor": "#ffa500",
                    "backgroundColor": "#ffc04d",
                    "fill": false
                },
                {
                    "data": [
                        6,
                        3,
                        2,
                        2,
                        7,
                        0,
                        16
                    ],
                    "label": "Rejected",
                    "borderColor": "#c45850",
                    "backgroundColor": "#d78f89",
                    "fill": false
                }
            ]
        }
    }
}'

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the JSON to Chart Image API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

JSON to Chart Image API FAQs

The Chart Generator endpoint returns a base64-encoded image of the generated chart. This image can be directly embedded in web pages or applications for visualization purposes.

The key field in the response data is "data," which contains the base64 string representing the chart image. This string can be used to display the chart in various formats, such as PNG.

The parameters include "provider" (must be "charts"), "height" (max 800), "width" (max 800), and "data" (the JSON object containing the chart data). Users can customize the chart's dimensions and the data displayed.

The response data is structured as a JSON object with a single key, "data." The value associated with this key is a base64-encoded string representing the chart image, making it easy to decode and display.

The Chart Generator can visualize any data provided in a JSON format, such as numerical values, categories, or time series data. Users can create various chart types based on their specific data needs.

Users can customize their requests by adjusting the "height" and "width" parameters to fit their display requirements and by modifying the "data" parameter to include different datasets for visualization.

Users can expect to provide structured JSON data that includes labels and values. The API will generate charts based on this data, which can include bar charts, line graphs, or pie charts, depending on the input structure.

Data accuracy is maintained by ensuring that the input JSON is correctly formatted and contains valid values. Users are responsible for providing accurate data, as the API generates charts based solely on the input received.

General FAQs

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.

Payout Orders are processed between the 20th and the 30th of each month. If you submit your request before the 20th, your payment will be processed within this timeframe.


Related APIs