Useful real-world APIs to test against

(Andrew) #1

In order for me to firm up my understanding of API testing I’m looking at testing against some real-world API’s. For understanding, I’m going to be writing my API tests in C#, ideally utilising RestSharp

I was just after some advise from people as to some API’s which would be good to test against for training purposes, as hopefully some of these have been utilised in the past by people. I’m looking to cover off different types of authentication, parameters and headers being passed across, sending different types of requests(GET, PUT, POST etc) and in turn analysing responses(be it in XML or JSON format)

(Mark) #2

Hi @tilston1001

I have created an API that meets your requirements that can be found here: The API has documentation around for GET, PUT, POST, DELETE and PATCH requests and they support either XML or JSON. There is also different types of authentication, both Basic and token based for you try out.

Additionally, I have a repository that contains different language flavours of an automated API checking framework to try out. You can find a C# flavour which @g33klady contributed that shows how to build API checks and organise your requests and payloads. Feel free to check it out:

Let me know how you get on,

(Hilary) #3

Thanks for the shout out :smiley: I have some other examples (along with workshops on using C# to test APIs) in Github (for instance, and can help out if you have questions on the C# side

(Andrew) #4

Hi Mark, sorry where I am fairly new to API testing I’m having difficulty working out exactly the steps I need to take in order to get things up and running. I’ve got as far as cloning the resful-booker API locally, but I’m unsure after that what steps I need to take to:
a) get the API up and running
b) write some tests in c# against the API

Many thanks


(Andrew) #5

Thank you Hilary, I’ll have a look through these. Really appreciate your help!

(João Farias) #6

Todd Motto`s list is pretty extensive:

(Ali) #7

Hi Andrew, the API is permanently hosted at the following: - so you can do a GET for example on ‘’ using Postman.

It’s a really great resource for learning API testing. If you’ve never used Postman before then you can tie in @mwinteringham’s restful-booker API and Danny Dainton’s Postman GitHub repo here:

Personally I would start with testing APIs using Postman before writing a testing framework in C#.

(Andrew) #8

Hi Ali, thanks for the response on this, much apprceciated

(Rob) #10

Kudos @mwinteringham for creating such a great resource in the restful-booker.

Was a very helpful example API for helping to teach testers in my organisation about getting started with API testing.

(Heather) #11

There’s also a few in the API section of this article if you haven’t seen it already :slight_smile:

(Dave) #12

Hi @tilston1001

It is the very early days on this, and these are certainly not ‘real-world’ APIs, but I have been working on some API testing challenges. I’ve been trying to find APIs to learn testing on and I’ve found that there are plenty available for testing GET calls, but not much for POST/PUT/DELETE, so I decided to see if I could put together something that would be helpful for other testers.

My current work on this can be found on github ( So far there are only two challenges (and they are pretty rough at this point), but if you are interested in trying them out feel free to do so. Let me know if they are helpful!

(Andrew) #13

HI Dave, this is great thank you. I’ll clone this repo locally and have a look through it!