API monitoring in RapidSpike works very similarly to standard web page Uptime monitoring. A Website in RapidSpike can be any domain, including an API domain. Equally, a Website Page can be any API resource path that you would like.
For example, an API endpoint that looks like this…
…would be added as a website with the domain “https://api.mywebsite.com” and a page whose path is “/my-resource”.
A page can have multiple Uptime monitors created on it, each with different configurations such as request HTTP verb (GET, POST, PUT, DELETE) and response HTTP and content checks. If you have a RESTful API then you could create multiple Uptime monitors to check each behaviour of the endpoints for creating (POST), reading (GET) and updating (PUT) things there.
To add an API monitor, you must first add your API domain as a Website and select your uptime test frequency:
Then add your resource path as a Page. If you leave the Uptime option ticked, this will create a simple GET request on the path you have added that evaluates the response HTTP code to 200:
You can add multiple more Uptime monitors to a single Page in it’s settings: