No Code API automation – API Monkey

Public API’s for Testing

An API is a set of programming codes that enables data transmission between one software product and another. APIs are needed to bring applications together in order to perform a designed function built around sharing data and executing pre-defined processes. They work as the middleman, allowing developers to build new programmatic interactions between the various applications, people and businesses use on a daily basis.

Public APIs are designed to be shared with the outside world. External developers can build applications to take advantage of the capabilities within these APIs. It is important to note that some companies only provide semi-public access by not offering public documentation and allowing developers to submit their apps for approval. These APIs are available for any third-party developers. A public API program allows for increasing brand awareness and receiving an additional source of income when properly executed.

Types of Public API’s

There are two types of public APIs.

Open API (free of charge): This API suggests that all features of such an API are public and can be used without restrictive terms and conditions. For instance, it’s possible to build an application that utilizes the API without explicit approval from the API supplier or mandatory licensing fees. The definition also states that the API description and any related documentation must be openly available, and that the API can be freely used to create and test applications.

Commercial API: Users pay subscription fees or use APIs on a pay-as-you-go basis. A popular approach among publishers is to offer free trials, so users can evaluate APIs before purchasing subscriptions. 

Differences between Public API and Private API’s

API allows applications to access data and interact with external software components, operating systems, or microservices. APIs do perform similar functions, but they can also differ from one another in some slight ways.

  • Public API’s don’t require any authentication, whereas private API’s are only open to those that have been granted access. 
  • Public API is available to any third-party developers, whereas private APIs are solely used within an organization.
  • Apps with public APIs are mostly designed for end customers, whereas apps with private API’s are mostly built for company employees.

List of Public API’s

1. Animals

Cat Facts: Facts about cats.
URL: https://alexwohlbruck.github.io/cat-facts/
Example Request: curl –location –request GET ‘https://cat-fact.herokuapp.com/facts/

Dog Breeds: List all dog breeds.
URL: https://dog.ceo/api/breeds/list/all
Example Request: curl –location –request GET ‘https://dog.ceo/api/breeds/list/all

Pet Food Facts: Returns facts on pet food using barcode.
URL: https://world.openpetfoodfacts.org/api/v0/product/20106836.json
Example Request: curl –location –request GET ‘https://world.openpetfoodfacts.org/api/v0/product/20106836.json’

2. Anime

Studio Ghibli: Resources from Studio Ghibli films
URL:  https://ghibliapi.herokuapp.com
Example Request: curl –location –request GET ‘https://ghibliapi.herokuapp.com

Waifu.pics: Image sharing platform for anime images
URL: https://api.waifu.pics/type/category
Example Request: curl –location –request GET ‘https://api.waifu.pics/type/category

NekosBest: Neko Images & Anime roleplaying GIFs
URL: https://nekos.best/api/v1/:endpoint
Example Request: curl –location –request GET ‘https://nekos.best/api/v1/:endpoint

3. Development

APIs.guru: Wikipedia for Web APIs, OpenAPI/Swagger specs for public APIs
URL: http://api.apis.guru/v2/list.json
Example Request: curl –location –request GET ‘http://api.apis.guru/v2/list.json

Blitapp: Schedule screenshots of web pages and sync them to your cloud
URL: https://blitapp.com/api/
Example Request: curl –location –request GET ‘https://blitapp.com/api/

CountAPI: Free and simple counting service. You can use it to track page hits and specific events
URL: https://api.countapi.xyz/hit/namespace/key
Example Request: curl –location –request GET ‘https://api.countapi.xyz/hit/namespace/key

4. Jokes

Random Joke: Returns a random joke.
URL: https://official-joke-api.appspot.com/random_joke
Example Request: curl –location –request GET ‘https://official-joke-api.appspot.com/random_joke

Dad Jokes: Returns a random dad joke.
URL: https://icanhazdadjoke.com/
Example Request: curl –location –request GET ‘https://icanhazdadjoke.com/’ \
–header ‘Accept: application/json’

Chuic Norris Joke: Generates a Chuck Norris joke.
URL: http://api.icndb.com/jokes/random?firstName=John&lastName=Doe
Example Request: curl –location –request GET ‘http://api.icndb.com/jokes/random?firstName=John&lastName=Doe

5. Music

Lyrics Search: Searches for the lyrics of an artist and song title.
URL: https://api.lyrics.ovh/v1/:artist/:title
Example Request: curl –location –request GET ‘https://api.lyrics.ovh/v1/beatles/Lucy in the Sky with Diamonds’

JioSaavn: API to retrieve song information, album metadata and many more from JioSaavn
URL: https://www.jiosaavn.com/album/biba/98G3uzIs2qQ_
Example Request: curl –location –request GET ‘https://www.jiosaavn.com/album/biba/98G3uzIs2qQ_

Mixcloud: Music
URL: https://www.mixcloud.com/discover/funk/
Example Request: curl –location –request GET ‘https://www.mixcloud.com/discover/funk/

Leave a comment

Your email address will not be published.