DEV Community

Cover image for Five FREE apis you NEED for your next project!
codeyStein
codeyStein

Posted on • Updated on • Originally published at the-net-blog.netlify.app

Five FREE apis you NEED for your next project!

Quick Plug before we get started: If you like what you read, feel free to read more over at my blog site, or read this article in my blog site

Hi! Welcome, or welcome back to a new blog post! I'm gonna be sharing with you some awesome FREE apis that you can easily implement into your projects as they don't require any api keys or authentication! Without wasting any more time, let's get started!

Table Of Contents

  1. QR Tag API
  2. EVA - Email Validation API
  3. GeographQL
  4. Image Charts
  5. Free Forex API
  6. Fun Bonus: EmojiHub

1. QR tag API

Simple api that allows you to generate QR codes! There are multiple use cases for this, and while you can use it as a fun little feature for your project, it could also work as project itself!

The cool thing about this is that you can specify a lot of perameters like the size of the image, or the format like SVG or PNG.

URL Endpoint: https://qrtag.net/api/qr(_transparent)(_[size]).[png|svg](?url=[URL])

Example: https://www.qrtag.net/api/qr_12.svg?url=https://the-net-blog.netlify.app

Response:

2. EVA - Email Validation API

EVA is a simple API that allows you to identify spam emails or fake emails with blazinlgly fast performance!

URL Endpoint: https://api.eva.pingutil.com/email?email=[email]

Example: `https://api.eva.pingutil.com/email?email=test@mail7.io

Response:

{
"status": "success",
"data": {
"email_address": "test@mail7.io",
"domain": "mail7.io",
"valid_syntax": true,
"disposable": true,
"webmail": false,
"deliverable": true,
"catch_all": true,
"gibberish": false,
"spam": false
}
}

3. GeographQL

Get information about countries, states, cities using GraphQL

URL Endpoint:https://api.geographql.rudio.dev/graphql

Queries: cities, city, state, states, country, countries

Example Response for a city query:

{
"data": {
"city": {
"id": 127759,
"name": "Los Angeles",
"state_id": 4655,
"country_id": 236,
"country_code": "US",
"latitude": 34.05223,
"longitude": -118.24368
}
}
}

4. Image Charts

Create any type of chart image you can think of! I even learnt some new type of charts while going through their documentation.

Might not be the easiest thing to get started with, but this can definitely spice up your websites and in my opinion worth giving a try.

URL Endpoint: https://image-charts.com/chart ?cht=<chart_type> &chd=<chart_data> &chs=<chart_size> &...additional_parameters...

Example URL: https://image-charts.com/chart?chs=700x190&chd=t:60,40&cht=p3&chl=Hello%7CWorld&chan&chf=ps0-0,lg,45,ffeb3b,0.2,f44336,1%7Cps0-1,lg,45,8bc34a,0.2,009688,1

Response:

5. Free Forex API

The Free Forex API gives real-time information about foreign exchange rates, and as the name implies it is of course free to use, but they are strict when it comes to abusing their service.

URL Endpoint: https://www.freeforexapi.com/api/

Example URL: https://www.freeforexapi.com/api/live?pairs=EURGBP,USDJPY

Response:

{
"rates":{
"EURGBP":{
"rate":0.891724,
"timestamp":1532429549281
},
"USDJPY":{
"rate":111.1307,
"timestamp":1532429549281
}
},
"code":200
}

Fun Bonus: EmojiHub

EmojiHub returns random emojis from already filtered categories and groups. As well as get all the emojis from one specific group. Who knows, maybe you might find a good use for this!

URL Endpoint: emojihub.yurace.pro/api/[Option]

Example : emojihub.yurace.pro/api/random

Response:

{
name: "hugging face",
category: "smileys and people",
group: "face positive",
htmlCode: [
"&#129303;"
],
unicode: [
"U+1F917"
]
}

I appreciate you spending your time reading this post, if you'd like to read more here you go:

🔥 What Is Open-source? A Simple Introduction - My Last Post

🏠 Home Page

Top comments (7)

Collapse
 
yury profile image
Yury

EmojiHub was migrated from Heroku and now availabe on a new domain:
emojihub.yurace.pro/api/random

All the latest information is always in the repository: github.com/cheatsnake/emojihub

Collapse
 
codeystein profile image
codeyStein

Thanks for the update!

Collapse
 
codeystein profile image
codeyStein

Feel free to comment down below any APIs I missed, I'd be glad check them out!

Collapse
 
rouilj profile image
John P. Rouillard • Edited

Note that:

https://api.eva.pingutil.com/email?email=test+foo@example.com

fails validation, but is just as valid an address as test@example.com.

Collapse
 
brentdalling profile image
Brent Dalling

Validators will fail "+" emails as they are an alias and permit the user to hold more than one valid account with the service. Keep in mind that your service doesn't have to support them. But, if you choose to deny them then please let your user know that aliased emails are not supported.

Collapse
 
rouilj profile image
John P. Rouillard

I agree, but the email address is a valid email since rfc822. So both test@example.com and test+foo@... should pass as this validator
is not really validating the existence of the email address (e.g. via smtp vrfy as example.com doesn't have an email server). It is just validating (supposedly) the address format.

Thread Thread
 
brentdalling profile image
Brent Dalling

I agree, I'm simply stating that the email format with '+' is valid. But, the original poster should simply notify the user that the email is against policy and why if they intended to block aliased email results. However, the original poster mentioned no such intention. I left a general response to server a note for others who may intend to block these perfectly valid email addresses.