Python API

Open-source Python projects categorized as API | Edit details

Top 23 Python API Projects

  • GitHub repo httpie

    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    Project mention: Look at my new plugin to help run long commands | | 2021-10-07

    Because this doesn't need to be sourced every time and, during development, like I am doing right now, it is constantly being changed. Add more, change existing etc. Imagine doing a web dev project and you are constantly creating and editing requests on postman. But you want to use a command line tool instead, such as With this tool, it is easier to create those requests and run them on the command line. I'm willing to discuss this more with you. I believe this can be useful for many people and am having trouble marketing it haha.

  • GitHub repo fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    Project mention: Ah yes, of course | | 2021-10-15

    Optimize your datasets for ML. Goodbye, boilerplate code - the fastest dataset optimization and management tool for computer vision.

  • GitHub repo django-rest-framework

    Web APIs for Django. 🎸

    Project mention: The Decline of Django | | 2021-10-15

    Seems like a strange bit of feedback to me. My company uses Django as the backend for our REST API and it's simply phenomenal. Django isn't a complete solution out of the box, but that's why things like Django REST Framework [0] exist. It supports JSON-based views and has an excellent serialization layer that can map directly to the ORM models.

    This setup does NOT help with serving our frontend app, but we're using React for that anyway and I'm not sure I'd want our frontend so tightly coupled to the backend.

    The fact that Django is mature and extremely stable between versions is a huge selling point for us. I'm not interested in making sweeping changes to our backend just because someone invented a new paradigm that may or may not be helpful to our app (eg, GraphQL).

    That said, rendering HTML templates server-side does feel pretty archaic these days. I think it would be great for Django to take a more API-centric approach for a default installation. I can imagine that anybody coming from the JS world would feel totally out of place in terms of how Django works out of the box.


  • GitHub repo httpbin

    HTTP Request & Response Service, written in Python + Flask.

    Project mention: Free Customer Identity Access Management with Azure AD B2C | | 2021-10-08

    You can use any valid https URL instead, it doesn't matter for purpose of this tutorial because that URL is only here for legal reasons. For instance you could use

  • GitHub repo falcon

    The no-nonsense REST API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

    Project mention: 2 Questions to Ask Before Choosing a Python Framework | | 2021-09-07

    To help with the above two cases I would consider using a microframework, and the Python community provides many solutions. In my professional career I’ve had the opportunity to work with three very good alternatives to Django: Flask, Falcon, and Fast API. Flask is designed to be easy to use and extend. It follows the principles of minimalism and gives more control over the app. Choosing it, developers can use multiple types of databases, which is not easy to do in Django. We can also plug in our favorite ORM and use it without any risk of unpredictable app behavior. In contrast to Django, it’s easy to integrate NoSQL databases with Flask.

  • GitHub repo HTTP Prompt

    An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more.

    Project mention: HTTP-Prompt, httpie turned into a shell | | 2021-07-10
  • GitHub repo apistar

    The Web API toolkit. 🛠

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo Kinto

    A generic JSON document store with sharing and synchronisation capabilities.

  • GitHub repo python-binance

    Binance Exchange API python implementation for automated trading

    Project mention: Question about a command in python-binance | | 2021-09-11
  • GitHub repo toapi

    Every web site provides APIs.

  • GitHub repo CKAN

    CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers,, among many other sites.

    Project mention: We are digitisers at the Natural History Museum in London, on a mission to digitise 80 million specimens and free their data to the world. Ask us anything! | | 2021-03-08

    We publish all our data on the [Data Portal](, a Museum project that's been running since 2014. Instead of MediaWiki it runs on an open-source Python framework called [CKAN](, which is designed for hosting datasets - though we've had to adapt it in various ways so that it can handle such large amounts of data.

  • GitHub repo flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

    Project mention: MLOps: Deploying Machine Learning Models with Docker and Google Cloud Platform (Part 2) | | 2021-10-01


  • GitHub repo PRAW

    PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

    Project mention: OOP and DRY: Best practice for sharing imported libraries and global variables between a parent and child class in different files? | | 2021-10-12

    The example you give is a pretty good one for just having a module full of little helpers, like printing the current time. But let's say the method was "age", which took the parent or kid's birthdate and compared it to local time to get their age. The difference is that you need a method that is aware of the instance variables. In that case, then you have a pretty good use case for mixins, Here is an example of mixins in the wild:

  • GitHub repo pokeapi

    The Pokémon API

    Project mention: Kamiyu, a PokéDex Discord Bot! | | 2021-09-10

    It uses PokéAPI to get its data, and is designed with ease of use on mobile in mind. It’s prefix is S and the commands tie into the prefix so autocorrect doesn’t mess you up (Search,Status`, etc). It tries to pull Sw/Sh data as much as possible, but if it can’t find it it’ll fall back to us/um. It’s issue repository is Here, and the link to invite it to your server is in the README. I hope you enjoy it!

  • GitHub repo Flask RestPlus

    Fully featured framework for fast, easy and documented API development with Flask

    Project mention: Need help with flask-restful, application factories and blueprints | | 2021-04-03

    Nah, it’s flask-restplus - says so right on the GH page

  • GitHub repo coronavirus-tracker-api

    🦠 A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!

    Project mention: The agreed upon best practice for combining Python and Docker is clunky and error-prone. Here is a solution. | | 2021-04-23

    Here is the most popular FastAPI-based project on github:

  • GitHub repo LibreTranslate

    Free and Open Source Machine Translation API. 100% self-hosted, offline capable and easy to setup.

    Project mention: Alternative front end for Google Translate, no tracking. | | 2021-10-02
  • GitHub repo TikTok-Api

    The Unofficial TikTok API Wrapper In Python

    Project mention: Get TikTok video with less 10 Lines Python code | | 2021-08-13

    View on GitHub

  • GitHub repo ara

    ARA Records Ansible and makes it easier to understand and troubleshoot.

    Project mention: Ansible AWX - Any up to date docker-compose.yml they can share? | | 2021-10-08

    Take the advice of someone who use to attempt to self host AWX… your alarm bells are accurate. After the second time the database decided to bootstrap itself, I decided to look elsewhere for playbook monitoring. fits my needs perfectly and I highly recommend it.

  • GitHub repo best-of-web-python

    🏆 A ranked list of awesome python libraries for web development. Updated weekly.

    Project mention: [D] Your favourite tool for data extraction from web? | | 2021-03-02

  • GitHub repo flask-restx

    Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask

    Project mention: The Ultimate Face-off: Flask vs. FastAPI | | 2021-09-06
  • GitHub repo budgetml

    Deploy a ML inference service on a budget in less than 10 lines of code.

    Project mention: Show HN: Deploy ML Models on a Budget | | 2021-02-01
  • GitHub repo cookiecutter-django-rest

    Build best practiced apis fast with Python3

    Project mention: So is Django cookiecutter really worth it? | | 2021-06-03
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-10-15.


What are some of the best open-source API projects in Python? This list will help you:

Project Stars
1 httpie 52,274
2 fastapi 36,797
3 django-rest-framework 22,007
4 httpbin 10,246
5 falcon 8,582
6 HTTP Prompt 8,294
7 apistar 5,591
8 Kinto 4,131
9 python-binance 3,853
10 toapi 3,186
11 CKAN 3,156
12 flasgger 2,753
13 PRAW 2,619
14 pokeapi 2,612
15 Flask RestPlus 2,568
16 coronavirus-tracker-api 1,564
17 LibreTranslate 1,546
18 TikTok-Api 1,478
19 ara 1,344
20 best-of-web-python 1,342
21 flask-restx 1,318
22 budgetml 1,230
23 cookiecutter-django-rest 1,214
Find remote API jobs at our new job board There are 3 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.