Where are all the public brand APIs?
Tags: api, discuss, beginners, ruby
Published: 2019-06-13 13:15:21

---
title: Where are all the public brand APIs?
published: true
cover_image:
description: An argument for brands to participate in the API economy 
tags: api, discuss, beginners, ruby 
---

> ["A business’ potential can be expanded when they offer an API. There are only so many resources a business can offer. Having an API available, with developers who are eager to build on them, can expand their offerings to more people."](https://sproutsocial.com/insights/what-is-an-api/) - Jenn Chen

# APIs are awesome

Starting this post off with possibly the most lukewarm take of my life - 
APIs (application programming interfaces) are awesome. Before I embarked on my journey to switch careers from Human Resources to Software Engineering I kept track of my project ideas for the time when my skillset could finally allow for me to tackle them. Every project (save for one) has involved working with at least one API. I love utilizing public APIs to add increased functionality or even to spark my creativity for my next project! That being said...

# Where are all the brand APIs?

As a longtime makeup enthusiast I was excited to combine my personal interests with my skillset. Unfortunately for some of my project ideas, I could not find makeup brands with their own public API which frankly stumped me. Expanding my search outside of the beauty realm I found a similar issue. Why are brands not making already publicly available data about their products easily accessible for developers to create with? Don't they know there are developers out there that want to make interesting projects and increased utility with their products?! This post is my attempt to call out to all brands - "If you build a public API, developers will come."

# Why should a brand provide their own public API?
- [Easily expand the reach of a brand](https://nordicapis.com/3-steps-to-increasing-brand-awareness-with-apis/)
- [Opportunity for innovation without substantial investment on the brand's part](https://www.zdnet.com/article/opening-up-apis-brings-in-benefits/)
- [Increased brand utility](https://www.redhat.com/en/topics/api/what-are-application-programming-interfaces)
- Potential for easy and free market validation

# Building my own example public API
It would seem to reason that allowing new ways for their products to be interacted with would be in a brand's best interest yet here we are. So I gathered publicly available information from my favorite makeup brand, Fenty Beauty by Rihanna, to create a public API that I can continue to work with, other developers can try out and serve as an example for how easy it would be for a brand to implement it themselves. 
![](https://thepracticaldev.s3.amazonaws.com/i/mtu2kejd0qyaatwm22gj.png)

I would estimate that completing this task using Ruby on Rails and Heroku took me less than a days worth of work for 295 items (imagine how quick it could be for a brand with their own data!) for the first 9 endpoints. 
[The static page outlining the endpoints for the Fenty Beauty API can be found here.] (https://fentybeautyapi.herokuapp.com/)


# Takeaways

It would be easy and beneficial for brands to provide public APIs for developers to access. If brands created and maintained their own public APIs they have the potential to increase the endpoints for a customer to interact with their product and facilitate innovation with their own product.


## Resources:
What is an API:
- https://medium.com/@TebbaVonMathenstien/what-is-an-api-and-why-should-i-use-one-863c3365726b
- https://sproutsocial.com/insights/what-is-an-api/

API economy:
- https://medium.com/ipg-media-lab/what-is-the-api-economy-and-how-brands-can-benefit-from-it-b46210d0434d
- https://mashable.com/2011/01/04/brand-open-api-developers/
- https://www.redhat.com/en/topics/api/what-are-application-programming-interfaces

Wonderful public APIs:
- https://www.programmableweb.com/category/all/apis
- https://github.com/n0shake/Public-APIs#product
- https://github.com/public-apis/public-apis
- https://last-airbender-api.herokuapp.com/