API License Agreement: build a starting draft free, or have me draft it around your platform
The generator below produces a clean starting draft with live preview. It cannot know your deprecation cadence, which of your limits are enforced in code rather than in prose, or what a forced migration would cost the developer on the other side. That part is my day job.
Sergei Tokmakov, California attorney, CA Bar #279869. Drafting software and platform agreements since 2011.
California Bar #279869
The most common way an API agreement reaches my desk
You already have a ChatGPT or Claude draft of API terms
The clause language is probably fine. The risk is the six things the model had no way to know, because none of them are in its training data or in your prompt.
$750 flat: one API agreement drafted or redlined, written comments, up to three rounds of email revisions. Scope confirmed in writing after a conflict check; nothing here creates an attorney-client relationship.
Short answer
In an API license the contract is the enforcement mechanism, because the statute people assume is behind it has been narrowed out from under them. In Van Buren v. United States the Supreme Court held that a person “exceeds authorized access” under the Computer Fraud and Abuse Act when he obtains information located in particular areas of the computer, such as files, folders, or databases, that are off limits to him, and in footnote 8 the Court expressly declined to decide whether that inquiry looks at all to limits contained in contracts or policies. So a rate limit your gateway rejects is one thing, and a rate limit that lives only in your terms is a contract claim, at contract damages, under whatever cap you wrote. On the other side of the table the mirror problem is deprecation: the notice period is the licensee’s entire remedy for an interface that changes underneath a shipped product, and a cap set at fees paid returns a subscription while the rebuild costs engineering months. The generator below writes a sound baseline; the notice period and the cap are a negotiation about who absorbs change.
What does a breaking change cost, and what does the cap give back?
Every number here is your own estimate. I supply no industry averages, because a migration estimate is specific to your codebase. The calculator does the arithmetic that the deprecation email will force on you later.
Arithmetic on your own inputs, not a prediction or legal advice. Real migrations run long and real caps have exclusions that this model does not attempt to price.
Where API agreements actually bleed
Five consequences, not definitions. Each one is a place I have watched real money change hands. Tap to open.
The statute narrowed, and your terms did not noticeWhat Van Buren left you, and what it took away
Developer terms are often written as if breaking them were a federal offense. The Computer Fraud and Abuse Act defines “exceeds authorized access” at 18 U.S.C. 1030(e)(6) as accessing a computer with authorization and using that access to obtain or alter information in the computer “that the accesser is not entitled so to obtain or alter,” and 1030(a)(2)(C) reaches obtaining information from any protected computer. In Van Buren the Supreme Court read that clause narrowly: a person exceeds authorized access when he obtains information located in particular areas of the computer, such as files, folders, or databases, that are off limits to him. The Court described the resulting rule as a gates-up-or-down inquiry, and in footnote 8 said it need not decide whether the inquiry turns only on technological or code-based limits or also looks to limits contained in contracts or policies.
Van Buren v. United States, No. 19-783, decided June 3, 2021, 141 S. Ct. 1648; holding and footnote 8 verified against the official slip opinion at supremecourt.gov on 2 August 2026. Statutory text verified at uscode.house.gov.
Deprecation is the clause that decides the moneyIf notice is shorter than the rebuild, the notice period is not a remedy
Almost every API agreement reserves the right to modify, throttle, or retire endpoints on notice, and almost every one sets that notice at a round number chosen without reference to anything. The test is arithmetic, not drafting: compare the notice period to the engineering days a licensee needs to ship against the replacement. If notice is shorter, the clause does not give the licensee an opportunity to comply, it gives them a countdown. On the provider side a short cadence is genuinely defensible, because an API you cannot change is an API you cannot improve. What is not defensible is a short cadence paired with a cap at fees paid, which tells a licensee that their entire remedy for a dead integration is a partial refund of a subscription.
Copyright may not stop a reimplementationGoogle v. Oracle decided fair use and did not decide copyrightability
Founders often assume the shape of their API is protected property and that anyone who reimplements it is infringing. The leading authority is less comfortable than that. In Google LLC v. Oracle America, Inc., the Supreme Court held that Google’s copying of the Java SE API, “which included only those lines of code that were needed to allow programmers to put their accrued talents to work in a new and transformative program, was a fair use of that material as a matter of law.” The copying at issue was roughly 11,500 lines of declaring code. Read the procedural posture carefully: the Court assumed for argument’s sake that the copied lines could be copyrighted and resolved the case on fair use, so it did not hold that declaring code is unprotectable. What it did do is make the fair-use path available to a well-positioned reimplementer.
Google LLC v. Oracle America, Inc., No. 18-956, decided April 5, 2021, 141 S. Ct. 1183; holding verified against the official slip opinion at supremecourt.gov on 2 August 2026.
The cap pays back a subscription; the failure costs a rebuildFees-paid caps and the exclusions that sit above them
API pricing is usually small relative to the engineering cost of depending on the API. That asymmetry is the whole reason the cap clause matters more here than in a typical services contract. A cap at the greater of twelve months of fees or a small fixed floor is common, and against a re-integration bill it is close to nothing. The number is not the only thing to read: the exclusions above the cap decide more than the cap itself, and indemnification obligations, confidentiality breaches, and willful misconduct are routinely carved out, which means those liabilities are uncapped in both directions.
Whose paper covers the licensee’s customersSublicensing, flow-down, and the indemnity that stops one party short
Most API agreements are written between two parties and then used by three. The licensee builds something, their customers use it, and your data flows to people who never agreed to anything of yours. The agreement has to answer four questions explicitly: may the licensee sublicense API access at all, are end users bound by a pass-through set of terms, who is responsible when an end user misuses the data, and who indemnifies whom for end-user claims. The usual mechanism is an acceptable use policy incorporated by reference plus a flow-down obligation, and it fails in exactly two ways: the API agreement never actually incorporates the policy, or the licensee never actually passes it through.
Questions I get about API agreementsCFAA, copyright, deprecation, caps, end users
Can I sue someone under the CFAA for breaking my API terms?
Much less reliably than before Van Buren. The Court held that a person exceeds authorized access by obtaining information in areas of the computer that are off limits, and expressly reserved whether contract or policy limits count at all. Treat a limit you enforce in code differently from a limit you only wrote down, and build your leverage into suspension and termination rights instead.
Is my API protected by copyright?
Less settled than most people believe. Google v. Oracle held that copying the Java SE declaring code was fair use as a matter of law, while assuming rather than deciding that the code was copyrightable. Your license grant, use restrictions, and termination right are the dependable controls on reimplementation.
How long should the deprecation notice be?
Longer than the rebuild takes. There is no statutory number. The test is whether the notice period lets a licensee ship against the replacement before the old endpoint dies, and the calculator on this page compares your notice period to your own engineering estimate.
Does the liability cap cover a forced migration?
Rarely in a meaningful amount. API fees are usually small relative to integration cost, so a fees-paid cap returns a subscription against an engineering bill. Read the exclusions above the cap as carefully as the cap itself, because a carved-out liability is uncapped.
Can I just use the free generator below?
For a straightforward developer program where you control the paper and no regulated data flows through the API, a generated agreement plus a careful read is a defensible starting point, and I built the generator so that it would be. Where I would not rely on it alone: when a licensee’s business depends on the integration, when the API returns personal or regulated data, when the licensee sublicenses to its own customers, or when the agreement has to agree with an acceptable use policy or terms of service drafted at a different time.
Free API license agreement generator: a starting draft, not a signable contractFill the form and the document builds in place with live preview. Word, PDF, and print export. Use it to control the paper before a licensee sends theirs.
You now have a draft I have never read. It is a sound starting point and a poor finished contract, because it was assembled from your form inputs, not from your platform. If a real developer will sign this, the $750 flat fee covers me redlining exactly what you just generated, up to three revision rounds by email.
Work with me on it
If one document is all you need, buy the one document. I will tell you when your developer program needs less paperwork than you think, and when the documents around the API have to agree with it.
API license agreement, drafted or redlined
- Drafted around your platform, or redlined against the draft you generated or the licensee’s paper, either side of the table
- Written comments on rate limits, use restrictions, deprecation and change control, sublicensing, data terms, and the cap
- Up to three rounds of email revisions
Platform-wide or complex API program
- Developer terms plus a partner agreement and an acceptable use policy that have to agree with each other
- One complex or compliance-sensitive agreement, drafted or redlined
- Coordination with your DPA, terms of service, and AUP where they overlap
Written attorney consultation
- One narrow question answered in writing: the deprecation clause, the cap, the end-user flow-down
- Send the draft and your question; get issues, risks, and next steps
- Not a full redline; the honest choice when you need an answer, not a document
Every engagement starts with a conflict check and written confirmation of scope. Overflow beyond the flat fee is billed at $300 per hour by invoice, and I tell you before that happens. No free consultations, case evaluations, or document review.
Disclaimer. This page is general legal information, not legal advice. Using the generator, reading this page, or emailing me does not create an attorney-client relationship; that requires a conflict check and a written engagement agreement. Generated documents are starting drafts. Statutes, regulations, and cases change; every citation on this page was verified against the primary source on 2 August 2026, at supremecourt.gov for the slip opinions in Van Buren and Google v. Oracle and at uscode.house.gov for 18 U.S.C. 1030. I am licensed in California. I do not carry professional liability (malpractice) insurance, and I give you that disclosure in writing with every engagement agreement.
Sergei Tokmakov, Esq. · California Bar #279869 · owner@terms.law