Mason Hayes & Curran looks at the ongoing legal wrangle between Google and Oracle regarding APIs and copyright.
In May 2016, a six-year legal tussle between Google and Oracle entered its final phase when the US District Court for Northern California ruled that Google’s use of 37 Oracle Java APIs in its Android mobile operating system was permissible as it amounts to ‘fair use’ under US copyright law.
Oracle’s copyright infringement claim
The complex Oracle v Google litigation began in 2010. Oracle claimed that when Google was developing its Android mobile operating system, it infringed Oracle’s intellectual property in proprietary Java software by, among other things, directly copying and inserting around 11,500 lines of Java code without sufficient licensing. Oracle claimed that Google’s reuse of 37 of 166 packages of the Java API was an infringement of Oracle’s copyright and patent rights.
Google’s counter-argument was that an API is a series of instructions that allows one computer program to interact and communicate with another computer program. Google argued that an API is different from traditional software code as it is more functional in nature, like a street sign guiding traffic, and therefore not copyrightable.
Can APIs be copyrighted?
Google won the first round in 2012, when US District Court judge William Alsup ruled that APIs cannot be copyrighted. He went on to state, “The particular elements replicated by Google were free for all to use under the [US] Copyright Act.”
Alsup’s decision was reversed by the Court of Appeals of the Federal Court in 2014, which ruled that the declaring code and the structure, sequence, and organisation of the API packages are entitled to copyright protection. The general understanding in the industry at the time was that using another company’s API is permissible where the second company re-implements the API through independently written code.
While the jury unanimously held Google to be infringing Oracle’s copyright, the same jury deadlocked on the issue of whether that infringement constituted ‘fair use’.
2016 ‘fair use’ ruling
The US Supreme Court refused to review the Court of Appeals’ decision on copyright infringement so the case returned to the US District Court in 2016 for a new trial that considered whether to uphold Google’s last ditch defence of fair use of the APIs.
Under US copyright law, ‘fair use’ allows limited use of material without acquiring permission from the rights-holder for certain specified purposes. What actually constitutes fair use is often decided on a case-by-case basis and, in the May 2016 case, the jury found that Google’s use of the Java APIs in its Android mobile operating system fit the bill.
If a jury in the US had found that Google’s use of the Java APIs did not amount to ‘fair use’, other makers of smartphones and devices incorporating Android software could have been liable under US copyright law for infringing the Java API packages. While it is unlikely that Oracle would have pursued every individual Android user, it could also have created a cascade of liability for Android users under US copyright law’s strict liability rules.
APIs under Irish law
While a case like this has yet to be decided in Ireland, there is some guidance on the approach an Irish court would take.
First, an Irish court would have to consider if an API is, for the purpose of the Copyright and Related Rights Act 2000, a protectable piece of software. If it is, then the software would be protected as if it were a ‘literary work’ under the act. On the other hand, if an API was deemed to be a mathematical concept, copyright protection would not extend to it.
If the API was held to be copyright-protected software, the Irish court would then have to decide if any defences were available. There is no ‘fair use’ defence in Ireland but we do have a similar defence of ‘fair dealing’ under the act.
The fair dealing defence is more limited in terms of scope than fair use in the US. For starters, fair dealing is only applicable in certain cases concerning literary, dramatic, musical or artistic works; sound recordings; films; broadcasts; cable programmes; or non-electronic original databases for the purposes of research or private study. Also, the fair dealing defence may not apply if the activity unreasonably prejudices the interests of the owner of the copyright.
Given that the fair dealing defence is more limited than the United States’ doctrine of fair use, it would be more difficult for an API developer to mount a successful defence of fair dealing in Ireland should the same facts come before an Irish court. But the actual outcome of any claim remains to be seen, and we will have to wait to see how an Irish court might treat the issue.
Not over yet
The recent US decision means that Google and users of the Android operating system will be able to mount the fair use defence to a copyright infringement claim. However, Oracle’s legal team have stated their intention to appeal the decision, so the saga is not over.
Many in the software industry who rely on free access to APIs to help them program third-party applications and services welcomed the success of Google’s fair use defence. However, for others, the fair use defence is problematic or unavailable. The underlying 2014 decision of the Court of Appeals that the Java API packages are entitled to copyright protection remains.
Continuing uncertainty is unfortunate, as it may dissuade some companies from using the APIs of large technology companies. However, as the battle wages on, we can hope for more guidance from the US courts on the issue.
The content of this article is provided for information purposes only and does not constitute legal or other advice.
Tech Law is a weekly series brought to you by Irish law firm Mason Hayes & Curran, whose legal tech team advises the world’s top social media organisations and emerging start-ups. Check out www.mhc.ie for more.
Want stories like this and more direct to your inbox? Sign up for Tech Trends, Silicon Republic’s weekly digest of need-to-know tech news.
Programming image via Shutterstock