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


(Nagesh) #23

@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


(duncs) #24

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:


(rosiecorn) #25

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


(Tu Anh Nguyen - KMS) #26

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.


(srinivas) #27

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


(Heather) #28

Adding some suggestions from Twitter:


(KMS Nam Nguyen) #29

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


(rosiecorn) #30

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?


(Duong) #31

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.


(Thanh) #32

A list of some publicly available APIs:


(Trang Ta) #33

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


(Tuan Tran) #34

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


(Dong) #35

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


(Thao) #36

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


(Tien) #37

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


(kms_lantran) #38

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


(Hang Truong) #39

I use Postman to practice API testing


(Han Ho) #40

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