September 30, 2020

Public API

Stan Bright @StanBright

I'd like to announce that SaaSHub has a simple public API now. There are two endpoints as of now. In general, that should be sufficient for some basic integrations; however, the API could be extended in the future.

The API is free and, all you need is a SaaSHub user account.

In essence, you can get all the alternatives to a given product through a simple GET query https://www.saashub.com/api/alternatives/__query__?api_key=__your_api_key__

You can find the relevant docs here https://www.saashub.com/site/api

If you decide to use the API and need any help or have an idea how to improve it, please don't hesitate to ping me. Thanks!

  1. 2

    What was the reasoning putting your api key passed in via a query parameter instead of headers?

    1. 1

      It's a touch easier.

  2. 2

    Congrats! Did you find any gotchas when building a public API?

    1. 1

      I wouldn't say. Given that I already have an "internal API" used for some of UI functionality and that the backend is in Ruby on Rails - it was straightforward. A few hours job.