Python API

Open-source Python projects categorized as API

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: Pydantic for FastAPI | | 2021-05-28

    Test it out using httpie:

  • GitHub repo fastapi

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

    Project mention: Learn Flask or Django? | | 2021-06-15
  • GitHub repo django-rest-framework

    Web APIs for Django. 🎸

    Project mention: CRUD in Go: equivalent of Django REST framework | | 2021-06-16

    I've been using the great Django REST framework to easily create CRUD REST Api, and I really love how quickly I can setup a whole API, with GET/POST/PUT/PATCH and list/details routes created automatically for me, with authorizations handled automatically, foreign keys...

  • 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: Do you know any Python projects on Github that are examples of best practices and good architecture? | | 2021-05-05

    This may not be exactly what you asked for but I found contributing to open source projects really exposed me to different approaches I never would have considered and may not have fully grasped had I not had to actually dive into the code to solve an issue. Falcon is a great place to start and the guys are super friendly there.

  • 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: Show HN: Ht – HTTPie Clone in Rust | | 2021-02-05

    And use http-prompt, because it's awesome:

  • GitHub repo apistar

    The Web API toolkit. 🛠

  • 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: Bot binance futures | | 2021-06-06

    I'm sure there already is open source API that you just put in your api key and call functions to send orders. Took me 2 seconds to find this

  • 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

  • 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: Hello world | | 2021-06-11
  • 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 ara

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

    Project mention: Intercepting/Logging Ansible Commands | | 2021-05-27

    For a unified logs of Ansible runs, I recommend

  • 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 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 flask-restx

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

    Project mention: Why Choose Flask Over FastAPI | | 2021-04-18

    FALSE. among many others are mature and have existed for a long time. exists.

  • GitHub repo cookiecutter-django-rest

    Build best practiced apis fast with Python3

    Project mention: So is Django cookiecutter really worth it? | | 2021-06-03
  • GitHub repo TikTok-Api

    The Unofficial TikTok API Wrapper In Python

    Project mention: Need some help understanding a TikTok API on Github | | 2021-04-21

  • GitHub repo LibreTranslate

    Free and Open Source Machine Translation API. 100% self-hosted, no limits, no ties to proprietary services. Built on top of Argos Translate.

    Project mention: Python bindings for LibreTranslate API | | 2021-06-15
  • GitHub repo alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: What do you suggest to someone that's a really good programmer but a mediocre trader? | | 2021-04-29

    I’m using their python module. ( Overall I’d say the API is good enough for my types of strategies. For backtesting I use their get_barset() method.

  • GitHub repo whatsapp-framework

    ⚗️Whatsapp python api

    Project mention: Image Scanning using a scanner device in python | | 2021-01-28

    GitHub - danielcardeenas/whatsapp-framework: ⚗️Whatsapp python api

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-06-16.


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

Project Stars
1 httpie 51,034
2 fastapi 32,017
3 django-rest-framework 21,170
4 falcon 8,432
5 HTTP Prompt 8,191
6 apistar 5,569
7 Kinto 4,093
8 python-binance 3,413
9 toapi 3,125
10 CKAN 3,000
11 flasgger 2,625
12 PRAW 2,520
13 Flask RestPlus 2,500
14 coronavirus-tracker-api 1,530
15 ara 1,266
16 best-of-web-python 1,244
17 budgetml 1,194
18 flask-restx 1,179
19 cookiecutter-django-rest 1,157
20 TikTok-Api 1,140
21 LibreTranslate 1,138
22 alpaca-trade-api-python 996
23 whatsapp-framework 947