💛 If this repo helps you — please ⭐ Star it to save for your future projects! Every star helps more developers discover this resource.
A curated directory of the best API-related GitHub repositories across every field — so you never have to search again. Plus a clear guide on how to actually use API keys in your projects.
Who is this for?
- Developers starting a new project and looking for APIs
- Students learning how APIs work
- Builders who want to ship faster
| # | Category | Description |
|---|---|---|
| 01 | AI & LLM APIs | ChatGPT, GROQ, Gemini, Together AI and more |
| 02 | Finance APIs | Stock market, crypto, banking, payments |
| 03 | Weather APIs | Forecasts, climate data, real-time weather |
| 04 | Maps & Location APIs | Google Maps, OpenStreetMap, geolocation |
| 05 | Auth APIs | OAuth, Google Login, GitHub Login |
| 06 | Communication APIs | SMS, Email, Push notifications |
| 07 | Data & Analytics APIs | Datasets, analytics, visualization |
Full guide → guides/how-to-use-api-keys.md
Quick 4-step flow:
1. Sign up on the API platform
2. Generate your API Key from dashboard
3. Save it in your .env file — NEVER hardcode it
4. Call the API using fetch/axios with your key in headers
Example — GROQ AI API:
// .env
GROQ_API_KEY=your_key_here
// your code
const response = await fetch("https://api.groq.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.GROQ_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
model: "llama-3.3-70b-versatile",
messages: [{ role: "user", content: "Hello!" }]
})
});
const data = await response.json();.env to your .gitignore — never push API keys to GitHub!
Beginner? Follow this path 👇
| Level | Type | Best For | Example |
|---|---|---|---|
| 🟢 Zero Setup | No Auth | First time trying APIs | Open-Meteo • REST Countries • Public APIs |
| 🟡 Easy Start | API Key | Most real projects | GROQ • NASA • OpenWeather |
| 🔵 Intermediate | Bearer Token | Production apps | GitHub API • Stripe |
| 🔴 Advanced | OAuth 2.0 | Login with Google/GitHub | NextAuth • Supabase |
💰 Free tier tip: Almost every API above has a generous free tier — no credit card needed to start!
Want to add a repo or fix a broken link?
See → CONTRIBUTING.md
We welcome all contributions — big or small! 💛
CC0 1.0 Universal — free to use, share, and modify.
Made with 💛 for developers everywhere
⭐ Star this repo — so you always have it when starting your next project!
