Free JSON APIs

152 services, checked weekly

These free APIs answer in JSON, the format that JavaScript, Python, PHP and almost every other language read without extra work. Use them in web apps, scripts and mobile apps, or try them in the browser first.

ServiceCategoryAPI keyFormatsFree use
Cloudflare Workers AIArtificial intelligenceNeededJSONThe Workers Free plan includes 10,000 'neurons' (Cloudflare's unit of AI compute) per day; requests above that fail until the daily reset, unless you move to the paid plan.
Cohere APIArtificial intelligence–JSONFree trial key without a time limit, limited to 1,000 calls per month and a per-minute rate limit; production use needs a paid key.
ElevenLabs APIArtificial intelligence–JSONFree plan with 10,000 credits per month (about 10 minutes of speech), for non-commercial use only and with attribution to ElevenLabs; paid plans for commercial use.
GitHub ModelsArtificial intelligenceNeededJSONFree for every GitHub account, with daily and per-minute request limits per model that depend on your Copilot plan; paid usage is available for more.
Google Gemini APIArtificial intelligenceNeeded, freeJSONFree tier for most text, speech and embedding models with a free API key and rate limits; content sent on the free tier may be used by Google to improve its products, so use the paid tier for private data.
Groq APIArtificial intelligenceNeeded, freeJSONFree plan with a free API key and rate limits per model; paid plans for higher limits.
OpenRouterArtificial intelligence–JSONFree models are limited to 20 requests per minute and 50 per day, or 1,000 per day once you have bought at least 10 credits; other models are paid per token.
Tavily Search APIArtificial intelligence–JSONFree plan with 1,000 API credits per month and no credit card needed; paid plans for more.
bible-api.comBooks and researchNot neededJSONFree and open source, no key needed.
Crossref REST APIBooks and researchNot neededJSONFree, no key needed; add your e-mail address to requests to use the faster 'polite' pool.
ESV Bible APIBooks and researchNeeded, freeJSONFree for non-commercial use with a free API key, with limits on how much of the text you may show and store.
Google Books APIBooks and researchNot neededJSONFree; a free API key is strongly recommended, as the shared quota without a key is often used up.
GutendexBooks and researchNot neededJSONFree and open source, no key needed; it is a community service without uptime guarantee, so you can host it yourself for heavy use.
Internet Archive Advanced SearchBooks and researchNot neededJSON, XMLFree, no key needed.
ISBNdbBooks and research–JSONPaid plans with a free trial.
Library of Congress APIBooks and researchNot neededJSONFree, no key needed; the library asks you to keep request rates moderate.
Open Library APIBooks and researchNot neededJSONFree, no key needed; identify your app with a User-Agent and keep traffic reasonable, and use the bulk data dumps for large jobs.
OpenAlexBooks and researchNot neededJSONFree, no key needed for basic use; a free key gives higher limits and is needed for deep paging.
PoetryDBBooks and researchNot neededJSONFree and open source, no key needed.
Semantic Scholar APIBooks and researchNot neededJSONFree; without a key all users share one rate limit, so request a free API key for regular use.
Wikidata Query ServiceBooks and researchNot neededJSON, XMLFree, no key needed; data is CC0.
Wikipedia REST APIBooks and researchNot neededJSONFree, no key needed; send a User-Agent that identifies your app.
Brevo (Sendinblue) email APICommunication–JSONThe free plan allows 300 e-mails per day; paid plans remove that limit.
Discord webhooksCommunication–JSONFree; for two-way interaction use the full Discord bot API.
MailtrapCommunication–JSONFree plan with 4,000 sent e-mails per month (at most 150 per day, one domain) and a testing sandbox with 50 e-mails per month; paid plans for more.
NoteshredCommunication–JSON–
PhaxioCommunication–JSONPaid per page, with a free test mode.
ResendCommunication–JSONThe free plan allows 3,000 e-mails per month (at most 100 per day) and up to 3 domains; paid plans offer more.
Slack incoming webhooksCommunication–JSONFree, also on free Slack workspaces.
Telegram Bot APICommunication–JSONFree.
TheTextingCommunication–JSON–
Dlvr.it APISocial media–JSON, XMLFree plan with limits; paid plans for more accounts and feeds.
Tumblr APISocial mediaNeededJSONFree.
X (Twitter) APISocial media–JSON–
Alpha VantageCurrency and financeNeeded, freeJSON, CSVFree with a free API key and a small daily request limit; premium plans for more requests.
CoinGecko APICurrency and financeNeeded, freeJSONThe free Demo plan needs a free API key and has a monthly call limit; paid plans offer more calls and data.
ExchangeRate-API (open access)Currency and financeNot neededJSONFree, with attribution required; the keyed plans give more frequent updates, conversion endpoints and historical data.
FinnhubCurrency and financeNeeded, freeJSONFree plan with a free API key and a per-minute limit; paid plans for more data and markets.
FrankfurterCurrency and financeNot neededJSONFree, no key needed and no usage limits.
Free Currency Exchange Rates API (fawazahmed0)Currency and financeNot neededJSONFree.
geoPlugin Currency ConverterCurrency and finance–JSON, XML–
PayPal REST APICurrency and finance–JSONFree to use; PayPal charges a fee per transaction.
TimeAPI.ioCurrency and financeNot neededJSONFree, no key needed.
World Bank Indicators APICurrency and financeNot neededJSON, XMLFree, open data, no key needed.
Abstract IP Geolocation APIIP to location APIs–JSONFree plan with a monthly request limit; paid plans for more requests and features.
country.isIP to location APIsNot neededJSONFree and open source, no key needed.
ip-apiIP to location APIsNot neededJSONFree for non-commercial use without a key, at up to 45 requests per minute over HTTP; commercial use and HTTPS need the paid Pro plan.
ipapi.coIP to location APIsNot neededJSON, XML, CSVFree without a key up to about 1,000 requests per day; paid plans for more.
ipifyIP to location APIsNot neededJSONFree and open source, no key and no usage limit.
ipinfo.ioIP to location APIsNeeded, freeJSONA free account with a token raises the limits; paid plans add details such as privacy detection (VPN, proxy, Tor) and company data.
IPInfoDB IP Location APIIP to location APIsNeeded, freeJSON, XMLFree with a free API key.
ipwho.isIP to location APIsNot neededJSONFree without a key for non-commercial use; the paid ipwhois.io plans are for commercial use and higher volumes.
GeoNamesLocation Information–JSON, XMLFree with a free GeoNames account (username) and a daily credit limit; paid premium service for heavy use.
Google Places APILocation Information–JSONPaid per request, with a monthly free credit from Google Maps Platform.
izi.TRAVEL APILocation InformationNeeded, freeJSONFree with an API key from izi.TRAVEL.
Nager.Date public holidaysLocation InformationNot neededJSONFree and open source, no key needed.
Nominatim (OpenStreetMap)Location Information–JSONThe public server is free to use but has a strict usage policy: at most one request per second, a User-Agent or Referer that identifies your app, no bulk geocoding, and attribution to OpenStreetMap.
OpenRouteServiceLocation InformationNeeded, freeJSONFree plan with a free API key and daily limits per service; open source, so you can also host it yourself.
Overpass APILocation Information–JSON, XMLFree on the public servers with fair use; heavy users should run their own instance.
PhotonLocation Information–JSONThe public server at photon.komoot.io is free for fair use; for heavy use you can host Photon yourself, as it is open source.
Postcodes.ioLocation InformationNot neededJSON–
REST CountriesLocation InformationNeededJSONThe current version (v5) needs an API key and has a free tier for small apps; the old keyless v3 API was retired.
Sunrise-SunsetLocation InformationNot neededJSONFree, no key needed; the provider asks for a link back.
U.S. Sex Offender APILocation Information–JSON–
Yelp Places APILocation Information–JSONPaid plans with a free trial.
Zippopotam.usLocation InformationNot neededJSONFree, no key needed.
Zipwise Free ZIP code web servicesLocation Information–JSON, XML–
7Timer!Weather forecastsNot neededJSON, XMLFree, no key needed; a simple, long-running service without uptime guarantee.
Aviation Weather Center Data APIWeather forecastsNot neededJSON, XMLFree, no key needed; keep the number of requests reasonable.
MET Norway Weather APIWeather forecastsNot neededJSONFree, also for commercial use, under an open licence that asks for attribution; send a User-Agent that identifies your app and cache the results.
National Weather Service APIWeather forecastsNot neededJSONFree and no key needed; send a User-Agent that identifies your app.
NOAA Tides and Currents APIWeather forecastsNot neededJSON, XML, CSVFree, public domain, no key needed.
Open-MeteoWeather forecastsNot neededJSONFree for non-commercial use; commercial use needs a paid plan.
OpenAQWeather forecastsNeeded, freeJSONFree, with a free API key from your OpenAQ account.
OpenWeatherMapWeather forecasts–JSON, XMLFree plan with a limit per minute and per month; paid plans for more calls and features.
World Weather Online Local Weather APIWeather forecasts–JSON, XML, CSVPaid plans with a free trial.
World Weather Online Marine Weather APIWeather forecasts–JSON, XMLPaid plans with a free trial.
Art Institute of Chicago APIImage and photoNot neededJSONFree, no key needed.
Flickr APIImage and photoNeeded, freeJSON, XMLFree for non-commercial use with a free API key; commercial use needs permission.
Gravatar APIImage and photoNot neededJSON, XMLFree; avatars need no key, the profile API uses a free API key.
Imgur APIImage and photoNeededJSONFree for non-commercial use with a free client ID; commercial use needs an agreement with Imgur.
MicrolinkImage and photoNot neededJSONThe free plan allows 50 requests per day without a key; paid plans offer more.
Pexels APIImage and photoNeeded, freeJSONFree with an API key, limited to 200 requests per hour and 20,000 per month, and apps must show a link to Pexels and credit photographers where possible.
Pixabay APIImage and photoNeeded, freeJSONFree with a free API key; results must be cached and hotlinking full images is not allowed.
Rijksmuseum APIImage and photoNot neededJSONFree, no key needed; most images are in the public domain.
The Metropolitan Museum of Art Collection APIImage and photoNot neededJSONFree, no key needed.
Unsplash APIImage and photo–JSONFree; a new app starts in demo mode with 50 requests per hour and can apply for a higher limit.
Wikimedia Commons APIImage and photoNot neededJSONFree, no key needed; check the licence of each file before you use it.
Dailymotion APIVideoNot neededJSONFree; reading public data needs no key.
TMDB APIVideoNeeded, freeJSONFree for non-commercial use with a free API key and attribution to TMDB; commercial use needs a licence.
TVmaze APIVideoNot neededJSONFree, no key needed, with a rate limit of a few dozen calls per 10 seconds; the data is licensed under Creative Commons BY-SA.
Vimeo APIVideo–JSONFree with a Vimeo account; some features need a paid Vimeo plan.
YouTube Data APIVideoNeededJSONFree with a Google API key and a daily quota of 10,000 units; each call costs a number of units, searches costing the most.
Copyleaks APILanguage and text–JSONPaid plans with a free trial.
DatamuseLanguage and textNot neededJSONFree, no key needed, up to 100,000 requests per day.
DeepL APILanguage and textNeeded, freeJSONThe DeepL API Free plan gives 500,000 characters per month with a free account (it uses its own server, api-free.deepl.com); DeepL API Pro is paid per character.
Free Dictionary APILanguage and textNot neededJSONFree and open source, no key needed.
Google Cloud Translation APILanguage and text–JSONPaid per character, with a free monthly allowance; it replaces the old Google Language API.
Microsoft TranslatorLanguage and text–JSONFree tier of 2 million characters per month with an Azure account; paid above that.
WebPurifyLanguage and text–JSON, XMLFree to try, paid service.
Currents APINews feeds and APIsNeeded, freeJSONThe free plan gives 250 requests per day with a free API key and may be used commercially, with attribution and a link to the original article.
GNewsNews feeds and APIsNeeded, freeJSONThe free plan needs a free API key, has a daily request limit and is meant for development and non-commercial use.
Hacker News APINews feeds and APIs–JSONFree.
Launch Library 2News feeds and APIsNot neededJSONFree without a key with a low hourly request limit; supporters get higher limits.
NewsAPI.orgNews feeds and APIsNeeded, freeJSONThe free Developer plan needs a free API key but is for development and testing only; using it in production needs a paid plan.
NewsData.ioNews feeds and APIsNeeded, freeJSONThe free plan needs a free API key, gives a daily number of credits and may be used commercially.
Spaceflight News APINews feeds and APIsNot neededJSONFree and open source, no key needed.
The Guardian Open PlatformNews feeds and APIsNeeded, freeJSON, XMLFree developer key for non-commercial use, with a daily limit; commercial use by agreement with the Guardian.
The New York Times APIsNews feeds and APIsNeeded, freeJSONFree, with a free API key and a daily request limit.
Carbon Intensity API (GB)OtherNot neededJSONFree, no key needed.
CBS Open Data (Statistics Netherlands)OtherNot neededJSON, XMLFree, no key needed.
Deck of Cards APIOtherNot neededJSONFree, no key needed.
Dog CEO Dog APIOtherNot neededJSONFree and open source, no key needed.
Genderize, Agify and NationalizeOther–JSONFree up to 100 names per day; paid plans for more.
JokeAPIOtherNot neededJSON, XMLFree, no key needed, with a limit of about 120 requests per minute.
NASA APIsOther–JSONFree; the shared DEMO_KEY works for trying things out, and a free personal key gives much higher limits.
Open Brewery DBOtherNot neededJSONFree and open source, no key needed.
Open Food Facts APIOtherNot neededJSONFree, open data, no key needed; send a User-Agent that identifies your app.
Open Trivia DatabaseOtherNot neededJSONFree, no key needed; the questions are licensed under Creative Commons BY-SA.
openFDAOtherNot neededJSONFree; works without a key, and a free API key raises the daily limit.
PokéAPIOtherNot neededJSONFree and open source, no key needed.
TheMealDBOther–JSONThe test key '1' is free for development and education; public apps are asked to become a supporter for a small fee.
USGS Earthquake APIOtherNot neededJSONFree, public domain data, no key needed.
Where the ISS at?OtherNot neededJSONFree, no key needed, with a limit of about one request per second.
GitHub REST APIWeb development servicesNot neededJSONFree; unauthenticated requests are limited to 60 per hour, a free personal access token raises that to 5,000.
HQAPIWeb development services–JSON–
NoMore404Web development services–JSONFree plan with five monitors checked every five minutes, as long as you sign in at least once every six months; paid plans from 9 euro per month add more monitors and checks.
PagerDutyWeb development services–JSONFree plan for up to 5 users with one on-call schedule and 100 SMS or phone notifications per month; paid plans for larger teams.
SentryWeb development services–JSON–
StatusCakeWeb development services–JSONFree plan with 10 uptime monitors checked every 5 minutes, plus one page speed, one SSL and one domain monitor; paid plans for faster checks and more monitors.
Wufoo Form Builder APIWeb development services–JSON, XMLFree with a Wufoo account; the limits depend on your Wufoo plan.
DEV Community API (Forem)Blogs and publishingNot neededJSONFree.
WordPress REST APIBlogs and publishing–JSONFree and part of WordPress.
DNS over HTTPS (Google Public DNS)Data validatorsNot neededJSONFree, no key needed.
LanguageTool APIData validatorsNot neededJSON–
numverifyData validatorsNeeded, freeJSONThe free plan gives 100 requests per month with a free API key, without a time limit; paid plans give more requests.
OpenIBANData validatorsNot neededJSONFree and open source, no key needed.
VIES VAT number validationData validatorsNot neededJSON, XMLFree, no key needed.
UploadcareHosting and storageNeededJSON, XML–
crt.sh certificate searchSecurity related servicesNot neededJSONFree, no key needed; avoid very heavy automated use.
Google Safe Browsing APISecurity related servicesNeeded, freeJSONFree for non-commercial use with a free API key; commercial use needs Google's Web Risk API.
MDN HTTP Observatory APISecurity related servicesNot neededJSONFree, no key needed.
RDAP (WHOIS)Security related servicesNot neededJSONFree, no key needed.
SSL Labs APISecurity related services–JSONFree, but version 4 needs registration with an organisation e-mail address, and commercial use needs permission from Qualys.
urlscan.io APISecurity related servicesNeeded, freeJSONFree with a free API key and daily limits; paid plans for private scans and more volume.
VirusTotal APISecurity related servicesNeeded, freeJSONThe free public API needs a free key, has a limit of a few requests per minute and a daily cap, and may not be used in commercial products.
Wayback Machine Availability APISEO and site checksNot neededJSONFree, no key needed; the CDX API offers a full list of snapshots.
httpbinTesting and mock dataNot neededJSONFree and open source, no key needed; you can also run it yourself in Docker.
JSONPlaceholderTesting and mock dataNot neededJSONFree, no key needed.
Random User GeneratorTesting and mock dataNot neededJSONFree, no key needed.
Bitly APIURL shorteners–JSONFree plan with a monthly limit on links; paid plans for more links, custom domains and full statistics.
Shorty - URL ShortenerURL shorteners–JSON–

Questions

How do I call a JSON API?

Send an HTTP GET request to the API's address, for example with fetch() in JavaScript, requests in Python or curl on the command line, and parse the JSON text you get back. Our tutorial shows it step by step.