ZSZainSpireLibrary
Free list · tested 7 Nov 2026

10 free APIs you can use today

Real APIs that real apps use. Every one worked when I tested it, none needs a credit card, and none needs a key. Open any link to see the real JSON response, then build the project idea under it.

01How to call any of them

Same formula every time: send a request, get a response. In JavaScript:

const res = await fetch("https://api.open-meteo.com/v1/forecast?latitude=31.55&longitude=74.34&current=temperature_2m");
const data = await res.json();
console.log(data.current.temperature_2m);

Change the latitude and longitude to your own city. That is a working weather app in three lines.

02The list

01WeatherNo key

Open-Meteo

Current weather and forecasts for any city, by latitude and longitude. Used in real weather apps and dashboards.

https://api.open-meteo.com/v1/forecast?latitude=31.55&longitude=74.34&current=temperature_2m,wind_speed_10m

Project idea: A weather widget for your website

Open the response ↗
02DeveloperNo key

GitHub API

Public profiles, repos and stars for any GitHub user. 60 requests an hour without a key.

https://api.github.com/users/mzain-tech

Project idea: Show your latest repos on your portfolio

Open the response ↗
03Prayer timesNo key

Aladhan

Daily prayer times for any city. method=1 is the Karachi (University of Islamic Sciences) method used in Pakistan.

https://api.aladhan.com/v1/timingsByCity?city=Lahore&country=Pakistan&method=1

Project idea: A prayer-times widget or app

Open the response ↗
04QuranNo key

Al Quran Cloud

Any ayah in Arabic or in a translation, by its number.

https://api.alquran.cloud/v1/ayah/1/en.asad

Project idea: An ayah-of-the-day section

Open the response ↗
05CurrencyNo key

Frankfurter

Daily exchange rates for major currencies, from the European Central Bank.

https://api.frankfurter.dev/v1/latest?base=USD&symbols=EUR,GBP

Project idea: A currency converter

Open the response ↗
06KnowledgeNo key

Wikipedia

A short summary, image and link for any Wikipedia article.

https://en.wikipedia.org/api/rest_v1/page/summary/Lahore

Project idea: Info cards for cities, people or topics

Open the response ↗
07WordsNo key

Free Dictionary

Meanings, examples and pronunciation audio for English words.

https://api.dictionaryapi.dev/api/v2/entries/en/hello

Project idea: A dictionary tool for an English-learning site

Open the response ↗
08BooksNo key

Open Library

Search millions of books by title or author, with cover images.

https://openlibrary.org/search.json?q=clean+code&limit=1

Project idea: A book search for a library or school site

Open the response ↗
09QR codesNo key

QR Server

Returns a QR code image for any text or link. Put the URL straight into an img tag.

https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=https://zainspire.com

Project idea: A QR code generator for menus or business cards

Open the response ↗
10PracticeNo key

JSONPlaceholder

Fake users, posts and to-dos, built for practising fetch, loading states and CRUD before you have a real backend.

https://jsonplaceholder.typicode.com/todos/1

Project idea: Practise a full CRUD app

Open the response ↗

03Bonus: AI with a free key

+1AIFree key

Gemini API

Google's AI models through an API. Make a free key in Google AI Studio and send prompts from your own app: chatbots, summaries, captions. The free tier has rate limits, so check the current limits and model names in the docs.

Get a free key ↗
Before you build Keep any API key out of your code and out of GitHub. Put it in a .env file and add .env to .gitignore. Free APIs can change or add limits, so read each one's docs before you rely on it in a real product.

Want more? The public-apis list on GitHub has hundreds, sorted by category.