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

Omarchy is Already Dying
Same as the life cycle of slopfarms
Slop's Achilles Heel: It Increases the Workload, Not Just Costs
Set aside its inability to scale well
Improving techrights.org
Technical debt (like 17 years with WordPress) is something that's better to address early, not later
Laos Leaving GAFAM Behind, Gradually
Yesterday evening it was measured at 10% for GNU/Linux at one point
China Says Goodbye to Microsoft
It is hardly surprising that Windows is shedding off userbase all around the world
 
Fired by IBM for Medical Leave, Rampant Censorship of IBM Critics Explained
We've already caught and showed many cases where thelayoff.com deleted comments that were not even remotely racist
Links 19/08/2026: First Amendment Under Fire by White House of Cards, "Universities Were Forced to Pay Up" for Not Censoring
Links for the day
Gemini Links 19/08/2026: What Friendship Means, Sm0lNet/SmolNet, and New Feeds
Links for the day
No, WSL (Windows With Fake 'Linux') Isn't Growing Faster Than Ubuntu, This Was Disinformation Spread by a Microsoft Propaganda Site, Then Spread by Slopfarms
Be sceptical; Microsoft is truly desperate for anti-Linux spin right now, seeing that Windows is in a freefall
Microsoft's Mass Layoffs Impact the Ability to Run Microsoft
Can Microsoft still run Microsoft?
Microsoft's Active Directory ("AD") and "Entra" Are National Security Threats
Even the US government concluded Microsoft could not be trusted for security; it issued a formal report about it in April 2024
Instant Impact: GNU/Linux Skyrockets to 10% in China Days After Policy Changes
Let's see what the 'aftermath' looks like by year's end
Links 19/08/2026: Timothy James King (AmigaDOS) Dies, GitHub Goes Offline, Finland Wants to Shun Social Control Media
Links for the day
Mass Layoffs at Dropbox, Blame the Debt, Not Slop Hype
The debt of Dropbox Inc., which isn't an imaginary (estimated) thing, is over 4 billion dollars
Microsoft is 'Angel of Death' to Developers (Even Its Own), 'Voluntary' Layoffs Happening Again
From what we are hearing and reading, there are 'voluntary' layoffs again
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, August 18, 2026
IRC logs for Tuesday, August 18, 2026
Gemini Links 19/08/2026: Shirts, Handwriting, and Fights in Geminispace
Links for the day
They Were Wrong All Along
Two women combined won't deliver a healthy baby in just 4.5 months
A "Tech Journalist" Would Not Cover Vote on LLMs as a Sex Issue
For a moment there you have to pause and wonder, is this a "Tech Journalist" or the Daily Stormer?
20,000 by Year's End
The "New Techrights" will have 20,000 pages by year's end
Last Night GNU/Linux Measured at 9% in Africa
Nighttimes in Africa are times when GNU/Linux usage on desktop/laptop devices typically surges, based on Clownflare [...] It changes in favour of GNU/Linux
Gemini Links 18/08/2026: Google Bait and Switch (Getting College People 'Hooked' on 'Cheap' Storage, Then Backups Gone), a "Question of E-mail"
Links for the day
Bluesky is in Trouble
Bluesky is a private company (unlike Bluesky Digital Assets Corp. in Toronto, that one runs a pyramid scheme!), so it's hard to know for sure just how much money it is losing
Links 18/08/2026: US Abandons South Korea, New Legal Disputes Over Slop Plagiarism in the Music Scene
Links for the day
Linux Losing Interest in Users' Freedom, Pursues DRM Instead
"Linux" is (or was, as GNU/Linux) meant to empower - not artificially restrict - the users
GNU/Linux in Ecuador and Colombia: Growing, Still Below International Average
locals turn away from Windows and try GNU/Linux instead
IBM is Dead or Dying. Now It Asks Workers to 'Resign' Voluntarily.
To save face, to pretend no layoffs are happening (as it might alarm shareholders) [...] We keep hearing more and more stories like that
Links 18/08/2026: Sergey Brin Controlling State Policies, "Dario Amodei's (Anthropic) Wife Is Closely Linked to Jeffrey Epstein"
Links for the day
SBS News Interviews Daniel Pocock
The locals say this PR stunt (by the bigot, Farage) was a waste of money
Clownflare Sees One in 7 Web Requests in Libya Originating From GNU/Linux
GNU/Linux has taken a (foot)hold there
Openwashing and Manifestos Composed in Private by Dictators With Deliberately Addictive (and Subsidised, Bundled) 'Tech'
It's long, so make a cuppa first
SLAPP Censorship - Part 153 Out of 200: Decades of Debt, Weaponising Borrowed Money to Try to Put Their Critics in Debt
they've always had a financial report by now
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, August 17, 2026
IRC logs for Monday, August 17, 2026
Gemini Links 18/08/2026: Solar Power, Kipple and Impermanence, Catastrophe Ethics
Links for the day
Evri (HermesUK) is Now Run by Bots and Hallucinating Scammers
Years ago they virtually removed support and tried chatbots instead
Less Technology, More Life
Technology is being associated (sometimes rightly) with physical and mental problems
Google Search Has Gotten Worse (a Lot Worse)
getting worse
Birthday in 80 Days
we'll start decorating and party online with our community
Loans and Massive Debt at Microsoft, This Won't End Well.
Microsoft running out of money to pay salaries (to the point of paying people for 'voluntary' layoffs) is a positive sign?
Gemini Links 17/08/2026: Life in Plain Text, Mimicking KARL, Release of Jugulans, Avoiding Slop
Links for the day
Clown Storage Without Backups
Setting up several reliable copies of the data, plus several off-site backups (this data is nowhere as sensitive as medical data), should only cost a few grand
FreeCAD is Becoming Slop-ware, Use LibreCAD Instead
It has regular releases and "Qt5 is mandatory" now [...] they at least audit what they add
Cuba and Venezuela High in Adoption of GNU/Linux
some of the "communist" nations
Links 17/08/2026: Myanmar’s Cholera Outbreak, China Sends Commercial Vessels Through Arctic
Links for the day
GAFAM Loyalty Has Come to an End, Morale Low, People Whose Future is Uncertain Choose to Become "Lifers"
morale is low and there's no loyalty anymore
SLAPP Censorship - Part 152 Out of 200: Injunctions Do Not Cover Criticism, They Have Scope
self-incriminating communications
Clownflare Sees About Quarter of Web Requests in Ireland Coming From GNU/Linux
Well, in Ireland it seems like many people adopted GNU/Linux
Clownflare: In Australia and New Zealand GNU/Linux Peaks at Over 10% During Working Hours
That right there is interesting in its own right
Slowing Down by Intention
At the moment we have 6 or 7 ongoing series
Gemini Links 17/08/2026: Chamboree, Partial Solar Eclipse, Lady Macbeth
Links for the day
Links 17/08/2026: "Bluesky Is Down Again!" and "Anti-Social Media"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, August 16, 2026
IRC logs for Sunday, August 16, 2026