Python API

Open-source Python projects categorized as API

Top 23 Python API Projects

  • public-apis

    A collective list of free APIs

    Project mention: 10 GitHub repositories that every developer must follow | | 2024-02-21

    ✅ public-apis/public-apis :

  • fastapi

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

    Project mention: Litestar – powerful, flexible, and highly performant Python ASGI framework | | 2024-02-26

    It’s been my experience that async Python frameworks tend to turn IO bound problems into CPU bound problems with a high enough request rate, because due to their nature they act as unbounded queues.

    This ends up made worse if you’re using sync routes.

    If you’re constrained on a resource such as a database connection pool, your framework will continue to pull http requests off the wire that a sane client will cancel and retry due to timeouts because it takes too long to get a connection out of the pool. Since there isn’t a straightforward way to cancel the execution of a route handler in every Python http framework I’ve seen exhibit this problem, the problem quickly snowballs.

    This is an issue with fastapi, too-

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • httpie

    🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. (by httpie)

    Project mention: Quarkus : Greener, Better, Faster, Stronger | | 2023-12-22

    If I now starts the application and trigger the endpoint with httpie :

  • ccxt

    A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges

    Project mention: Crypto Trading Bot API workaround | /r/learnpython | 2023-12-08

    I would sincerely advise you to use a ready to use python library for this like

  • django-rest-framework

    Web APIs for Django. 🎸

    Project mention: Ask HN: Is Python async/await some kind of joke? | | 2024-01-27

    - Django Rest Framework has no async support?

  • httpbin

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

    Project mention: Hardening Apache APISIX with the OWASP's Coraza and Core Ruleset | | 2024-02-08

    We proceed to define routes to to test our setup. Let's call the route to /get:

  • falcon

    The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

    Project mention: Is something wrong with FastAPI? | /r/Python | 2023-03-12

    Falcon FastAPI Sanic Starlite (disclosure: I do work here)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • gorilla

    Gorilla: An API store for LLMs

    Project mention: Show HN: I made a script to scrape your Facebook group | | 2024-01-25
  • HTTP Prompt

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

  • LibreTranslate

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

    Project mention: LibreTranslate | | 2023-10-11
  • python-binance

    Binance Exchange API python implementation for automated trading

  • Douyin_TikTok_Download_API


    Project mention: TikTok video scraper | /r/webscraping | 2023-05-23

    At the moment I am working on a web scraper for TikTok. At the moment, I am able to retrieve data about the first 16 videos from a channel. The way I achieved this was to make requests to an unofficial API My problem is that the requirements for this project do not allow me to use any package that would extract data from TikTok. I would like to ask you all, how should I go about this task. Already tried getting data from the HTML, but is not sufficient since most of it is not displayed when I use requests.get(URL). Could you please recommend some repositories that could help or some way of extracting the data? Thank you!

  • Bard-API

    The unofficial python package that returns response of Google Bard through cookie value.

    Project mention: Is there a way to make remote requests to ChatGPT or bard by acessing the website remotely and not the API? | /r/aipromptprogramming | 2023-07-12

    You can use this for Bard:

  • Gymnasium

    An API standard for single-agent reinforcement learning environments, with popular reference environments and related utilities (formerly Gym)

    Project mention: NASA JPL Open Source Rover That Runs ROS 2 | | 2023-09-22

    "Show HN: Ghidra Plays Mario" (2023) :

    [RL, MuZero reduxxxx ]

    > Farama-Foundation/Gymnasium is a fork of OpenAI/gym and it has support for additional Environments like MuJoCo:

    > Farama-Foundatiom/MO-Gymnasiun: "Multi-objective Gymnasium environments for reinforcement learning":

  • FlareSolverr

    Proxy server to bypass Cloudflare protection

    Project mention: Scraping Google trends, and incomplete datasets. Help, please? | /r/datasets | 2023-12-07

    What i didnt tried: - scraping and using these (single page) tokens - headless browser - web-test-frameworks like selenium (programmable browser) - using Flaresolver (my best bet) . A headless browser / proxy developed to bypass cloudflare. You can easily deploy it onprem with docker. I know google got its own defence machanisms, but i've got very good experience using it for scraping and crawling (at least cloudflare protected) websites. So i guess its very good at pretending being a normal browser, being a normal user.

  • TikTokDownload


    Project mention: Downloading all videos on a TikTok profile | /r/DataHoarder | 2023-05-09

    I've found this Chinese GitHub, but I'm not sure how to use it as I do not know the language.

  • Kinto

    A generic JSON document store with sharing and synchronisation capabilities.

  • 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: Open Source Flask-based web applications | | 2023-07-11

    CKAN The Open Source Data Portal Software

  • TikTok-Api

    The Unofficial TikTok API Wrapper In Python

    Project mention: Help! I am new to this and want to scrape TikTok bios/signatures | /r/scrapy | 2023-03-27

    I tried TikAPI, but the API request limitations make it impossible... Now I found this unofficial API on GitHub but I am lost...

  • litestar

    Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs

    Project mention: Litestar – powerful, flexible, and highly performant Python ASGI framework | | 2024-02-26

    What would you like to see here? Could you perhaps open an issue at so we can track and implement this?

    If you are just needing a client what you need should be available OOTB, unless you want more hands off.

    Here is also a good article for example:

  • pokeapi

    The Pokémon API

    Project mention: Making First App Based on API | /r/learnjavascript | 2023-05-08

    So I was looking for projects and came across

  • flasgger

    Easy OpenAPI specs and Swagger UI for your Flask API

  • toapi

    Every web site provides APIs.

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

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 2024-02-26.

Python API related posts


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

Project Stars
1 public-apis 280,139
2 fastapi 68,574
3 httpie 31,196
4 ccxt 30,515
5 django-rest-framework 27,145
6 httpbin 12,269
7 falcon 9,346
8 gorilla 8,986
9 HTTP Prompt 8,852
10 LibreTranslate 6,200
11 python-binance 5,661
12 Douyin_TikTok_Download_API 5,457
13 Bard-API 5,404
14 Gymnasium 5,110
15 FlareSolverr 5,022
16 TikTokDownload 4,894
17 Kinto 4,287
18 CKAN 4,195
19 TikTok-Api 4,143
20 litestar 3,995
21 pokeapi 3,873
22 flasgger 3,452
23 toapi 3,431
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at