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

It's Inevitable Anyway, So...
of course blame Chinese Communists for the "anti-AI" messages
Giving 'Free Publicity' to the People You Hate and Attack
Be careful what you wish for in social control media
Andrew Lee Has Turned Freenode Into a Slopfarm (Because Who Needs IRC Anyway?)
The site is churning out slop all day long
SLAPP Censorship - Part 168 Out of 200: When Choosing Clients Recklessly and Poorly Self-Harm is Inevitable
"If you're doing something hard and nobody hates it, you probably aren't doing it. If the right people hate it and those people happen to be some of the worst people alive, so much the better."
 
GNU Turns 43 This Month, GNU/Linux Turns 35 Next Year
It seems like no area of computing has not been impacted by the GNU/Linux revolution
Uber Debt Grew 2.5 Billion Dollars in 3 Months, Company Lays Off at Least 10% of Workforce
The media repeats the "official" numbers
Links 02/09/2026: The Machine Stops, AuraSearch, and DOOM 1/2
Links for the day
1-1 Meetings at IBM This Week, PIPs Expected, Maybe RAs Too
As usual, we invite whistleblowers to tell us what's going on
Links 02/09/2026: Germany Blames Russia for Leipzig Airport Drone Attack and China Gains Power as US Faces Humiliation in the Midst of Presidential Cover-up
Links for the day
Quit Talking About "AI Layoffs" and Talk About How Chatbots and Other Bots Broke Recruitment Processes by Cheating
Bots talking to other bots isn't HR; it's a catastrophe
Robotics Isn't "Hey Hi", Robotics Isn't New Either
Is the official Arduino blog becoming shilling platform for Qualcomm's "hey hi" [so-called 'intelligent'] chips?
Today We'll Focus on Growth of GNU/Linux
We've meanwhile noticed that Clownflare statistics for north American nations show 19% of requests (CDN) originating from GNU/Linux
IBM Secret (or Silent) Layoffs in September 2026
We need whistleblowers
Gemini Links 02/09/2026: GAFAM's E-mail Cartel, ROOPHLOCH 2026, and Homeworlds
Links for the day
Not Only Microsoft and IBM Hide Layoffs (Secret Layoffs) and Fail to Follow the Law (or Bypass It)
Microsoft's tactics are not so unique
People Who Participate in the Slop Plagiarism Pyramid Scheme and the Moral Dilemma (What's Acceptable for a Salary?)
giant pyramid scheme
State of the Slop, Linux Edition
Whether slop about "linux" becomes rarer by the end of this year, well... time will tell
Links 02/09/2026: 'Open' 'AI' (Proprietary Slop Plagiarism) Destroying Evidence, "Data Center Backlash Has Officially Rattled Scam Altman"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, September 01, 2026
IRC logs for Tuesday, September 01, 2026
FSF Staff Uses 'CoC' to Stop Conversation About Autistici/Inventati in Relation to Free Software
The list is already heavily moderated
IBM Allegedly Stopped Hiring (This Tends to Coincide With Mass Layoffs)
Is a hiring freeze an echo of layoffs? Yes, definitely.
Something Big is Happening at IBM This Week/Month
Some people at IBM (and Red Hat) are panicking
Gemini Links 01/09/2026: Biscuits, Epstein Files, Power Users, and Alhena 5.6.8
Links for the day
Links 01/09/2026: Almost 5,000 Missing/Dead in Nepal-China Flood and Marijuana Factory Explodes
Links for the day
September at IBM: Silent Layoffs on Day 1
PIPocalypse at IBM
Last Month IRC Entered Its 39th Year and It's Still Growing (New IRC Networks)
There are 511+ known IRC networks
Links 01/09/2026: Climate, Disinformation, Microsoft Overworking People
Links for the day
Richard Stallman's Site Still Offline (Third Day), But Richard Stallman is Active Online
he is busy online despite his site not being accessible so far this week
PIP Layoffs at Microsoft, Even in India
Microsoft is trying to hide the true scale of the layoffs
Layoff Trackers Are a Sham, They're Like US 'Unemployment Data'
Layoff trackers are similarly misleading as they only measure what companies openly admit and register with WARN notices
The Peculiar Case of OSNews, Which Experiments With Slopfarming
It wasn't published in error. It has been there for two months.
Russian Federation is Removing Windows From Computers
Windows is going "out of fashion"
XBox CEO Has No Clue What She is Selling
Some people believe Microsoft will parcel and offload the whole "gaming" unit to some other companies
analognowhere.com and xkcd.com Selling Physical Copies of Webcomics
That's one way to support their work
PIP/GVSA at Microsoft: Mass Layoffs Disguised as Something Else
Microsoft is trying to cheapen the workforce because the numbers don't add up
Microsoft Lunduke Uses Twitter ("X") Because It's Algorithmically Designed to Boost His Worldview/s, He Ignores What "X" Is
Maybe all those people really deserve one another
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, August 31, 2026
IRC logs for Monday, August 31, 2026
Censorship by Threats
It should be noted that the Web site of Richard Stallman will soon enter its third day of downtime
In Romania, GNU/Linux Reaches 6%, According to Clownflare
Tomorrow we'll see the latest data from statCounter (for September)
Gemini Links 01/09/2026: Denali Park Train Trip, Crafts, and Community-Building in smol.pub
Links for the day
Microsoft Workers Doing 80 Hours a Week After Microsoft Culled Their Colleagues
there are days when they work 17 hours a day (barely any time left to sleep and eat) and work starts at 5AM
IBM Defrauds Shareholders With Fake News (Bribed Press) About "Quantum"
That says a lot about the state of "Tech Giants" and also the utterly shameless state of the media
Record Highs for GNU/Linux, Especially in the United States of America
the "market share" of GNU/Linux is about 9%, still about a third of what Vista 11 stands at
PIPocalypse at IBM
Silent layoffs
Spending Over a Million Bucks on Lawsuits Abroad When There's a Big Mortgage to Pay in America
Priorities, priorities...
Gemini Links 31/08/2026: Announcing ROOPHLOCH 2026, smol.pub Discussion, and LLM Plagiarism Engines Target Geminispace
Links for the day
Richard Stallman's GNU Turns 43 in 4 Weeks, FSF Growing
In a few weeks GNU turns 43
IBM's Cuts Are Worsening Security in GNU/Linux
IBM is still run by the same idiot who proposed taking over Red Hat
Microsoft: Work Weekends Too
Microsoft literally working its workers to death
Links 31/08/2026: Anthropic Sued Again for Copyright Infringement of Massive Scale, 'Tokenmaxxing' Shows Slop is a Worthless Liability
Links for the day
Links 31/08/2026: "Teslas Are Still Driving Into Oncoming Freight Trains" and "LLM Moats Quickly Evaporating"
Links for the day
Stallman Has Explained Slop is "Marketing Hype Campaign" and Torvalds Agreed. The Difference is the Bribes.
So be like Stallman
Debian Project Discards About 25% of the Votes on LLM Slop, Microsoft Votes in the General Resolution (GR)
"[t]he rules of the vote saw community members asked to rank each of the eight proposals. Just under 600 people voted, but Debian’s election team rejected many for unspecified reasons, leaving almost 450 valid votes to count."
Essentiality of Rest and Killing Oneself for Vicious Companies
Working for Microsoft is foolish
In the UK, Bing (Microsoft) Down to Lowest Level Since January
our tax money being passed to Microsoft via MoUs (back door deals with kickbacks)
SLAPP Censorship - Part 167 Out of 200: The Court of Appeal Might be the Next Step
Today is our last vacation day
German Government Sponsors IBM Because of GNU/Linux
Flatpak is sponsored by, run, and controlled by IBM
Richard Stallman Speaks to Christine Hall of FOSS Force, stallman.org is Down for Over a Day
interview does a good job addressing the hype about LLMs too
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, August 30, 2026
IRC logs for Sunday, August 30, 2026
Gemini Links 31/08/2026: Holidays, Stream of Consciousness, and Posting Online
Links for the day