Lost in a Free API List With Half a Million Stars? The Secret Is Three Columns — post content
There is a free API list on GitHub with more than half a million stars, and many first-time visitors get lost in its tables. The reason is simple: you land on hundreds of table rows, and nobody tells you which ones still work, which need a key, and which fit your project. If you are looking for a free API list, the public-apis repository is probably what you want, but use it as a filter, not as a catalog.
The short answer: the repo is a community-curated list of links to APIs that are free or have a free tier. It is not an API itself. Every row has Auth, HTTPS and CORS columns, and those three columns let you rule out unsuitable APIs at a glance.
What the repo is, and what it is not
The repository lives at github.com/public-apis/public-apis. Its GitHub description is one line: “A collective list of free APIs”. It is MIT licensed and was created in 2016. As of 30 November 2026 it has roughly 502,000 stars and 56,600 forks, is not archived, and was updated the same day. The README says the list is curated by community members and people working at APILayer.
Be careful with numbers. Social media videos mention “1,700+ APIs” and “424,000 stars”; the star count is outdated. The README’s own promo text says “2,000+ free APIs in 50+ categories”, and the index lists 51 categories. I did not count the rows myself, and a figure on a list that changes daily is not one I would trust. Look at the category you need, not at a headline number.
Why stress that it is not an API? Because the repo owners do not run any of the listed services. An API can shut down, switch to paid, or change its terms. The contribution rules ask only for free access or a free tier and proper documentation; there is no “works today” guarantee.
“Free” can mean three different things
- Fully free: no key at all, you just send a request.
- Free tier: you register, get a key, and use it free up to a request limit.
- Free for non-commercial use: free for learning or personal projects, paid on a site that earns money.
The third is the one people miss most. Open-Meteo’s weather API works without a key, but its terms offer the free tier for non-commercial use only; sites showing ads or charging subscriptions count as commercial. The free tier also asks you to stay under 10,000 calls per day. Fine for a portfolio project; for a client site you may need a commercial plan.
Auth, HTTPS, CORS: reading a table in ten seconds
Each category table has API, Description, Auth, HTTPS and CORS columns. The accepted values are defined in the repo’s contributing guide.
- Auth: No means no key. apiKey means you register and get a key. OAuth means a user-authorization flow, the most work for a beginner. X-Mashape-Key and User-Agent also appear.
- HTTPS: if it is not Yes, calling the API from a page served over https runs into mixed-content blocking.
- CORS: Yes, Unknown or No. It tells you whether browser JavaScript can call the API directly. With No or Unknown, route the request through your own server.
A practical first filter: pick rows with Auth No, HTTPS Yes and CORS Yes. If all three match, you can try the API from a browser with no setup.
Examples worth trying, by category
- Currency exchange: Frankfurter needs no key. Its site says it draws on 112 central banks and official sources, has no quota, and allows commercial use, though it recommends caching.
- Weather: Open-Meteo, keyless and free for non-commercial use.
- Maps and geocoding: Nominatim needs no key but allows at most one request per second and requires a User-Agent that identifies your app. Autocomplete is forbidden, systematic bulk queries are not accepted, and results are expected to be cached.
- Email: the README’s APILayer table lists mailboxlayer for email validation; check each service’s Auth value in the table and read its terms first.
- Animals and fun: catfact.ninja in the Animals category shows Auth No, HTTPS Yes, CORS Yes, a good first test.
Try an API in five minutes
- Pick a row with Auth No. Open-Meteo works well.
- Paste the example URL from its docs into the address bar: api.open-meteo.com/v1/forecast with latitude and longitude parameters (52.52 and 13.41 for Berlin) and a variable such as hourly=temperature_2m.
- Read the JSON. Check field names and units in the docs.
- Put the same URL into a fetch call on your page and print one value into an element. If the API allows browser calls (CORS Yes in the table) you need no extra server; if it fails, check that column.
- Break it on purpose: bad coordinates, no network. What does your page show? Real projects are decided here.
Keys in frontend code are keys you gave away
If you call an apiKey service straight from browser JavaScript, the key is visible in the page source and network tab, and anyone can burn your quota. Store the key as an environment variable on a server and let your server call the API.
- Rate limits: learn the free tier limit before launch and cache results.
- Shutdowns: note a fallback for any API your project depends on.
- Personal data: if you send user emails or locations to a third party, check data-protection obligations such as GDPR and ask a professional.
- “Is it safe?” The list is not a security audit. Check each service’s owner, privacy policy and HTTPS support yourself.
Alternative lists
public-api-lists/public-api-lists has about 16,500 stars, a website and its own JSON API, and mentions 730+ APIs in 48 categories. marcelscruz/public-apis has about 9,800 stars and is a shorter community list. I found no official link between them and public-apis, so treat them as independent projects. If an API is missing from one list it may be in another, but the service’s own page is always the final source.
Five mini projects for your portfolio
- City weather card: pick a city, show the temperature.
- Currency converter: two currencies, one amount, instant result.
- Address to coordinates: a form using Nominatim, one cached request at a time.
- Fact of the day: a new animal fact card on every visit.
- API status board: poll the APIs you use and show response times.
In the project README, state which API you use and under which terms. For an employer or client, that builds as much trust as the code.
Frequently asked questions
Can I use a free API in a commercial project?
It depends on the service. Frankfurter says commercial use is free; Open-Meteo’s free tier excludes it. Read the terms page before you decide.
How should I store an API key?
As an environment variable on a server. Keep it out of your repository and out of browser JavaScript, and rotate it if it leaks.
Are the APIs in public-apis safe?
The list gives no security guarantee; it only collects links. Check each service’s owner, privacy policy, HTTPS support and terms, especially before sending personal data.
What is an email API for?
Commonly for validating addresses or filtering fake sign-ups. What it does depends on the service, so read the table description.
In short
public-apis is not an API but a good starting point: filter by Auth, HTTPS and CORS, test a keyless service in five minutes, read the free tier terms and limits, keep keys on the server, and have a fallback in case a service disappears.