7
4 Comments

Public API

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.

Trending on Indie Hackers
I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments How to create a rating system with Tailwind CSS and Alpinejs 7 comments