Software Alternatives & Reviews
Register   |   Login

Public API

SaaSHub's public API

This is a "beta" version of our API. It is simple and has only two endpoints. This is a JSON API and follows the jsonapi.org specification.

To make requests and access the API you need an API key. All SaaSHub users can find their api_key in their profile - /profile/api_key.

If you are using the API, you have to disclose somewhere on your website that you are using SaaSHub' API.

/api/alternatives/__query__

Returns the first product that matches the query and the top 10 relevant alternatives.
https://www.saashub.com/api/alternatives/__query__?api_key=__your_api_key__

e.g.
https://www.saashub.com/api/alternatives/basecamp?api_key=1234

JSON Response:

{
  "data":{
    "product": {
      "id":"0ab5e650b476","type":"product",
      "attributes": {
        "name":"Basecamp",
        "saashubUrl":"https://www.saashub.com/basecamp-alternatives",
        "tagline":"A simple and elegant project management system."
      }
    },
    "alternatives":[
      {"id":"e36e0c6b8e80","type":"product","attributes":{...}},
      {"id":"e36e0c6b8e80","type":"product","attributes":{...}},
      {"id":"e36e0c6b8e80","type":"product","attributes":{...}},
      ...
    ]
  }
}

/api/product/__query__

The same as the /alternatives endpoint but returns only product data.
https://www.saashub.com/api/product/__query__?api_key=__your_api_key__