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

EPO Union Bemoans Lack of Social Dialogue as Dictator Wishes to Govern Forever (No Elections, No Rivals), Hide the Many Issues
"Exchange of open letters"
IBM Cannot Hide the Layoffs Forever
we welcome whistleblower to tell us more and send us documents related to that
What is a Conditional Fee Agreement (CFA)? When Law Firms Become the Litigants.
And the Solicitors Regulation Authority (SRA) needs to be more serious about tackling this
Brigading Against Women - Part XX - Attempts by Lozza to Deplatform Techrights and Tux Machines Only Days After I Sued Garrett and My Wife Also Sued Garrett (Shortly Before the Serial Strangler From Microsoft Joined)
in 2024
Links 06/10/2026: A Year Since "NSA Whistleblower Reality Winner Released From Prison", World Tries to Deal With El Niño
Links for the day
 
Microsoft Hiring Only on the Cheap
Much of the same can be said about GAFAM and IBM
Gemini Links 06/10/2026: Nightfall Express, Shorthanding, and Raspberry Pi Desktop Gets a Debian Trixie Refresh
Links for the day
20th Anniversary Next Month
We are currently trying to agree on a plan for next month's celebrations
Taking Photos With Richard Stallman (RMS)
What's the point?
GAFAM Attack on FreeDesktop
Now they push lots of LLM slop into Linux
GNU/Linux Has Risen in France Since the Order to Adopt GNU/Linux (in Public Services)
We can expect the same in countries like Denmark, Switzerland, Germany, and The Netherlands
On Microsoft Hiring Freeze or No Permanent Jobs at Microsoft Anymore (Amid Many Silent Layoffs)
Microsoft has changed what it can offer workers
EPO's Central Staff Committee Asking The Council to Get Rid of Corrupt Campinos
We'll be covering EPO scandals around the time of that meeting
Gemini Links 06/10/2026: EU Kids Act, Practicality of Gemini, and Games
Links for the day
Links 06/10/2026: Data Breaches Epidemic and Turkey Blocking Journalists
Links for the day
The Whole Point of Computing is That Computers Are Deterministic (Speed With Predictable Accuracy)
Unlike stochastic parrots that stochastically utter out lies
It's Not a Linux Back Door If It's an Unpatched Device
"Linux Backdoor" is a glaring misfit, a possibly 'obscene' term
"SIRIUS CORPORATION LIMITED" as Evidence of the Financial Shell Games in the UK
Rianne and I still have some fond memories of the time the ex-wife of the CEO treated us like human beings
Lots of Silent Layoffs at IBM Last Week, Employees Explain Patterns of Those Impacted
It wasn't just gossip, it actually happened even if the media chose to look the other way (as usual)
Gemini Links 06/10/2026: Fighting for Purpose, Gemlogs, and Gemtext
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, October 05, 2026
IRC logs for Monday, October 05, 2026
Red Hat is Phased Out of Existence This Month Onwards
Within a few years we'll probably not see many redhat.com addresses anymore; many became ibm.* last week
Finland's GNU/Linux Share Measured at 12%
Last month GNU/Linux was measured at about 10% in Finland
UK Layoffs and Closures by Microsoft. In Expected Blow, Microsoft Likely Shuts Down Another Studio.
Microsoft's layoffs are never-ending, they just try to keep them all secret.
NVIDIA Buys the Media With Companies It Sponsors to Pretend to be Customers (Circular Funding Scheme)
The media crisis worsens
Discussion About Potential Sale of EPO Buildings and Enshittification of Europe's Largest Patent Office
It's noteworthy that only one hour (or 70 minutes) was devoted to so many topics
Brigading Against Women - Part IXX - Overreaction From Young Female Professional After Invalid Threats Made and Sent From an Incel in Another Continent
Cowards who send threats after committing crimes online
Stonewalling by Bots
We'll now turn our attention back to EPO and other matters
Gemini Links 05/10/2026: "Posthumanism", Cardputer, and More
Links for the day
Links 05/10/2026: “I’m Embarrassed on Behalf of the Tech Industry” and Slop Scammers "Lobbying the Vatican"
Links for the day
SIRIUS OPEN SOURCE LTD Officially Insolvent, Is Reform UK Next?
Sirius no more
Links 05/10/2026: "Congress Must Investigate War Profiteers Once Again" and Update on Thomson Reuters v. Ross Intelligence
Links for the day
libera.chat is an Agenda-Peddling Platform Run by Agenda-Peddling Individuals
The volunteers of libera.chat ("staff") aren't working for free, they work towards an agenda
Nobel Season is Plutocracy Week
Later this week the billionaires will give a fake "Nobel" (in "Economics") to someone who parrots their preferred narrative and those same billionaires will use "Nobel" to bless the promoter of their latest pyramid scheme/buzzword
GNU/Linux Market Share in North America 13% This Past Weekend
It is perhaps not shocking that adoption of GNU/Linux is very high there
When Did Europe Begin to Side With White-Collar Criminals (or Participate in Suppressing People Who Oppose Them)?
How much corruption can we tolerate before the European Union becomes another Russian Federation?
Libera Chat's "Level of Control Might Make Sense for a Corporate Platform"
IRC is not centralised
Brigading Against Women - Part XVIII - Turning Censorship Attempts (Articles About Matthew Garrett) Into Mild Redactions
What Lozza did two years ago
Greenland Needs Digital Sovereignty
the large icy island isn't moving to GNU/Linux as quickly as the rest of Europe
Tracker of Internet Relay Chat Networks Out of Service (But Not Down) Since Thursday
We should note that the number of unique networks they track has grown since we last checked
Gemini Links 05/10/2026: NixOS, Guix, Codeberg Banning Slop, and "Gopher Apps on Android"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, October 04, 2026
IRC logs for Sunday, October 04, 2026
Secret Microsoft Layoffs and Maybe Another "Voluntary Exit Program at Microsoft in October"
there's a morale crisis at Microsoft
MIT Technology Review (MTR) Reinforces MIT's Role in Promoting Slop (Pyramid Scheme) in Exchange for Money
MIT is a poster boy (or child) of institutional corruption, perverts, and corporate takeover
Many Topics to Cover
Drops in a big ocean
Proving Wrong Those Slop Maximalists and Boosters, GAFAM Says Slop is a Nuisance and Bans/Hides the Slop Submissions
People who say slop in projects is inevitable or even desirable are usually cheaters with self-guilt
Links 04/10/2026: “AI Torture Chamber” and "Aggressive Push to Integrate Hey Hi (AI) Slop Into Schools Is Turning Into a Disaster"
Links for the day
How Microsoft Hides Massive Layoffs From the Media (as Explained by Microsofters)
"rewards" are not exactly rewarding
Brigading Against Women - Part XVII - The Appeal
more to be known towards the end of the year
Gemini Links 04/10/2026: Peace in Outage, Pen Pals, and deGoogling
Links for the day
Links 04/10/2026: Fires Rage in Borneo and Mass Layoffs at Disney
Links for the day
Garrett's Litigation Partner is Unemployed Again
losing one's job
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, October 03, 2026
IRC logs for Saturday, October 03, 2026