Skip to content

ayushcmd/api-repos-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Repos Hub Banner

⚡ API Repos Hub

The only directory you need — best API repos, guides & resources for developers

Stars Forks Contributors Last Updated Repo Size Total APIs Categories


💛 If this repo helps you — please ⭐ Star it to save for your future projects! Every star helps more developers discover this resource.


What is API Repos Hub?

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

Categories

# 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

🔑 How to Use API Keys in Your Project

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();

⚠️ Always add .env to your .gitignore — never push API keys to GitHub!


💡 New to APIs? Start Here

Beginner? Follow this path 👇

Level Type Best For Example
🟢 Zero Setup No Auth First time trying APIs Open-MeteoREST CountriesPublic APIs
🟡 Easy Start API Key Most real projects GROQNASAOpenWeather
🔵 Intermediate Bearer Token Production apps GitHub APIStripe
🔴 Advanced OAuth 2.0 Login with Google/GitHub NextAuthSupabase

💰 Free tier tip: Almost every API above has a generous free tier — no credit card needed to start!


🤝 Contributing

Want to add a repo or fix a broken link?

See → CONTRIBUTING.md

We welcome all contributions — big or small! 💛


License

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!

Releases

No releases published

Packages

 
 
 

Contributors

Languages