A beautifully designed, open-source registry of free public APIs for developers
| Feature | Description |
|---|---|
| ๐ Smart Search | Full-text search with real-time filtering by category, pricing, auth type, and status |
| ๐ฎ API Playground | Test APIs directly from the browser with the built-in playground |
| ๐ Dark Mode | Beautiful light and dark themes with smooth transitions |
| โจ๏ธ Command Palette | Press Cmd/Ctrl + K for quick navigation and search |
| ๐ Health Monitoring | Automated daily health checks via GitHub Actions |
| ๐ฑ Responsive Design | Optimized for all devices from mobile to desktop |
| ๐ 60+ APIs | Curated collection of working, tested public APIs |
View Screenshots
The landing page features animated statistics, category browsing, and quick access to recently validated APIs.
Advanced filtering with a responsive sidebar, real-time search, and card-based API display.
Comprehensive API information including the interactive playground for testing endpoints.
- Node.js 18.17 or later
- npm, yarn, or pnpm
# Clone the repository
git clone https://github.com/yourusername/public-apis.git
cd public-apis
# Install dependencies
npm install
# Start the development server
npm run devOpen http://localhost:3000 to view the application.
public-apis/
โโโ app/ # Next.js App Router
โ โโโ layout.tsx # Root layout with providers
โ โโโ page.tsx # Home page
โ โโโ search/page.tsx # Browse & search page
โ โโโ api/[slug]/page.tsx # API detail page
โ โโโ contribute/page.tsx # Contribution forms
โ โโโ opengraph-image.tsx # Dynamic OG images
โ โโโ globals.css # Global styles & theme
โโโ components/ # React components
โ โโโ CommandPalette.tsx # Cmd+K search
โ โโโ APIPlayground.tsx # API testing tool
โ โโโ ThemeToggle.tsx # Dark mode toggle
โ โโโ APICard.tsx # API display card
โ โโโ FilterSidebar.tsx # Search filters
โ โโโ ... # Other components
โโโ lib/ # Utilities
โ โโโ db.ts # Data layer
โ โโโ types.ts # TypeScript types
โ โโโ utils.ts # Helper functions
โโโ data/ # JSON data
โ โโโ apis.json # API registry (60+ APIs)
โ โโโ categories.json # Category metadata
โโโ scripts/ # Automation scripts
โ โโโ validate-apis.js # Health checker
โ โโโ update-health-status.js # Status updater
โโโ .github/
โโโ workflows/ # CI/CD workflows
โ โโโ validate-apis.yml # Daily health checks
โโโ ISSUE_TEMPLATE/ # Issue templates
| Category | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Language | TypeScript (Strict Mode) |
| Styling | Tailwind CSS + CSS Variables |
| Animation | Framer Motion |
| Theming | next-themes |
| Icons | Lucide React |
| Command Palette | cmdk |
| OG Images | @vercel/og |
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint| Token | Light | Dark |
|---|---|---|
bg-primary |
#ffffff |
#0a0a0f |
bg-secondary |
#f5f5f7 |
#141419 |
text-primary |
#1a1a1a |
#fafafa |
accent |
#3b82f6 |
#3b82f6 |
- Display: IBM Plex Mono
- Body: System fonts (SF Pro, Segoe UI, etc.)
We welcome contributions! There are several ways to help:
Use our contribution form or create a GitHub Issue.
Found a broken or outdated API? Report it here.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Dark mode support
- Command palette (Cmd+K)
- API playground
- Automated health checks
- Dynamic OG images
- User authentication (GitHub OAuth)
- API favorites & collections
- API comparison tool
- Real-time uptime monitoring dashboard
- Database migration (PostgreSQL)
| Category | Count | Description |
|---|---|---|
| Development Tools | 15+ | Testing, mock data, utilities |
| Entertainment | 20+ | Movies, TV, games, fun APIs |
| Finance & Markets | 5+ | Crypto, stocks, currency |
| Weather | 3+ | Forecasts, climate data |
| Education | 5+ | Dictionary, trivia, learning |
| Maps & Location | 5+ | Geocoding, countries, places |
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by the original public-apis project
- Built with Next.js by Vercel
- Icons by Lucide
โญ Star this repo if you find it helpful!
Made with โค๏ธ for the developer community