Technology & APIs

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.

Sergei Tokmakov, Esq., California attorney, CA Bar #279869
Sergei Tokmakov, Esq.
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.

1. Which limits you actually enforce in codeA quota your gateway rejects and a quota you only wrote down are different legal animals after Van Buren.
2. Your real deprecation cadenceThe notice period is the whole remedy for a killed integration. The model guessed a round number.
3. Whether the licensee resells accessIf their customers touch your API, the flow-down and the indemnity have to reach those customers. Most drafts stop at the licensee.
4. What your endpoints returnPersonal data, regulated data, or third-party content each change the data terms and sometimes require a separate agreement.
5. What your cap returns against a rebuildTwelve months of API fees is often a fraction of one re-integration. That gap is the negotiation.
6. Whether copyright protects your interfaceThe Supreme Court decided the leading case on fair use and expressly did not decide copyrightability. Your contract is the dependable control.

$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.

Your own estimate for building, testing, and shipping against the replacement interface.
Rebuild cost
Revenue at risk
What the cap returns
Uncovered gap

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.

The practical rule I give clients. Enforce in code what you actually care about. Anything that exists only in prose is a contract term, which means your remedy is contract damages, subject to your own cap, and your leverage is suspension and termination rather than a federal claim. Write the suspension right accordingly: immediate, for defined conduct, without a cure period for abuse.

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.

What a fair version looks like. A notice period keyed to severity, a defined tail during which the prior version keeps working, a commitment that security fixes are exempt from the tail, and a termination right with a pro-rata refund of prepaid fees if the licensee decides the rebuild is not worth it. Run your own numbers in the calculator above before you accept a number someone else picked.
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.

The sentence to find. Read the clause beginning “the foregoing limitation shall not apply to.” If your data obligations and your indemnity are listed there, the cap does not govern the claims most likely to arrive. If they are not listed, the cap governs everything, which is excellent for the provider and worth pricing for the licensee.
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.

If your API touches personal or regulated data: the developer terms are not the whole stack. A data processing agreement and an acceptable use policy have to agree with the API agreement on suspension rights, breach notice, and the cap, which is where document sets drafted at different times come apart.
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.
Read this before you use the output. This generator assembles a standard API license agreement from your form inputs. It does not know which of your limits are enforced in code, what your deprecation cadence really is, what your endpoints return, or whether your licensee resells access. It is not legal advice, and using it does not make me your attorney.

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.

Send me this draft: $750

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.

Most developer programs land here

API license agreement, drafted or redlined

$750
  • 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
Request this package, $750

Platform-wide or complex API program

$1,200
  • 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
Request this package, $1,200

Written attorney consultation

$240
  • 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
Request this package, $240

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