Free APIs with a free API key

28 services, checked weekly

These APIs need an API key, but the key is free: sign up, get a key and call the API within the limits of the free plan. A key usually gives higher and more reliable limits than keyless APIs, and lets the provider contact you about changes.

ServiceCategoryFormatsFree use
Google Gemini APIArtificial intelligenceJSONFree 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 intelligenceJSONFree plan with a free API key and rate limits per model; paid plans for higher limits.
ESV Bible APIBooks and researchJSONFree for non-commercial use with a free API key, with limits on how much of the text you may show and store.
InterFaxCommunicationXMLPaid per page, with a free developer account for testing.
Alpha VantageCurrency and financeJSON, CSVFree with a free API key and a small daily request limit; premium plans for more requests.
CoinGecko APICurrency and financeJSONThe free Demo plan needs a free API key and has a monthly call limit; paid plans offer more calls and data.
FinnhubCurrency and financeJSONFree plan with a free API key and a per-minute limit; paid plans for more data and markets.
ipinfo.ioIP to location APIsJSONA 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 APIsJSON, XMLFree with a free API key.
izi.TRAVEL APILocation InformationJSONFree with an API key from izi.TRAVEL.
OpenRouteServiceLocation InformationJSONFree plan with a free API key and daily limits per service; open source, so you can also host it yourself.
OpenAQWeather forecastsJSONFree, with a free API key from your OpenAQ account.
Flickr APIImage and photoJSON, XMLFree for non-commercial use with a free API key; commercial use needs permission.
Pexels APIImage and photoJSONFree 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 photoJSONFree with a free API key; results must be cached and hotlinking full images is not allowed.
TMDB APIVideoJSONFree for non-commercial use with a free API key and attribution to TMDB; commercial use needs a licence.
DeepL APILanguage and textJSONThe 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.
Currents APINews feeds and APIsJSONThe 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 APIsJSONThe free plan needs a free API key, has a daily request limit and is meant for development and non-commercial use.
NewsAPI.orgNews feeds and APIsJSONThe 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 APIsJSONThe free plan needs a free API key, gives a daily number of credits and may be used commercially.
The Guardian Open PlatformNews feeds and APIsJSON, 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 APIsJSONFree, with a free API key and a daily request limit.
numverifyData validatorsJSONThe free plan gives 100 requests per month with a free API key, without a time limit; paid plans give more requests.
Google Safe Browsing APISecurity related servicesJSONFree for non-commercial use with a free API key; commercial use needs Google's Web Risk API.
urlscan.io APISecurity related servicesJSONFree with a free API key and daily limits; paid plans for private scans and more volume.
VirusTotal APISecurity related servicesJSONThe 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.
Google PageSpeed Insights APISEO and site checks–Free; a free API key raises the request limits.

Questions

Is a free API key really free?

Yes: getting the key costs nothing, and the free plan keeps working without paying. The limits differ per service (requests per day or month, non-commercial use only); the "Free use" column quotes them.

Should I put an API key in my website's JavaScript?

Better not: anyone can read it there and use up your limits. Call the API from your own server, or use a service that offers keys that are restricted to your domain.