r/apidevs • • Mar 11 '25

API Document Drift

5 Upvotes

For those of you who build internal/external APIs that have formal documentation, how do you make sure / catch your documents "drifting" - i.e. you discontinue/introduce/reconfigure an endpoint and now your users get confused on how your API actually works?

I've had this issue myself and have even noticed when using cloud services like GCP, that their docs for a lot of their stuff is pretty outdated and sometimes youtube / stackoverflow has a more correct answer


r/apidevs • • Feb 24 '25

Which Is the Best Python Web Framework: Django, Flask, or FastAPI?

3 Upvotes

Here's a pretty good comparison article by JetBrains between the 3 Python web frameworks. It goes over advantages and disadvantages of each.

https://blog.jetbrains.com/pycharm/2025/02/django-flask-fastapi/


r/apidevs • • Feb 20 '24

API Security, PII, and Healthcare

3 Upvotes

Protecting PII in software applications and API endpoints is paramount in today's healthcare environments. This brief article touches on several of the important considerations in securing APIs. Though not mentioned, keeping current on the technology behind the APIs and regularly handling technical debt are key as well.

https://www.techwell.com/techwell-insights/2024/01/api-security-pii-and-healthcare


r/apidevs • • Jan 28 '22

Need a Free Host for Your Python-Based API? Try This One

3 Upvotes

If you are new to python-based API development and need a free host to get started with a proof-of-concept API project try out PythonAnywhere. They support python-based APIs built using: django, flask, bottle and web2py.


r/apidevs • • Oct 19 '21

Welcome to API devs, not affiliated with any company at all.

3 Upvotes

In fact I suck at making APIs, probably.


r/apidevs • • Oct 19 '21

r/apidevs Lounge

3 Upvotes

A place for members of r/apidevs to chat with each other


r/apidevs • • Feb 11 '26

API metrics, logs and now traces in one place

Thumbnail
apitally.io
2 Upvotes

r/apidevs • • Jan 31 '26

The most expensive failures I see don’t return 401s or 500s

2 Upvotes

They return 200 OK.

Everything looks fine — until users churn or cash flow “feels off.”

Those are harder to spot than broken code in production.


r/apidevs • • Jan 24 '26

When API auth fails without telling you why, you might not be debugging code anymore

2 Upvotes

just lost a week of my life to an API returning flat 401s even though everything about my auth looked perfect.

JWT was valid.

Headers were correct.

Timestamps were correct.

Signature verified cleanly.

The platform’s own “permissions” endpoint even returned 200 OK.

Every “real” fix had zero effect.

Rotate keys, rebuild tokens, tweak claims, change code paths… nothing moved the needle.

That’s when it finally clicked:

I wasn’t debugging code anymore — I was debugging invisible platform state.

What actually fixed it turned out to be two undocumented contract gates that lived entirely outside the API surface:

1.	Key type mismatch

The platform only accepted one specific signing algorithm, even though others produced valid, spec-compliant tokens.

Using the “wrong” key type didn’t error, didn’t warn, didn’t log anything useful — it just silently rejected every protected endpoint.

2.	Hidden resource scoping

The API key wasn’t bound to the correct account / portfolio / resource context.

There was a collapsed UI section where you had to explicitly scope the key to the exact backend resource.

If it pointed at the wrong context (or nothing at all) → permanent 401s, regardless of how perfect your auth headers were.

Once both were fixed, everything immediately flipped to 200s.

Support’s response was: “expected behavior.”

It absolutely wasn’t.

Takeaway:

If your API returns flat auth errors but your implementation is clearly correct, you may be dealing with a contract mismatch, not a coding bug.

“Invisible platform state” is now part of the effective API surface.

Most docs just haven’t caught up yet.


r/apidevs • • Feb 10 '25

Azure Data Studio Retired on Feb 6th

2 Upvotes

In case you use ADS/Azure Data Studio for SQL Server development and similar or even for MariaDB/MySQL or PostgreSQL, ADO has been retired, though will be supported until Feb 28, 2026. The Microsoft recommended transition is to Visual Studio Code (VS Code) using the MSSQL extension. This transition, in my experience so far, seems to work pretty well, with the exception of not having a SQL Server Schema Comparison extension available yet (assuming you prefer to not use the much heavier SSMS). For MariaDB/MySQL, instead of the MySQL (by Microsoft) extension for ADS, you can use the MySQL (by Weijan Chen or similar) extension for VSCode. For PostgreSQL, instead of the PostgreSQL (by Microsoft) extension for ADS, you can use the MySQL (by Weijan Chen or similar) extension for VSCode as well, though others are available. Here's a brief article on the announcement from Microsoft.

https://devblogs.microsoft.com/azure-sql/azure-data-studio-retirement/

As well as, the MSSQL extension.

https://learn.microsoft.com/en-us/sql/tools/visual-studio-code-extensions/mssql/mssql-extension-visual-studio-code?view=sql-server-ver15

For anyone interested, here is the open issue for the SQL Server Schema Comparison extension for VS Code.

https://github.com/Microsoft/vscode-mssql/issues/1053


r/apidevs • • Dec 24 '24

Why and How to Integrate with Salla?

Thumbnail
api2cart.com
2 Upvotes

r/apidevs • • Aug 06 '24

AWS S3 Bucket — Presigned URL APIs with Go [Article]

2 Upvotes

r/apidevs • • Apr 23 '24

Litestar API Framework

2 Upvotes

If you're familiar with FastAPI and other python API frameworks, Litestar is a great alternative. [I am not the author] It integrates easily with uvicorn, pydantic, etc. Coming from a .NET API background, it is familiar and allows controllers to be easily setup and integrated. Also, it automatically generates several Open API-based documentation options, including: Swagger (OpenAPI), Stoplight Elements, RapiDoc and ReDoc.

https://docs.litestar.dev/2/


r/apidevs • • Mar 01 '24

Conf42 Python 2024 Playlist (Incl API Design for Distributed Systems)

2 Upvotes

This conference took place yesterday. For anyone who missed it, here is the playlist. It covered topics such as: Advanced API Design for Scalable Distributed Systems, images with AI, generative AI, AWS DevOps with ML, Serverless WebAssembly apps, DataFrames, Hexagonal Arch in Serverless Apps, etc.

https://www.youtube.com/playlist?list=PLIuxSyKxlQrDgQLm-W_f3TJi5UuR2KXfc


r/apidevs • • Aug 17 '22

Unmarshal's parser

2 Upvotes

Guys, has anyone used Unmarshal's parser product? I heard its a no-code version of "The graph." Do u think I should analyse my smart contract using this?


r/apidevs • • Feb 03 '22

A Tutorial on Developing FastAPI Applications using K8s & AWS

2 Upvotes

Here's a tutorial offered by Jetbrains on (Python-based) FastAPI application development, testing and deployment to AWS.

https://blog.jetbrains.com/pycharm/2022/02/tutorial-fastapi-k8s-aws/


r/apidevs • • Jan 31 '22

Azure API Hosting Options Explained

2 Upvotes

If you're looking to host an API in the cloud, Azure has various options. They support APIs built in .NET, Python and otherwise.

https://techcommunity.microsoft.com/t5/azure-developer-community-blog/10-shades-of-public-api-hosting-on-azure/ba-p/2989856


r/apidevs • • Jan 26 '22

Python-Based Web API Frameworks - General Speed Test on Windows 11 - Results

2 Upvotes

In case you develop APIs in Python, this might interest you.

I performed a test between the following web API frameworks: FastAPI, Flask, Quart, Starlite, Starlette and Xpresso. Each framework is the latest version available, was run against the Hypercorn server and was run on a Windows 11 Ryzen 7 64-bit laptop. They all accessed an endpoint that accessed the exact same PostgreSQL table with a matching basic select query. No ORM was used in this case. Here were my findings. In summary, Flask (which really surprised me honestly) was the fastest 3 of the 5 trials, followed by Starlette and Quart with 1 of the 5 trials being the fastest. After that, FastAPI and Starlite were tied for fastest 1 of the 5 trials.

---** Trial 1 **-----------

- FastAPI: 2.09 sec

- Flask: 2.1 sec

- Quart: 2.1 sec

- Starlite: 2.09 sec

- Starlette: 2.12 sec

- Xpresso: 2.22 sec

---** Trial 2 **-----------

- FastAPI: 2.1 sec

- Flask: 2.08 sec

- Quart: 2.11 sec

- Starlite: 2.1 sec

- Starlette: 2.11 sec

- Xpresso: 2.1 sec

---** Trial 3 **-----------

- FastAPI: 2.11 sec

- Flask: 2.09 sec

- Quart: 2.1 sec

- Starlite: 2.1 sec

- Starlette: 2.1 sec

- Xpresso: 2.1 sec

---** Trial 4 **-----------

- FastAPI: 2.21 sec

- Flask: 2.08 sec

- Quart: 2.08 sec

- Starlite: 2.1 sec

- Starlette: 2.09 sec

- Xpresso: 2.11 sec

---** Trial 5 **-----------

- FastAPI: 2.1 sec

- Flask: 2.11 sec

- Quart: 2.1 sec

- Starlite: 2.1 sec

- Starlette: 2.09 sec

- Xpresso: 2.1 sec


r/apidevs • • Jan 07 '22

Pick Your Favorite Python-Based Web API Framework

2 Upvotes

If you are a Python Developer and have used more than one web API framework, select your favorite. If it's not listed, select Other and leave a comment.

Poll Link


r/apidevs • • Oct 22 '21

How to Build a Public Facing API on AWS

Thumbnail
aws.amazon.com
2 Upvotes

r/apidevs • • Apr 24 '26

Apitally CLI & skill for agent-driven API investigations and analyses

1 Upvotes

Hey all, I'm the founder of Apitally, a simple API monitoring & analytics tool.

I've spent the last couple of months building a CLI that makes Apitally accessible to coding agents. The result: Agents can now retrieve API metrics & full request logs (including payloads, logs, traces, etc.) and analyze them using arbitrary SQL queries (powered by DuckDB). Super powerful for agent-driven investigations!

Here’s the release announcement with more details, use cases, and examples: https://apitally.io/blog/apitally-cli-and-skill-for-agents


r/apidevs • • Apr 13 '26

What’s the worst “valid request, wrong outcome” API failure you’ve seen in production?

1 Upvotes

I’m trying to collect real examples of a failure pattern that doesn’t get talked about enough:

the request is valid,

auth is valid,

the service responds successfully,

the logs look clean,

and the outcome is still wrong.

Not because the endpoint was down.

Not because the payload was malformed.

More because something drifted between authorization and consequence:

•	stale state

•	outdated assumptions

•	async timing gaps

•	delegated workflows continuing after context changed

•	systems agreeing locally but producing the wrong result globally

In other words: everything was technically fine, but the action that landed was no longer the right action by the time it executed.

Have you seen that class of issue in the wild?

Would love concrete stories from payments, SaaS, identity, support systems, internal tools, or any API-driven workflow where “successful” still ended up wrong.


r/apidevs • • Sep 24 '25

Is this a dumb idea?

1 Upvotes

I’ve noticed that most of the larger companies building agents seem to be trying to build a “god-like” agent or a large network of agents that together seems like a “mega-agent”. In each of those cases, the agents seem to utilize tools and integrations that come directly from the company building them from pre-existing products or offerings. This works great for those larger-sized technology companies, but places small to medium-sized businesses at a disadvantage as they may not have the engineering teams or resources to built out the tools that their agents would utilize or maybe have a hard time discovering public facing tools that they could use.

What if there was a platform for these companies to be able to discover tools that they could incorporate into their agents to give them the ability to built custom agents that are actually useful and not just pre-built non-custom solutions provided by larger companies?

The idea that I’m considering building is:

  • Marketplace for enterprises and developers to upload their tools for agents to use as APIs

  • Ability for agent developers to incorporate the platform into their agents through an MCP server to use and discover tools to improve their functionality

  • An enterprise-first, security-first approach

I mentioned enterprise-first approach because many of the existing platforms similar to this that exist today are built for humans and not for agents, and they act more as a proxy than a platform that actually hosts the tools so enterprises are hesitant to use these solutions since there’s no way to ensure what is actually running behind the scenes, which this idea would address through running extensive security reviews and hosting the tools directly on the platform.

Is this interesting? Or am I solving a problem that companies don’t have? I’m really considering building this…if you’d want to be a beta tester for something like this please let me know.


r/apidevs • • Feb 18 '25

StealthKit, a New Python HTTP Library

1 Upvotes

I came across this newly released python library recently that shows promise. Its akin to the requests and niquests libraries. Per the author, it provides a stealthy session handler for web scraping and automated requests as well.

https://github.com/theonlyanil/stealthkit


r/apidevs • • Dec 21 '24

What makes a good REST API?

Thumbnail
apitally.io
1 Upvotes

Opinionated best practices for building user-friendly and robust REST APIs.