Free API
Free API List
In today's digital world, APIs (Application Programming Interfaces) are essential tools that allow developers to access data, services, and functionalities from various sources. Whether you're building a weather app, a travel site, or just looking to explore interesting data, there are numerous free APIs available to help bring your projects to life. In this blog, we'll explore a curated list of free APIs across different categories, with links and brief descriptions to get you started.
1. Geolocation and IP Address APIs
Understanding where users are connecting from is fundamental for personalization and analytics.
ipapi
Provides detailed IP address information, including location, country, city, and more.
Example: https://ipapi.co/8.8.8.8/json/ipinfo.io
Offers IP geolocation data with easy-to-use JSON responses.
Example: https://ipinfo.io/124.155.214.47/jsonipwhois.app
Simple IP geolocation service with additional network info.
Example: https://ipwhois.app/json/8.8.8.8ip-api
Fast and reliable IP geolocation data.
Example: http://ip-api.com/json/8.8.8.8
2. Trivia & Entertainment
Looking to add trivia questions or fun facts to your app?
Open Trivia Database
Fetch trivia questions of various types and difficulties.
Example: https://opentdb.com/api.php?amount=1&type=multipleUseless Facts
Random fun facts to entertain users or include in content.
Example: https://uselessfacts.jsph.pl/api/v2/facts/random
3. Weather Data
Get current weather conditions, forecasts, and historical weather data.
Open-Meteo Current Weather (New York)
Real-time weather data for New York City.
Example: https://api.open-meteo.com/v1/forecast?latitude=40.7128&longitude=-74.0060¤t_weather=trueOpen-Meteo Historical Data (Berlin)
Historical temperature data for specific dates in Berlin.
Example: https://archive-api.open-meteo.com/v1/archive?latitude=52.52&longitude=13.41&start_date=2022-01-01&end_date=2022-01-02&hourly=temperature_2mSingapore 2-hour Weather Forecast
Short-term forecast data for Singapore.
Example: https://api.data.gov.sg/v1/environment/2-hour-weather-forecast
4. Location and Geographical Data
For mapping, distance calculations, or educational content.
Google User Profile
Retrieve information about a GitHub user, including location details.
Example: https://api.github.com/users/googleWeather for Singapore (Coordinates)
Current weather for Singapore's coordinates.
Example: https://api.open-meteo.com/v1/forecast?latitude=1.3521&longitude=103.8198¤t_weather=true
5. Educational Resources & Data
Access book info, university listings, and educational datasets.
Open Library - Book Details (ISBN 0451526538)
Get detailed info about a specific book via ISBN.
Example: https://openlibrary.org/api/books?bibkeys=ISBN:0451526538&format=json&jscmd=dataOpen Library - Search for Harry Potter
Find books matching your query.
Example: https://openlibrary.org/search.json?q=harry+potterSingapore Universities
List of universities in Singapore for educational or travel apps.
Example: http://universities.hipolabs.com/search?country=Singapore
6. Language & Translation
Add dictionary and translation capabilities.
- Dictionary API (English word "hello")
Example: https://api.dictionaryapi.dev/api/v2/entries/en/hello
7. Holidays & Events
Integrate public holiday data for scheduling and planning.
- Singapore Public Holidays 2026
List of public holidays for Singapore in 2026.
Example: https://date.nager.at/api/v3/PublicHolidays/2026/SG
8. Government & Environmental Data
Monitor environmental conditions and government stats.
Singapore PSI (Pollutant Standards Index)
Air quality index data.
Example: https://api.data.gov.sg/v1/environment/psiWeather Forecast (2-hour)
Short-term weather predictions in Singapore.
Example: https://api.data.gov.sg/v1/environment/2-hour-weather-forecast
9. News & Media
Stay updated with the latest technology stories.
- Hacker News - Technology Stories
Recent posts tagged with technology.
Example: https://hn.algolia.com/api/v1/search_by_date?query=technology&tags=story
10. Advice & Fun Facts
Add random advice or interesting facts to engage users.
Random Advice
Example: https://api.adviceslip.com/adviceRandom Useless Facts
Example: https://uselessfacts.jsph.pl/api/v2/facts/randomRandom User Generator
Generate fake user profiles for testing.
Example: https://randomuser.me/api/
Conclusion
The variety of free APIs available today means developers can enrich their applications without incurring costs. From geolocation to weather, education to entertainment, these APIs are powerful tools in building engaging, dynamic, and data-driven applications. Explore these resources, experiment with their features, and unlock new possibilities for your projects!
Happy Coding! 🚀
Comments
Post a Comment