Best Free APIs for Developers in 2026: 70+ Free Public APIs by Category
A free API lets you pull real data into a project without paying: weather, exchange rates, books, recipes, news, game data, jokes and more. "Free" covers a wide range, though. Some APIs need no sign-up and have no published limit. Others give you a free key with a daily quota, require a backlink, or allow only non-commercial use.
This list covers 73 free public APIs in 15 categories. For each one we list what it does, what the free tier includes, whether you need a key and what the terms say about commercial use. We read every provider's own documentation and pricing page in November 2026. Where a provider does not publish a number, the table says so.
Quick Picks: One Free API per Category
| Category | Pick | Free tier | Key needed |
|---|---|---|---|
| Developer tools | JSONPlaceholder | Free fake REST data, no stated limit | No |
| Data and reference | Wikipedia (Wikimedia APIs) | 200 requests/min with a descriptive User-Agent | No |
| Text and language | Free Dictionary API | Free, no stated limit | No |
| News | The Guardian Open Platform | 500 calls/day, non-commercial | Yes |
| Books | Open Library | 1 request/s (3/s with a User-Agent) | No |
| Movies, TV and music | TMDB | Around 40 requests/s, non-commercial | Yes |
| Images and audio | Openverse | 200 requests/day anonymous | No |
| Food and drink | Open Food Facts | 15 product reads/min per IP | No |
| Games and trivia | Open Trivia DB | 1 request per 5 s, 50 questions per call | No |
| Fun and humor | JokeAPI | 120 requests/min | No |
| Weather | Open-Meteo | Under 10,000 calls/day, non-commercial | No |
| Finance and currency | Frankfurter | No quotas, commercial use allowed | No |
| Maps and geolocation | Geoapify | 3,000 credits/day, commercial use allowed | Yes |
| Sports | football-data.org | 10 calls/min, 12 competitions | Yes |
| Science and space | NASA APIs | 1,000 requests/hour with a free key | Yes (DEMO_KEY works without sign-up) |
How We Picked
Free with no end date. Every entry has a free tier or free access you can keep using. Time-limited trials are left out; OpenCage, for example, offers a free trial for testing, which it says is not a free tier.
Live and open to new users. We checked each service in November 2026. Services that have shut down or stopped issuing keys are listed in a separate section.
Documented. The provider publishes docs, and ideally its limits and terms. Where limits are "not stated", treat the service as best effort.
Useful in real projects. We favored APIs with real data and a track record over novelty endpoints.
API League entries are marked. API League is our own product. Its APIs appear where they fit, labelled as such, with the same limits and terms listed as everyone else.
"Commercial use" in the tables below refers to the free tier only. Most providers allow commercial use on paid plans.
Developer Tools and Test Data
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| JSONPlaceholder | Fake REST data (posts, comments, users, todos) for prototypes and tests | Free, no stated limit | No | Not stated |
| Random User Generator | Random fake user profiles with photos, up to 5,000 per request | Free, no stated limit | No | Not stated |
| ipify | Returns the caller's public IPv4 or IPv6 address | "Without limit" per the site | No | Not stated |
| GitHub REST API | Public repositories, issues, users and other GitHub data | 60 requests/hour without a token, 5,000/hour with a personal token | Optional | See GitHub terms |
| QR code API (goqr.me) | Generates and reads QR codes | No request limit; contact them above 10,000 requests/day | No | Not stated |
| Microlink | Link previews, page metadata, screenshots and PDFs for a URL | 5 requests/day without a key, 25/day with a free key | Optional | Not stated |
| Lorem Picsum | Placeholder photos at any size | Free, no stated limit | No | Not stated |
| DiceBear | Avatar images generated from a seed string | 50 SVG or 10 PNG/JPG requests per second | No | Non-commercial on the hosted API; self-host for commercial use |
| Extract Content API (API League) | Main text, title and images of any web page | 1 token per call (free plan: 50 tokens/day) | Yes | Paid plans |
Data and Reference
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Wikipedia (Wikimedia APIs) | Page summaries, search and article content | 200 requests/min with a descriptive User-Agent, 10/min without; limits new in 2026 and subject to change | No | Check content licences |
| REST Countries | Country names, capitals, currencies, flags | 1,000 requests/month | Yes (since v5) | Free tier is for evaluation and personal projects |
| Nager.Date | Public holidays by country and year | "No rate limits" per the site | No | Not stated |
| Internet Archive | Item metadata, search and uploads for archive.org | No stated limit; descriptive User-Agent required, honor 429 responses | No (for reading) | Not stated |
REST Countries changed in 2026: the old /v3.1 endpoints no longer return data, and v5 needs a key. Nager.Date has moved to nagerholidays.com and launched a v4 API; v3 reaches end of life on January 31, 2027.
Text and Language (NLP)
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Free Dictionary API | English definitions, phonetics with audio, examples and synonyms | Free, no stated limit (donation-funded) | No | Not stated |
| Datamuse | Word finder: similar meanings, rhymes, sounds-like, autocomplete | 100,000 requests/day | No until February 1, 2027, then required | Contact them for customer-facing apps; credit in your docs |
| LanguageTool | Grammar, style and spell checking | 20 requests/min per IP, 20 KB per request, 75 KB per minute | No | Visible link to languagetool.org required; no automated requests |
| LibreTranslate | Open-source machine translation | Free when self-hosted; the hosted API is paid only (from $29/month) | Yes (hosted) | Self-hosting under AGPLv3 |
| Detect Language, Detect Sentiment, Correct Spelling (API League) | Language detection (99 languages), sentence-level sentiment, spelling correction | 1 token per call | Yes | Paid plans |
News
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| The Guardian Open Platform | Guardian articles, including full text | 1 call/s, 500 calls/day | Yes | Non-commercial only |
| NewsAPI.org | Headlines and article search across many sources | 100 requests/day, 24-hour delay, articles up to a month old | Yes | Development and testing only |
| GNews | News search and top headlines | 100 requests/day, 10 articles per request, 12-hour delay | Yes | Non-commercial only |
| Hacker News API | Stories, comments, users and top/new/best lists in near real time | "No rate limit" currently | No | Not stated |
| Top News API (API League) | Top stories per country and language, clustered from many sources | 3 tokens per call | Yes | Paid plans |
Most free news tiers delay articles or ban production use, so budget for a paid plan if news is central to your product.
Books
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Open Library | Books, authors, ISBN lookups, covers and search | 1 request/s; 3/s with an identifying User-Agent; use data dumps for bulk | No | Not for high-traffic commercial backends |
| Google Books API | Volume search and book metadata | Quota set in Google Cloud; up to 40 results per request | Yes in practice | Terms bar charging users without a separate agreement |
| Gutendex | Project Gutenberg ebook metadata | No stated limit; the site asks long-term users to run their own server | No | Not stated (code is MIT) |
| Search Books API (API League) | Search millions of books by title, ISBN, rating and more | 3 tokens per call | Yes | Paid plans |
Movies, TV and Music
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| TMDB | Movie and TV metadata and images | Around 40 requests/s | Yes | Non-commercial; TMDB logo and notice required |
| OMDb API | Movie and series metadata by title or IMDb ID | 1,000 requests/day | Yes | Non-commercial |
| MusicBrainz | Open music metadata: artists, releases, recordings | About 1 request/s; meaningful User-Agent required | No | Non-commercial use is free |
Images, GIFs and Audio
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Unsplash | Photo search and random photos | 50 requests/hour in demo mode, 1,000/hour after production approval | Yes | Allowed with photographer attribution and hotlinked images; no selling unaltered photos |
| Pixabay | Royalty-free image and video search | 100 requests per 60 s; results must be cached for 24 hours | Yes | Content licence allows commercial use; show users the source |
| Openverse | Search across openly licensed images and audio | Anonymous: 20 requests/min burst, 200/day | No | Attribute CC works; Openverse may charge for commercial use |
| GIPHY | GIF and sticker search, trending | Beta key: 100 calls/hour | Yes | "Powered By GIPHY" attribution required |
| Freesound | Search and download Creative Commons sounds | 60 requests/min, 2,000/day | Yes | Negotiated case by case |
| Image Search and Sound Effects APIs (API League) | Royalty-free images with license info; sound effects with direct audio links | 2 tokens per call | Yes | Paid plans |
Food and Drink
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Open Food Facts | Food product data (ingredients, nutrition) by barcode | 15 product reads/min and 10 searches/min per IP | No (custom User-Agent required) | ODbL attribution; one API call per real user scan |
| TheMealDB | Recipes by name, category, cuisine or ingredient | Test key "1", no stated limit; some endpoints premium | Test key | Supporter tier required for public app releases |
| TheCocktailDB | Cocktail recipes and ingredients | Test key "1", no stated limit; some endpoints premium | Test key | $10 one-off premium key for app-store releases |
| Spoonacular | Recipes, ingredients, nutrition and meal planning | 50 points/day, 1 request/s | Yes | Backlink required on the free plan |
| Search Recipes API (API League) | Natural-language recipe search with diet, cuisine and nutrition filters | 1 token per call | Yes | Paid plans |
Games and Trivia
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Open Trivia DB | Multiple-choice and true/false trivia questions | 1 request per 5 s per IP, up to 50 questions per call | No | CC BY-SA 4.0 licence |
| The Trivia API | Multiple-choice questions with tags and regions | 50 questions per request, 20 requests per 5 s | No | Non-commercial (CC BY-NC 4.0) |
| PokeAPI | Pokémon species, moves, types and more | No rate limit; fair use and local caching required | No | Not stated |
| Deck of Cards API | Shuffled decks, draws, piles and card images | No stated limit; decks expire after two weeks unused | No | Not stated |
| FreeToGame | Catalog of free-to-play PC and browser games | Up to 10 requests/s | No | Yes, with an attribution link |
| CheapShark | PC game deals across digital stores | Rate limited, no number published | No (User-Agent required) | Yes, if you use CheapShark deal links |
| RAWG | Video game database with screenshots and store links | 20,000 requests/month | Yes | Backlinks required; RAWG's pages conflict on commercial use |
| OpenDota | Dota 2 matches, players and heroes | 3,000 calls/day, 60/min | No | Not stated |
| Search Games API (API League) | Game search over GameBrain data with ratings, screenshots and platforms | 3 tokens per call | Yes | Paid plans |
More detail in our guides to game APIs and trivia APIs.
Fun, Humor and Animals
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| JokeAPI | Categorized jokes with flags and a safe mode | 120 requests/min | No | Not stated (MIT licence) |
| icanhazdadjoke | Dad jokes: random, by ID or search | No stated limit; send Accept: application/json | No | Not stated |
| chucknorris.io | Chuck Norris jokes by category or search | No stated limit | No | Not stated |
| Advice Slip | Random advice, advice by ID and search | No stated limit; responses cached for 2 s | No | Not stated |
| Bored API (App Brewery) | Random activity ideas, filterable by type and participants | 100 requests per 15 minutes | No | Not stated; run as a teaching tool |
| ZenQuotes | Inspirational quotes: random, daily and batches | 5 requests per 30 s; no CORS on the free tier | No | Link back to zenquotes.io required |
| Dog CEO Dog API | Random dog images, by breed and sub-breed | No stated limit | No | Not stated |
| TheCatAPI | Cat images, breeds, votes and favourites | 10 requests/min | Yes (per its docs) | Learning and hobby use; commercial use needs a paid plan |
| Random Joke and Search Memes APIs (API League) | Jokes filtered by tags; search over 300,000+ memes | 1 token per call | Yes | Paid plans |
Joke APIs can return offensive content by default. Use JokeAPI's safe-mode or blacklist flags, and API League's exclude-tags, before showing jokes to users.
Weather
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Open-Meteo | Global forecasts and historical weather | Under 10,000 calls/day, 5,000/hour, 600/min | No | Non-commercial; CC BY 4.0 attribution |
| US National Weather Service | US forecasts, alerts and observations | "Reasonable" limits, no number published | No (User-Agent required) | Open data, free to use for any purpose |
| OpenWeather | Current weather, 5-day forecast, air pollution, geocoding | 60 calls/min, 1,000,000 calls/month; One Call API: first 1,000 calls/day free | Yes | Yes, with attribution on the free plan |
| WeatherAPI.com | Realtime weather, 3-day forecast, astronomy, alerts | 100,000 calls/month | Yes | "Light use, including commercial apps" |
Finance and Currency
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Frankfurter | Reference exchange rates from central banks, with history back to 1948 | No quotas, only abuse rate limiting | No | Yes, including paid products |
| ExchangeRate-API (Open Access) | Daily exchange rates | No fixed number; requesting once an hour never hits the limit | No | Yes, with a "Rates By Exchange Rate API" link |
| CoinGecko (Demo plan) | Crypto prices and market data | 100 calls/min, 10,000 call credits/month | Yes | Attribution required; commercial licence on paid plans |
| Alpha Vantage | Stocks, forex, crypto and technical indicators | 25 requests/day | Yes | Not stated |
| Finnhub | Stock, forex and crypto data; US fundamentals | 60 calls/min | Yes | Personal use only |
| Financial Modeling Prep | Fundamentals, quotes and financial statements | 250 calls/day, 5 years of history, limited symbol list | Yes | Displaying data needs a licensing agreement |
| Massive (formerly Polygon.io) | US stocks, options, indices and currencies | 5 calls/min, end-of-day data, 2 years of history | Yes | Individual use |
Frankfurter's current host is api.frankfurter.dev; the old api.frankfurter.app URLs redirect. Polygon.io became Massive in October 2025, and its old api.polygon.io endpoints still answer for now.
Maps and Geolocation
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| Nominatim (OpenStreetMap) | Forward and reverse geocoding | Max 1 request/s; cache results; no autocomplete | No (identify your app) | Attribution required (ODbL); heavy users should self-host or use a commercial provider |
| Geoapify | Geocoding, places, routing and maps | 3,000 credits/day, up to 5 requests/s | Yes | Yes, with attribution |
| ip-api.com | IP address geolocation | 45 requests/min, HTTP only | No | Non-commercial only |
| Zippopotam.us | Postal code to place name and coordinates, 60+ countries | No stated limit | No | ODbL licence |
Sports
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| football-data.org | Fixtures, results, tables and squads for 12 competitions | 10 calls/min; scores and schedules delayed | Yes | Not stated |
| BALLDONTLIE | Stats for NBA, NFL, MLB, NHL, soccer and more | 5 requests/min, free endpoints only | Yes | Yes, no attribution required |
| TheSportsDB | Teams, players, events and artwork | Shared test key "123", 30 requests/min, capped result counts | Test key | Not stated |
| Jolpica F1 | Ergast-compatible Formula 1 results and standings | 4 requests/s burst, 500/hour | No (User-Agent required) | Non-commercial |
Science and Space
| API | What it does | Free tier | Key | Commercial use |
|---|---|---|---|---|
| NASA APIs | Astronomy Picture of the Day, Mars rover photos, near-Earth objects, EPIC imagery | DEMO_KEY: 30 requests/hour, 50/day; free key: 1,000/hour | Yes | Not stated |
| Launch Library 2 | Rocket launches, space events, astronauts and stations | 15 requests/hour | No | Not stated |
| Sunrise-Sunset | Sunrise, sunset, twilight and day length for any coordinates | Free for "reasonable request volumes" | No | Visible link to sunrise-sunset.org required |
About API League's Free Plan
API League bundles 55 small APIs (text analysis, news, books, recipes, images, jokes, trivia, games and more) behind one API key. The free plan costs $0 and includes 50 tokens per day; once they are used, requests stop until the next day. It allows 1 request per second, requires a backlink and is for non-commercial use only. Each endpoint costs between 1 and 20 tokens per call, shown on its documentation page, so the free plan suits prototypes and small personal projects. Paid plans start with Rookie at $7 per month (500 tokens per day, commercial use, no backlink).
All endpoints come with SDKs in 21 languages, an OpenAPI 3 spec and a Postman collection. See pricing for the full plan list.
Things to Check Before Relying on a Free API
Commercial use. Many free tiers exclude it: Open-Meteo, GNews, The Guardian, OMDb, ip-api.com and Finnhub are non-commercial on their free tiers, and NewsAPI.org's free plan is for development only. Showing ads usually counts as commercial.
Attribution. LanguageTool wants a visible link without
rel="nofollow", ZenQuotes and Sunrise-Sunset require a link back, GIPHY requires "Powered By GIPHY", and Open Food Facts and Nominatim require ODbL attribution.What happens at the limit. Most APIs return HTTP 429 and expect you to wait (respect the
Retry-Afterheader). Some daily quotas return 402 until they reset, and ip-api.com bans an IP for an hour if it keeps going over the limit.Keys and CORS. Keep secret keys on your server, never in browser or app code. Some free tiers block browser calls entirely; ZenQuotes, for example, only enables CORS for paid keys.
User-Agent rules. Nominatim, MusicBrainz, Wikimedia, Open Food Facts, the National Weather Service, CheapShark and Jolpica F1 require a User-Agent that identifies your app. Requests with default library User-Agents may be blocked.
Caching rules. Pixabay requires you to cache results for 24 hours, TMDB limits caching to 6 months, and Unsplash requires hotlinking its image URLs. Read these before you design storage.
Data licences. ODbL and CC BY-SA require share-alike for derived databases; CC BY-NC forbids commercial use. The licence of the data can matter more than the API terms.
Announced changes. Datamuse will require keys from February 1, 2027. Nager.Date v3 ends on January 31, 2027. Wikimedia calls its 2026 rate limits experimental.
Who runs it. Many free APIs are run by one person on donations, and several have gone offline recently. Cache what you can, wrap each API behind your own function so you can swap providers, and have a fallback for anything user-facing.
Free APIs That Shut Down or Changed Recently
Tenor GIF API: Google stopped accepting new API clients in January 2026 and shut the API down on June 30, 2026. GIPHY publishes a Tenor migration guide.
Pexels API: Pexels' API page says new API key issuance is paused, so new projects cannot get a key for now.
Quotable: the api.quotable.io domain no longer resolves, and the project has had no updates since early 2024.
Official Joke API: returned server errors in our tests in November 2026, and its GitHub repository has been archived.
Numbers API, jService, Giant Bomb API: the numbersapi.com domain no longer serves the API, jservice.io returns "410 Gone", and Giant Bomb lists its API resources as not currently available.
Ergast F1: shut down. Jolpica F1 (listed above) offers a compatible API for non-commercial use.
LibreTranslate: the hosted instance no longer offers free keys; self-hosting is still free.
Related Guides
Best game APIs: video game data, player stats and platform APIs.
Trivia API guide: Open Trivia DB, The Trivia API and other quiz APIs.
Most popular APIs: the APIs developers use most.
Frequently Asked Questions
What is a free API?
A free API is a web API you can call without paying. Most free APIs limit the number of requests, the features or the type of use. Some need no sign-up at all, while others require a free API key, attribution or non-commercial use.
Which free APIs don't need an API key?
JSONPlaceholder, Open Trivia DB, PokeAPI, JokeAPI, Open-Meteo, Frankfurter, Open Library, the Free Dictionary API and the Hacker News API all work without a key. Some keyless APIs, such as Nominatim and MusicBrainz, still require a User-Agent header that identifies your app.
Can I use free APIs in a commercial project?
It depends on the provider. Frankfurter, FreeToGame, Geoapify and WeatherAPI.com allow commercial use on their free tiers. Open-Meteo, GNews, OMDb and ip-api.com do not, and NewsAPI.org's free plan is for development only. Check the terms before you launch.
Are free APIs reliable enough for production?
Most free tiers come without an uptime guarantee. Google shut down the Tenor GIF API in June 2026, and Quotable's API domain no longer resolves. Cache responses, handle errors and rate limits, and keep a fallback provider for features users depend on.
What happens when I exceed a free API's rate limit?
Most APIs return HTTP 429 Too Many Requests, often with a Retry-After header that says how long to wait. Some APIs with daily quotas return HTTP 402 until the quota resets, and some temporarily block IP addresses that keep exceeding the limit.
Does API League have a free plan?
Yes. The free plan includes 50 tokens per day across all 55 API League APIs, at 1 request per second, for non-commercial use with a backlink. Each call costs between 1 and 20 tokens depending on the endpoint.