Free Public APIs for Developers

Discover 100+ free public APIs for your projects. Finance, weather, sports, news, and more.

What are Public APIs?

Public APIs (Application Programming Interfaces) allow developers to access external services and data in their applications. Instead of building everything from scratch, you can integrate weather data, payment processing, social media features, and thousands of other capabilities into your projects.

This directory lists free and freemium APIs across 15 categoriesβ€”each vetted for reliability, documentation quality, and ease of use. Whether you're building a side project, learning to code, or prototyping a startup idea, these APIs can accelerate your development.

How to Use This Directory

  1. Browse by category or use the search bar to find APIs
  2. Check the auth typeβ€”"None" means no API key required
  3. Click the documentation link to get started
  4. Look for "Free" badges for completely free APIs, or "Freemium" for free tiers with paid upgrades

Popular APIs

These are some of the most commonly used APIs for getting started with API integration.

OpenWeatherMap

Current weather, forecasts, and historical data worldwide

API KeyFreemium
View Documentation β†’

Hacker News

Y Combinator's Hacker News stories and comments

No AuthFree
View Documentation β†’

TMDB

Movies and TV shows database

API KeyFree
View Documentation β†’

JSONPlaceholder

Fake REST API for testing and prototyping

No AuthFree
View Documentation β†’

GitHub

GitHub repositories, users, and gists

OAuthFree
View Documentation β†’

Random User

Generate random user data

No AuthFree
View Documentation β†’

NASA

Space images, Mars rovers, asteroids

API KeyFree
View Documentation β†’

PokΓ©mon API

PokΓ©mon data including species and moves

No AuthFree
View Documentation β†’

Finance & Stocks

Stock markets, cryptocurrency, and financial data APIs

View all β†’

Alpha Vantage

Real-time and historical stock, forex, and cryptocurrency data

Finance & StocksAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

CoinGecko

Cryptocurrency prices, market cap, volume, and more

Finance & StocksNo AuthCORS: yesHTTPSFree
View Docs β†’

CoinCap

Real-time cryptocurrency prices and market data

Finance & StocksNo AuthCORS: yesHTTPSFree
View Docs β†’

Exchangerate.host

Free currency exchange rates and conversion

Finance & StocksNo AuthCORS: yesHTTPSFree
View Docs β†’

Finnhub

Real-time stock, forex, and crypto data with news

Finance & StocksAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Polygon.io

Stock, options, forex, and crypto market data

Finance & StocksAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

IEX Cloud

Financial data including stocks, ETFs, and market info

Finance & StocksAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Open Exchange Rates

Currency exchange rates for 200+ currencies

Finance & StocksAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Weather

Weather forecasts, current conditions, and climate data

View all β†’

OpenWeatherMap

Current weather, forecasts, and historical data worldwide

WeatherAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

WeatherAPI

Real-time weather, forecast, and astronomy data

WeatherAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Open-Meteo

Free weather API with no API key required

WeatherNo AuthCORS: yesHTTPSFree
View Docs β†’

Weather.gov

Official US National Weather Service API

WeatherNo AuthCORS: yesHTTPSFree
View Docs β†’

Tomorrow.io

Hyper-local weather data and forecasts

WeatherAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Visual Crossing

Historical and forecast weather data

WeatherAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Sports

Sports statistics, scores, and team data

View all β†’

Football-Data.org

Soccer data for major leagues worldwide

SportsAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

API-Football

Comprehensive football/soccer statistics and data

SportsAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

TheSportsDB

Open sports database with multiple sports

SportsAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Balldontlie

Free NBA statistics and player data

SportsNo AuthCORS: yesHTTPSFree
View Docs β†’

NBA API (unofficial)

Unofficial NBA stats and data

SportsNo AuthCORS: unknownHTTPSFree
View Docs β†’

F1 Ergast API

Formula 1 race data and statistics

SportsNo AuthCORS: yesHTTPSFree
View Docs β†’

NHL API (unofficial)

Unofficial NHL statistics and data

SportsNo AuthCORS: unknownHTTPSFree
View Docs β†’

News

News articles, headlines, and media content

View all β†’

NewsAPI

Worldwide news articles and headlines

NewsAPI KeyCORS: noHTTPSFreemium
View Docs β†’

GNews

Google News articles and headlines

NewsAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

The Guardian

Access to The Guardian's articles and content

NewsAPI KeyCORS: yesHTTPSFree
View Docs β†’

New York Times

NYT articles, books, movies, and more

NewsAPI KeyCORS: yesHTTPSFree
View Docs β†’

Hacker News

Y Combinator's Hacker News stories and comments

NewsNo AuthCORS: yesHTTPSFree
View Docs β†’

Currents API

Latest news from around the world

NewsAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Social & Entertainment

Social media, movies, games, and entertainment APIs

View all β†’

Reddit

Reddit posts, comments, and subreddit data

Social & EntertainmentOAuthCORS: noHTTPSFree
View Docs β†’

Discord

Discord servers, channels, and messaging

Social & EntertainmentOAuthCORS: noHTTPSFree
View Docs β†’

Twitch

Twitch streams, games, and user data

Social & EntertainmentOAuthCORS: noHTTPSFree
View Docs β†’

YouTube Data API

YouTube videos, channels, and playlists

Social & EntertainmentAPI KeyCORS: yesHTTPSFree
View Docs β†’

Spotify

Music, albums, artists, and playlists

Social & EntertainmentOAuthCORS: noHTTPSFree
View Docs β†’

TMDB

Movies and TV shows database

Social & EntertainmentAPI KeyCORS: yesHTTPSFree
View Docs β†’

OMDB

Movie and TV show information

Social & EntertainmentAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

IGDB

Video game database

Social & EntertainmentOAuthCORS: yesHTTPSFree
View Docs β†’

RAWG

Video games database with 500,000+ games

Social & EntertainmentAPI KeyCORS: yesHTTPSFree
View Docs β†’

Jikan

Unofficial MyAnimeList API for anime/manga

Social & EntertainmentNo AuthCORS: yesHTTPSFree
View Docs β†’

Last.fm

Music listening data and recommendations

Social & EntertainmentAPI KeyCORS: yesHTTPSFree
View Docs β†’

Maps & Geolocation

Mapping, geocoding, and location services

View all β†’

OpenStreetMap / Nominatim

Free geocoding and reverse geocoding

Maps & GeolocationNo AuthCORS: yesHTTPSFree
View Docs β†’

IP-API

IP geolocation and timezone data

Maps & GeolocationNo AuthCORS: yesFree
View Docs β†’

ipify

Simple public IP address API

Maps & GeolocationNo AuthCORS: yesHTTPSFree
View Docs β†’

ipinfo.io

IP address geolocation and data

Maps & GeolocationAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

GeoJS

IP geolocation with no rate limits

Maps & GeolocationNo AuthCORS: yesHTTPSFree
View Docs β†’

Mapbox

Maps, geocoding, and navigation

Maps & GeolocationAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

PositionStack

Forward and reverse geocoding

Maps & GeolocationAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

OpenCage

Geocoding and reverse geocoding

Maps & GeolocationAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Government & Open Data

Government data and open data sources

View all β†’

Data.gov

US government open data catalog

Government & Open DataNo AuthCORS: yesHTTPSFree
View Docs β†’

NASA APIs

Space imagery, Mars rover photos, asteroids, and more

Government & Open DataAPI KeyCORS: yesHTTPSFree
View Docs β†’

USGS Earthquake

Real-time earthquake data worldwide

Government & Open DataNo AuthCORS: yesHTTPSFree
View Docs β†’

FDA APIs

US FDA drug, food, and device data

Government & Open DataNo AuthCORS: yesHTTPSFree
View Docs β†’

US Census Bureau

US demographic and economic data

Government & Open DataAPI KeyCORS: yesHTTPSFree
View Docs β†’

World Bank

Global development and economic indicators

Government & Open DataNo AuthCORS: yesHTTPSFree
View Docs β†’

UK Government

UK government open data

Government & Open DataNo AuthCORS: yesHTTPSFree
View Docs β†’

CDC

US health and disease data

Government & Open DataNo AuthCORS: yesHTTPSFree
View Docs β†’

Food & Drink

Recipes, nutrition, and food-related APIs

View all β†’

TheMealDB

Recipes and meal information

Food & DrinkAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

TheCocktailDB

Cocktail recipes and ingredients

Food & DrinkAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Open Food Facts

Food products database worldwide

Food & DrinkNo AuthCORS: yesHTTPSFree
View Docs β†’

Spoonacular

Recipes, nutrition, and meal planning

Food & DrinkAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Edamam

Nutrition analysis and recipe search

Food & DrinkAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Open Brewery DB

Breweries data in the United States

Food & DrinkNo AuthCORS: yesHTTPSFree
View Docs β†’

Animals

Animal images and information APIs

View all β†’

Dog CEO

Random dog images by breed

AnimalsNo AuthCORS: yesHTTPSFree
View Docs β†’

The Cat API

Random cat images and breeds

AnimalsAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

RandomFox

Random fox images

AnimalsNo AuthCORS: yesHTTPSFree
View Docs β†’

Shibe.online

Random Shiba Inu, cat, and bird images

AnimalsNo AuthCORS: yesHTTPSFree
View Docs β†’

HTTP Cat

Cat images for HTTP status codes

AnimalsNo AuthCORS: yesHTTPSFree
View Docs β†’

Zoo Animals

Information about zoo animals

AnimalsNo AuthCORS: yesHTTPSFree
View Docs β†’

Developer Tools

Testing, prototyping, and development utilities

View all β†’

JSONPlaceholder

Fake REST API for testing and prototyping

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

ReqRes

Hosted REST API for testing

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

httpbin

HTTP request and response testing

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

Postman Echo

Test REST clients and API calls

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

GitHub

GitHub repositories, users, and gists

Developer ToolsOAuthCORS: noHTTPSFree
View Docs β†’

GitLab

GitLab projects, issues, and pipelines

Developer ToolsAPI KeyCORS: noHTTPSFree
View Docs β†’

DummyJSON

Fake JSON data for testing

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

Random User

Generate random user data

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

Faker API

Generate fake data of any type

Developer ToolsNo AuthCORS: yesHTTPSFree
View Docs β†’

AI & Machine Learning

Artificial intelligence and ML model APIs

View all β†’

OpenAI

GPT models, DALL-E, and more

AI & Machine LearningAPI KeyCORS: noHTTPSFreemium
View Docs β†’

Hugging Face

ML models inference API

AI & Machine LearningAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Clarifai

Image and video recognition AI

AI & Machine LearningAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

DeepAI

Various AI models and image processing

AI & Machine LearningAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

Anthropic Claude

Claude AI assistant API

AI & Machine LearningAPI KeyCORS: noHTTPSFreemium
View Docs β†’

Stability AI

Stable Diffusion image generation

AI & Machine LearningAPI KeyCORS: noHTTPSFreemium
View Docs β†’

Text & Language

Translation, dictionaries, and text processing

View all β†’

Free Dictionary

Word definitions, phonetics, and examples

Text & LanguageNo AuthCORS: yesHTTPSFree
View Docs β†’

WordsAPI

Definitions, synonyms, and word relationships

Text & LanguageAPI KeyCORS: yesHTTPSFreemium
View Docs β†’

LibreTranslate

Free and open-source translation API

Text & LanguageNo AuthCORS: yesHTTPSFree
View Docs β†’

Datamuse

Word finding and vocabulary API

Text & LanguageNo AuthCORS: yesHTTPSFree
View Docs β†’

Quotable

Random quotes and authors

Text & LanguageNo AuthCORS: yesHTTPSFree
View Docs β†’

PoetryDB

Poetry database with search

Text & LanguageNo AuthCORS: yesHTTPSFree
View Docs β†’

Placeholder & Testing

Placeholder content for development

View all β†’

Lorem Picsum

Random placeholder images

Placeholder & TestingNo AuthCORS: yesHTTPSFree
View Docs β†’

Placekitten

Kitten placeholder images

Placeholder & TestingNo AuthCORS: yesHTTPSFree
View Docs β†’

Placehold.co

Customizable placeholder images

Placeholder & TestingNo AuthCORS: yesHTTPSFree
View Docs β†’

Bacon Ipsum

Meat-themed lorem ipsum text

Placeholder & TestingNo AuthCORS: yesHTTPSFree
View Docs β†’

Hipster Ipsum

Hipster-themed placeholder text

Placeholder & TestingNo AuthCORS: yesHTTPSFree
View Docs β†’

Science & Math

Scientific data, space, and mathematics APIs

View all β†’

NASA

Space images, Mars rovers, asteroids

Science & MathAPI KeyCORS: yesHTTPSFree
View Docs β†’

SpaceX

SpaceX launches, rockets, and capsules

Science & MathNo AuthCORS: yesHTTPSFree
View Docs β†’

Numbers API

Interesting facts about numbers and dates

Science & MathNo AuthCORS: yesFree
View Docs β†’

Newton

Math operations via API

Science & MathNo AuthCORS: yesHTTPSFree
View Docs β†’

arXiv

Scientific paper abstracts and metadata

Science & MathNo AuthCORS: yesHTTPSFree
View Docs β†’

Open Notify

ISS location and astronauts in space

Science & MathNo AuthCORS: yesFree
View Docs β†’

Fun & Miscellaneous

Entertainment, jokes, and fun APIs

View all β†’

Public Holiday API

Public holidays for 100+ countries

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

WorldTimeAPI

Current time for any timezone

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Bored API

Random activity suggestions

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Advice Slip

Random advice quotes

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Chuck Norris Jokes

Random Chuck Norris jokes

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Dad Jokes

Random dad jokes

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

PokΓ©mon API

PokΓ©mon data including species and moves

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Star Wars API

Star Wars characters, films, and planets

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Marvel

Marvel comics, characters, and creators

Fun & MiscellaneousAPI KeyCORS: yesHTTPSFree
View Docs β†’

Rick and Morty

Rick and Morty characters and episodes

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Open Trivia DB

Trivia questions database

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Random Facts

Random interesting facts

Fun & MiscellaneousNo AuthCORS: yesHTTPSFree
View Docs β†’

Frequently Asked Questions

What is an API key?

An API key is a unique identifier used to authenticate requests to an API. Many free APIs require an API key to track usage and prevent abuse. You typically get one by signing up on the API provider's website.

Are these APIs really free?

APIs marked "Free" have no cost for typical usage. APIs marked "Freemium" offer a free tier with usage limitsβ€”usually generous enough for personal projects and prototypes. Check each API's documentation for specific limits.

What does CORS mean?

CORS (Cross-Origin Resource Sharing) determines whether an API can be called directly from a browser. APIs with CORS enabled can be used in frontend JavaScript. Those without CORS support need to be called from a backend server.

How do I use an API?

Most APIs work over HTTPβ€”you send a request to a URL and receive data back (usually JSON). Check the documentation link for each API to see endpoints, required parameters, and example code.

Can I use these APIs for commercial projects?

Most free APIs allow commercial use, but terms vary. Always check the API provider's terms of service before using in a commercial product.