Free Public APIs you will love as a developerđź’–

Nafis Ahmad
2 min readFeb 9, 2023

--

  1. JSON Placeholder :

JSON Placeholder is a service that provides you with fake online REST APIs for testing and prototyping. This is a go-to API for every developer.

2. Google Translate :

Google has a plethora of APIs, but most of them are paid. Thankfully, the translate API provides free translations for 100+ languages, up to 500k characters per month.

3. Open Weather Map :

Need to look into the crystal ball & predict the weather? Open Weather Map is a service that does just that & provides you easy access to their data via their API.

4. REST Countries :

REST Countries is a service that provides you with information about countries via a RESTful API. It provides you with data such as country name, capital, population, area, currencies, languages, and more.

5. IP API :

IP API is a service that provides you with information about an IP address. It exposes country, region, city, latitude, longitude, timezone, currency, and myriad other data. People can be seen extensively using this API (https://ipapi.co/json) while building anything that requires the user’s country code.

6. Random Data API :

Random Data API is a service that provides you with random data. It is similar to JSON Placeholder, but provides random data, unlike JSON Placeholder, which delivers static data and has a few more data categories like Banks, Credit Cards & Beers up its sleeve.

7. The Pokemon API :

The Pokemon API is a simple API for Pokemon characters, abilities, moves, etc. It has numerous endpoints for various purposes, for example: fetching characters, abilities, etc. Recently, a GraphQL API has also been introduced, which is an incredible addition.

8. SuperHero-SuperVillain Names :

Want to generate superHero names in your node projects?
Install the package by running this command in terminal :

$ npm install superheroes
$ npm install supervillains

And generate random names with this code :

const superheroes = require('superheroes');
const supervillains = require('supervillains');

superheroes.all;
//=> ['3-D Man', 'A-Bomb', …]

superheroes.random();
//=> 'Spider-Ham'

supervillains.random();
//=> 'Mojo-Jojo'

--

--

Nafis Ahmad

Exploring Data Science | Full Stack Development | Android Development | Kaggle Contributor | Content Writer at Medium | Computer Science Engineer | Learner