30 Days of API Testing Day 5: Publicly Available APIs to Practice API Testing

@sandeep.tester Looks like this API is a good start for beginners :+1:

Here I am adding the repo of this api, hope it helps the participants to understand some internal stuff of this api.

cheers

I’ve been using the Meetup API in order to conveniently interrogate the raw data for Liverpool Tester Gathering. Authentic problems help me learn :slight_smile:

2 Likes

I would like to recommend some public APIs as below

Or you could consider to create Mock Server to simulate real API for practice purpose by using

  • PostMan
  • Swagger

I tried, they are easy to use

6 Likes

I am considering this is a useful resource for us to practice API Testing

It is a step-by-step instruction. Please see the below screenshot for an example of GET method.

7 Likes

Task is Contribute to the list of publicly available APIs over on The Club, that we can utilise to practice API testing.

I wrote about it on my blog.

https://testingeduindia.blogspot.com/2018/11/day-4-contribute-to-list-of-publicly.html

1 Like

Adding some suggestions from Twitter:

At site https://any-api.com you can get many public APIs from Google, Youtube. It is very easy to use and practice more.

4 Likes

Hi oceannguyen,

Good sharing

With JSON Server, look like it just can work on local machine, is there any way to public it then I can share with my friends to practice on it?

2 Likes

Hi @hongle,

Good question, you can install JSON Server on a server and public it to anyone using below command line

$ json-server --watch db.json --host <<server_ip>>

You can refer CLI usage for more details.

4 Likes

A list of some publicly available APIs:

4 Likes

My simple api test case on katalon URL: http://api.apigurus.com/iplocation/v1.8/locateip?key=xxxx&ip=125.212.208.58&format=JSON&capacity=6X and https://reqres.in


image

4 Likes

I found the open API for the movie database below: http://www.omdbapi.com/
I believe it is good for our practice.

6 Likes

Thanks @jvega. That’s where I got my pikachu :smiley:
Another API for game that similar to PokeAPI is:
https://developer.riotgames.com/api-methods/#champion-mastery-v3

5 Likes

I used https://automationintesting.online/ to completed the excersise 1.

4 Likes

I tried using RegRex for the first exercise. Refer to more public APIs here: https://github.com/abhishekbanthia/Public-APIs

4 Likes

I learnt and practiced with the 2nd one you listed out (https://any-api.com/). Seems we have same sense this point :sunglasses:

5 Likes

I use Postman to practice API testing

5 Likes

There are some good resources I found to practice API testing:

1 Like

Hi guys,

I started a few API requests with site http://www.omdbapi.com. I found it quite useful and what bout yours? :slight_smile:

I’ve used Transport for London API to practise on when I started out. Using Postman in the beginning just to start understanding at a basic level. I found it more useful using real data.

You need to create an account. They limit traffic requests up to a maximum of 300 calls per minute per data feed.

Below is the link:

https://api.tfl.gov.uk/

Any questions let me know.

Happy testing!

1 Like