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

The Register MS Publishes More Word Salads Promoting "AI" Because It's Paid to Do So
Hype, name-dropping, and scaremongering
Linux Foundation is Plagiarism Hub, Linux is at Risk From It
Torvalds never looked weaker and more compromised
 
Microsoft "engineers who aren’t critical are let go" this week/month (silent layoffs)
"stack ranking"
Is Microsoft Trying to Kill What's Left of XBox by Year's End?
How many people will still bother purchasing these consoles by the end of the year?
SLAPP Censorship - Part 170 Out of 200: Downtimes
Yesterday traffic skyrocketed here
Gemini Links 03/09/2026: Google Maps, Gemini's Early History, and Suppressing Slop Plagiarists
Links for the day
Links 03/09/2026: Unsafe Skies, Thunderbird Adopts Proprietary / Vendor Lock-in Traps, "Xbox Live Down Again"
Links for the day
Growing Thirst for Free Software, the LibreOffice Edition
LibreOffice is in "high demand"
Links 03/09/2026: John Ternus Enters Apple Amid Mass Layoffs, Journalist İrem Delice Arrested
Links for the day
Stallman.org Down Due to Virtual Machines Issue, "Senior Engineers are Investigating the Issue" Since Saturday
RMS site down due to virtual machines issues upstream
Gemini Links 03/09/2026: Back in Japan, Another New Year, Reasons to Avoid Have a "Smart" "Phone", and Rant About Built-in Batteries
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, September 02, 2026
IRC logs for Wednesday, September 02, 2026
Identi.ca is Practically Dead, Just Like All Social Control Media (Eventually)
All Social Control Media is a waste of time
Gemini Links 02/09/2026: Intentions, Publishing on Workstations, and Connectivity Standards Alliance (CSA)
Links for the day
GNU/Linux Reaches 6% in Nepal
Today I checked GNU/Linux in Nepal again
SLAPP Censorship - Part 169 Out of 200: Calling People "Nazis"
'Cancel culture' in action
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
It's Inevitable Anyway, So...
of course blame Chinese Communists for the "anti-AI" messages
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?
Giving 'Free Publicity' to the People You Hate and Attack
Be careful what you wish for in social control media
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
Andrew Lee Has Turned Freenode Into a Slopfarm (Because Who Needs IRC Anyway?)
The site is churning out slop all day long
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.
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."
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