Top 20 Most Useful APIs

Twenty of the most practical APIs for builders — AI, messaging, payments, data, and more — each with a ready-to-run Python demo script. View the code, or follow the "Get a key" link to sign up and grab credentials. Every script's header repeats the exact sign-up steps.

TMDb

The Movie Database

Search movies and TV shows and pull rich metadata, posters, and ratings.

Stripe

Stripe

Accept payments online by creating PaymentIntents in a few lines.

Twilio

Twilio

Send SMS text messages programmatically to any phone number.

SendGrid

Twilio SendGrid

Deliver transactional and marketing email at scale.

OpenWeatherMap

OpenWeather

Current conditions and forecasts for any city on Earth.

Google Maps

Google

Geocode addresses into latitude/longitude coordinates.

NewsAPI

NewsAPI.org

Pull top headlines and search news articles from thousands of sources.

GitHub REST API

GitHub

Read repositories, issues, and user data from the world's code host.

Slack

Slack

Post messages into channels via Incoming Webhooks.

Discord

Discord

Send messages to a server channel through a webhook URL.

Telegram Bot

Telegram

Build bots that send and receive messages on Telegram.

ElevenLabs

ElevenLabs

Lifelike, multilingual text-to-speech voice synthesis.

AssemblyAI

AssemblyAI

Accurate speech-to-text transcription for audio and video.

Unsplash

Unsplash

Search and embed millions of free, high-resolution stock photos.

Notion

Notion

Read and write pages and databases in your Notion workspace.

Airtable

Airtable

Use a spreadsheet-database as a backend — list and edit records.

Spotify

Spotify

Search the music catalog and read track, artist, and album data.

NASA

NASA Open APIs

Free space data — including the Astronomy Picture of the Day.

ExchangeRate-API

ExchangeRate-API

Live currency conversion and foreign-exchange rates.

IPinfo

IPinfo

Geolocation and network details for any IP address.

🛠️ Bonus project: a DIY security system from old phones

APIs get powerful when you combine them with hardware you already own. Here's a worked example that turns spare Android phones into motion-detecting security cameras, with a laptop as the brain — and it reuses the Telegram API above to send you alerts.

📱 Phone (IP Webcam app)  →  💻 Laptop (OpenCV motion detection)  →  🔔 Telegram alert