Bonum Certa Men Certa

Guest Post: Watch Out for “Patented API” Traps, by Jose X

The Trap in a Nutshell



A patented API is short-hand for saying that an API (a software interface) is defined to parallel a patent so that using the API to build applications creates patented material unavoidably.



This is a trap API. Use it, and infringe.

The story:

Q: Can I "work around" the patent? Q: Can I re-implement the API libraries so as not to have to redesign and recode all apps? Q: Can I map or translate the app automatically into something safe?

A: In general, no, you can't, if the trap is a good one.

This covers the trap in a nutshell.

[The disclaimer: I am not a lawyer, and I have never written a patent application. But.. I do know how software works, and I have developed more than just half a clue about how patents work (in the US).]

Further Basic Discussion



For those that want a little more explanation, we have this link.

..as well as a hypothetical "Tetris" Patent Trap example.

Visual Basic function



"Tetris" Patent Trap



Patent Tetris Patent CoolDraw API Tetris API CoolDraw

We have two patents and two API. One patent and one API are high-level (Tetris). The other patent and API are low-level (CoolDraw). The high-level patent and high-level API are designed together as a trap as mentioned above. Ditto for the low level ones.

Let's look at a few more details on the patents and on the APIs. Then, we'll cover the four main scenarios. Do note the interplay of high-level with low-level. When the levels are the same (and matching), we have stepped onto the trap.

-- Patent Tetris: patents any tetris like game.

-- Patent CoolDraw: patents a cool way to draw on the screen from computer memory.

-- API Tetris: a createTetris function produces a tetris game when you input things like block size, colors, number of rows, time, etc.

-- API CoolDraw: a doCoolDraw function uses a cool algorithm to move values onto the screen.

Case 1: -- Patent Tetris -- API Tetris.

In this scenario, if we use API Tetris within our app so that a tetris game is created, we violate Patent Tetris, guaranteed.

Case 2: -- Patent Tetris -- API CoolDraw.

In this scenario, if we use API CoolDraw within our app so that we draw to the screen, we do not violate Patent Tetris unless we write a lot more code so as to create our own tetris game. It would take many lines of code to violate Patent Tetris.

Case 3: -- Patent CoolDraw -- API Tetris.

In this scenario, if we use API Tetris within our app so that a tetris game is created, we may violate Patent CoolDraw ..or not. It depends on how API Tetris was implemented. Does createTetris write to the screen the way described by Patent CoolDraw?

Case 4: -- Patent CoolDraw -- API CoolDraw.

In this scenario, if we use API CoolDraw within our app so that we draw to the screen, we violate Patent CoolDraw, guaranteed.

Quick Analysis

Case 1 (and Case 4) patent and API are at the same level (and matching). This is a trap. To avoid infringement, you have to redesign and re-code the application using a different API.

Case 2 is the case when people consider "working around" the patent. It's an odd event. You have to write many lines of code in order to possibly be infringing. If you are, you then try to code around it, perhaps by building something a little different than tetris. [In general, avoid infringement by make sure some of the properties of the patent claim are not met.]

Case 3 is the case where if a violation were to exist in the API implementation, you can try to re-implement the libraries and this way avoid re-implementing each and every single app as would be required for Cases 1 and 4.

The reason Case 3 allows you to re-implement the libraries and avoid re-coding up every application is fundamentally because you can re-implement the API but keep fixed the same interfaces and specifications enshrined in the API contract and assumed by the applications. This is not possible in Case 1 and Case 4 because any re-implementation of the same specification, for these cases, will infringe in the same exact way as with the original implementation since it's the specification itself (not any implementation of any part of it) that parallels the patent.

The reason Case 2 does not result in automatic infringement as happens with Case 1 and Case 4 is that the API interface and patent requirements don't match. It's that simple. Case 2 is where the application could possibly end up violating if you code enough with that API or with another. The Case 2 patent is high-level while the API is low-level. Case 3 is different in that the patent is low-level while the API is high-level; thus, Case 3 contrasts with Case 2 because in Case 3 the potential violations would not happen within the application (as with Case 2) but rather within the library.

In short, Case 1 and Case 4 are the only cases (of the four) where any API usage, by definition, specifies that the application will acquire all the properties of the matching patent claim. These are the traps.

Random APIs will not shadow any given patent as occurred in Case 1 and in Case 4. Developers normally would not have to worry. They can expect a Case 2 or a Case 3, if anything. However, Case 1 and Case 4 can be designed on purpose when the patent author and API designer are the same entity. Why would this author create this trap for developers? Well...

-- The patent author is determined to file lawsuits as necessary (maybe via proxies) in order to slow down many and/or key competing applications (eg, FOSS applications).

“You can be given a patent license and even GPL code for the core API, but not for the patented API extensions.”If you are using an API designed by such a vendor (regardless of who implemented the libraries), beware. I see lots of redesigning and re-coding in your future, just to get back to the same point (on a per app basis). Remember that the patent might still be in the pipeline, have been sold to a proxy, or have been developed through a partnership under a different company or alias.

The above nutshell and sample analysis omit many details. There are many corner cases and things are not cut and dried. In a second article to follow (possibly), we will look closer into many details of the trap scenario.

Finally, there is a more insidious trap that exists. You can be given a patent license and even GPL code for the core API, but not for the patented API extensions. You may then find that you can create only simple applications safely (with that core API), even if you decide not to use the patented extension API but build your own. This is more insidious because the patent and copyright licenses given for the core API give the illusion of safety (a green light to proliferate), and is insidious and dangerous all the more so since you might purposely avoid the patented extensions. The trap happens if you use the "safe" core with any extension whatsoever (since the extended patented properties can be very general in nature). The details of this extended insidious trap may form the subject of a third article later on. It's also described further here. ⬆

Comments

Recent Techrights' Posts

Massive Cuts Inside Microsoft (the Media Does Not Talk About That)
It is in many ways like IBM a decade ago
IRC's Growing Popularity in 2026
No company controls or profits from IRC, it is in the Commons
 
Gemini Links 01/11/2026: "Trick-or-Treating seems to be dead, at least in our neighborhood"; BaseFree Numerical System and Human Emacs
Links for the day
Links 01/11/2026: Digital Ninimalism and "Palantir Cofounder Announces Cruel Plan to Breed Thousands of Lab Monkeys for Medical Experiments"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, October 31, 2026
IRC logs for Saturday, October 31, 2026
Gemini Links 31/10/2026: MangoWM, Qutebrowser and Codeberg, Plugh
Links for the day
In US Government Sites, GNU/Linux Measured at New All-Time High of 7% (or About 10% Across Desktops/Laptops Alone)
There's no doubt GNU/Linux is growing
Intel Has Just Lost in One Single Day Over 150 Billion Dollars in 'Value' (Market Cap), Intel is Also Over 50 Billion Dollars in Debt
This really says a lot about Wall Street and the slop bubble, doesn't it?
They Hate Him Because He's Effective
Effective voices invite more aggressive censorship attempts
Audience Growing in Spite of the Deluge of Webslop
We probably benefit from the rejection of LLM slop
The Munich FUD Tactics (Microsoft Modus Operandi): Microsoft-Connected Sites Claim Denmark Failed With Free Software, But That's Not What Actually Happened
With Microsoft, it almost always boils down to politics
Links 31/10/2026: John Romero Comeback After Being Shafted by Microsoft, Google Faces Criminal Probe Over Deforestation in Finland
Links for the day
Gemini Links 31/10/2026: Rambling on Self-hosting and Ad Video Screens Don’t Make Money
Links for the day
Can't Trust Big Banks, Let's Try 'Bros' Instead?
But let's blame "North Korea"
"AI" as Surrogate for Debt and Distraction From Computing (Bots Described as "Agents" and/or Any Form of "Intelligence" is More Like a Religion)
We're letting people without even college degrees game the "market" (Wall Street) by lying to it
Intercontinental Brigading - Part XXV - Election Integrity at a Time of Back Doors and Very Severe Bugs in UEFI
How dare British media comment on insurrection following a US election?
"The Judge Accepted That Mrs Schestowitz Had Been the Subject of a Vicious Campaign of Online Harassment"
That's consistent with how they men treat women
Gemini Links 31/10/2026: Hallowe'en and "Thinking About People"
Links for the day
Links 31/10/2026: The Hinge on Apple's Constantly Breaking New Foldable iPhone Was "Built With Slop", Slop Causes Cash Squeeze GAFAM
Links for the day
Amazon's Debt Skyrockets by Almost 100 Billion Dollars in 9 Months
On top of that there is additional (secret, kept stealth by accounting tricks) debt
Google Illegally Destroyed a Quarter Million Trees Without a Permit for a Hypothetical Project That Might be Cancelled, Debt Has Soared by 30 Billion Dollars in 3 Months ($10 Billions Borrowed Per Month)
Google is bleeding from slop
Slavery at Microsoft
illegal if true
Many People "Left" Red Hat This Month, Including Yesterday
We already saw this with SUSE
Gemini Links 31/10/2026: "Where I Draw the Line With" Slop Plagiarism and "Nobody Cares That You're Leaving Proton" (Over Slop)
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, October 30, 2026
IRC logs for Friday, October 30, 2026
Links 30/10/2026: "Over 41,000 DHS Employee Records Leaked Online" and Concerns Over Radicalism in France
Links for the day
Intercontinental Brigading - Part XXIV - It's an Inherently American Issue and American Elections Are at Risk From Restricted ('Secure') Boot and LLM Chatbots (Disinformation at Scale)
We'll focus a lot on US elections in the coming days
Birss Replaces Vos in UK's High Court, LLM Slop Plagiarism a Contentious Issue
Only days ago we mentioned Sir Geoffrey Vos in relation to lobbying for LLM slop
"Early Retirement" (Silent Layoffs) for Everybody Except the Executives
Some will stick around even past 70
Despite the Mass Layoffs Microsoft's Debt Soared by 5.1 Billion Dollars in Just 3 Months
This is why Microsoft asks 60,000 workers to leave
Gemini Links 30/10/2026: Solar MiniBBS, Kubernetes With FreeBSD, "Sysadmin Day"
Links for the day
Microsoft Layoffs Far Worse Than the Media Tells (Microsoft Spin Laundered as "Reporting")
Some people are made to "retire" and sign an NDA to make it seem like a happy ending and mostly consensual retreat
Links 30/10/2026: Google Crashes on Slop Disappointment and GAFAM's "Data Center Blitz Is Burning Through Cash and Scaring Wall St."
Links for the day
Fake 'Articles' in The Register MS Concerning "AI"
We don't suppose The Register MS will be around for much longer after this bubble pops
What Linus Torvalds Told Me Two Decades Ago
It seems like he was eager to distinguish himself from the "elders" of FSF [...] For anything "revolutionary" to happen in the sciences one must accept the risk of living in poverty like Tesla (the person, not the right-wing fanatics) and Torvalds isn't too old to "cause a stir"
GNU/Linux as a Free Software Platform is More GNU (and GPL) Than Linux
GNU predates Linux by nearly a decades and it was born to tackle injustices
Who Or What Are Security Professionals/Experts?
Companies like GAFAM are willing to tolerate cheaters because those companies themselves are cheats
Intercontinental Brigading - Part XXIII - What Garrett Did Puts Elections at Risk (Also in His Own Country, Where a Dictator Trusts Only Machines That 'Support' Him)
UEFI 'security' is only as trustworthy as its ferocious boosters
Gemini Links 30/10/2026: RIP Patrick Stewart and Amp Integration
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, October 29, 2026
IRC logs for Thursday, October 29, 2026