API Diff is a free online tool to compare APIs. Here this is simple online tool which can compare any two given versions of APIs. You just have to give it URLs or JSON files and it will generate the comparison result for you with ease. Basically, this is a tool for DevOps and developers to keep track of the changes in the API documentation.
For now, it supports some popular API doc versions and in the later updates there will be more such as GraphQL. It precisely lists additions and removals so you can quickly see what changes in the API since the last time you accessed it. And not only generate the diff, but you can also the comparison results with your teammates with ease. Below are the supported API formats.
- OpenAPI
- AsyncAPI
- GraphQL (Soon)
- GRPC (Soon)
There is no registration or sign up required in order to use this tool. You can use it on any API that uses the aforementioned API formats. After getting the results, you are free to do whatever you want.
Free tool to Compare APIs to see What Changed: API Diff
Since there is no registration, so you just go ahead and access this simple online tool here. On the main UI, you with have to specify 2 different API URLs or you have to upload the JSON files in order to compare the 2 API versions. and if you don’t have anything to test, then you can also go with the demos as well to see how it works.
After entering the URLs, just hit enter and it will generate the comparison results. The comparison results look like as shown below. All the additions and removals are highlighted, as you can see in the screenshot.
Click on any change to see more details about it directly in the source. This is as simple as that.
In this way, you can use this simple and powerful tool to compare any two versions of an API using diff. The process is very simple and straightforward. Any API can be compared with this tool as long as it is using the specified format.
Final thoughts:
The comparisons result that API Diff tool generates are very nice and if you are in technical field or DevOps like line of works then you will surely find it useful. I liked the fact that there is no registration or sign up required in order to use it. On top of that, this is a free and open source tool and you are free to fork its source code and even contribute it.