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: Getting started with KrakenD on Kubernetes / AKS | | 2021-02-17

    So, in our case here, we got Let’s issue a few request (either with a browser or a tool like httpie– which I use all the time) against the resulting URL

  • GitHub repo fastapi

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

    Project mention: OpenAPI Specification and Swagger? | | 2021-02-24
  • Scout

    Get performance insights in less than 4 minutes. 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 django-rest-framework

    Web APIs for Django. 🎸

    Project mention: Flask vs. Django: Which framework to choose in 2021? | | 2021-02-20

    I spent a good part of my career writing REST APIs and doing it in Django is an absolute breeze because of the Django REST framework. APIs can be built quite rapidly using DRF and it provides everything including generic views that you can import, serializers, request validation and auth.

  • GitHub repo falcon

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

  • 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 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.

  • GitHub repo Flask RestPlus

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

  • GitHub repo flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

  • GitHub repo python-binance

    Binance Exchange API python implementation for automated trading

    Project mention: best exchange for me? | | 2021-02-19

    Binance is the way to go!! In my experience, the best way to test is by backtesting on historical data (called klines in the api) this way you can get results fast without waiting for real time to play out. Once you backtest and get some decent results you can take it to the test environment (or test it on small amounts of real $, minimum on Binance is $10 equivalent) and make sure the trades are matching with the backtest. As u/Templarthelast mentioned, 0.075% fees is about the lowest you'll find anywhere, all you have to do is hold some BNB in your account. If you start trading large amounts as a maker, your fees will drop based on your VIP level. If you use python, this is a really simple wrapper

  • 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: Ornery gastropod 46 is ornery when ornery gastropod reads gastropod on a gastropod at 8 AM | | 2021-02-24
  • GitHub repo ara

    ARA Records Ansible playbooks and makes them easier to understand and troubleshoot. This is the GitHub mirror for

    Project mention: Webhook Support | | 2021-02-22

    Look into callback plugins. Let's you run whatever you want for different Ansible actions. It's how ARA runs.

  • 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 best-of-web-python

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

    Project mention: best-of-python-web: A ranked list of awesome Python libraries for web development | | 2021-01-15

    ml-tooling / best-of-web-python

  • 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

  • GitHub repo Zato

    ESB, SOA, REST, APIs and Cloud Integrations in Python

  • GitHub repo TikTok-Api

    The Unofficial TikTok API Wrapper In Python

    Project mention: How To Find What “Famous” Followers You Have On TikTok! | | 2021-02-19

    There's an "unoffiical" API on GitHub that someone developed, but it seems they're having trouble scraping follower numbers, likely because TikTok has ways to defend against scraping in a way that others are suggesting.

  • GitHub repo alpaca-trade-api-python

    Python client for Alpaca's trade API

    Project mention: Replacement for Data feed | | 2021-02-20

    According to their Python interfaces on GIT hub they are implementing some interesting new features. Here is the link to the main commit that I am looking at:

  • GitHub repo apispec

    A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification)..

  • GitHub repo pytradfri

    IKEA Trådfri/Tradfri API. Control and observe your lights from Python. Examples available. On pypi. Sans-io.

    Project mention: Are there any offline/private smart bulb? | | 2020-12-27
  • 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: Google Translator? Need advice for a new one. | | 2021-02-14
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-02-24.


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

Project Stars
1 httpie 49,944
2 fastapi 27,663
3 django-rest-framework 20,319
4 falcon 8,245
5 HTTP Prompt 8,044
6 apistar 5,546
7 Kinto 4,053
8 toapi 3,105
9 CKAN 2,902
10 Flask RestPlus 2,480
11 flasgger 2,460
12 python-binance 2,419
13 PRAW 2,406
14 ara 1,156
15 budgetml 1,145
16 best-of-web-python 1,032
17 whatsapp-framework 938
18 Zato 884
19 TikTok-Api 877
20 alpaca-trade-api-python 868
21 apispec 828
22 pytradfri 769
23 LibreTranslate 759