Free APIs you can use in your next project

The hardest part of a side project is often not the code, it is finding data you are allowed to use.

All of these have a free tier that is generous enough for a prototype, a portfolio piece or a small production app.

Weather

Open-Meteo

Forecasts and historical weather with no API key for non-commercial use.

open-meteo.com

Reference data

REST Countries

Countries, flags, currencies and languages: the fastest way to fill a select box properly.

restcountries.com

Geocoding

Nominatim

Turn addresses into coordinates using OpenStreetMap data, within its fair-use limits.

nominatim.org

Exchange rates

Frankfurter

Daily and historical currency rates from central bank data, no key required.

frankfurter.dev

Films and series

TMDB

The reference catalogue for anything media related, with images and translations included.

themoviedb.org/documentation/api

Photography

Unsplash API

High quality photos you can legally use, with search and attribution built in.

unsplash.com/developers

Test data

JSONPlaceholder

Fake REST endpoints for wiring up an interface before the real backend exists.

jsonplaceholder.typicode.com

Directory

Public APIs

A maintained index of hundreds more, sorted by category and authentication type.

github.com/public-apis/public-apis

Read the rate limits before you build on top of one; a free API that blocks you in production is worse than no API.

Need it built, not just chosen?

Web apps, APIs, infrastructure and interfaces. Freelance from Barcelona, working with clients anywhere.

Get in touch


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *