There are two ways you can add an API to Radar.
Most commonly used APIs are available as one-click installers. This feature is in active development. You can also request a one-click installer for your requirement.
This way lets you add any API you want. Open Radar, click the
+ icon in the top-right corner.
The minimum requirement to add an API is Name and URL. You can also add query parameters, body parameters, headers, authentication headers if needed.
For a better understanding, let's display the latest Bitcoin price on Radar. Coincap provides a public API to fetch Bitcoin price. We will use that. You can also watch the process in a 2 min YouTube video.
For post requests, select POST from the dropdown and click the Body tab to add body parameters. Following body parameters are supported.
Radar will let you know if the API returns an error or there's an error in your input format. Fix the issues and click on "Next" to add an API.
After adding an API, you need to mention which data point you want Radar to display. Check customizing the value to know how.