API Terms of Service
API TERMS OF SERVICE
DOCUMENT INFORMATION
| Field | Information |
|---|---|
| Document Type | API Terms of Service / Developer Agreement |
| Provider Name | [COMPANY NAME] |
| API Product Name | [API NAME / PLATFORM NAME] |
| Effective Date | [__/__/____] |
| Version | [1.0] |
| Governing Law | [State] |
| Contact | [API SUPPORT EMAIL] |
| API Documentation URL | [URL] |
| Developer Portal URL | [URL] |
PRACTICE NOTES
What is an API Terms of Service? An API Terms of Service (also called an API License Agreement or Developer Terms) governs the relationship between a company that offers programmatic access to its platform or data (the "Provider") and the developers, businesses, or applications that consume that access (the "Developer"). It is distinct from a standard website Terms of Service or SaaS agreement — it specifically addresses API keys, rate limits, data handling, output ownership, versioning, and developer obligations.
When to use this template:
- You operate a SaaS platform and want to let third parties integrate via API
- You offer a data API (financial data, geolocation, search, etc.)
- You provide an AI/ML API (text generation, image recognition, embeddings, etc.)
- You maintain a platform with webhook or OAuth-based integrationsKey considerations:
- API access is a license, not a sale — the provider retains all IP rights
- Rate limits and usage quotas should be clearly defined (see Exhibit A)
- For AI APIs: clearly address whether customer inputs/outputs are used for model training
- Data privacy obligations vary by jurisdiction (CCPA, GDPR, state laws)
- The hiQ Labs v. LinkedIn line of cases (9th Cir. 2022) established that CFAA claims may not apply to publicly available data, but breach of contract claims for API misuse remain enforceable
- API deprecation notice periods are a major pain point — best practice is 6-12 months
API TERMS OF SERVICE
Last Updated: [__/__/____]
These API Terms of Service (these "API Terms") govern your access to and use of the application programming interfaces, software development kits, developer tools, sample code, and related documentation (collectively, the "API") provided by [COMPANY LEGAL NAME], a [STATE] [corporation / LLC] (the "Provider", "we", "us", or "our").
By accessing or using the API, registering for API credentials, or clicking "I Accept," you (the "Developer", "you", or "your") agree to be bound by these API Terms. If you are accepting on behalf of a company or other legal entity, you represent that you have the authority to bind that entity.
IF YOU DO NOT AGREE TO THESE API TERMS, DO NOT ACCESS OR USE THE API.
ARTICLE 1: DEFINITIONS
1.1 Defined Terms
(a) "API Client" means any website, application, software, product, or service developed by Developer that accesses or integrates with the API.
(b) "API Credentials" means the unique API keys, tokens, client IDs, client secrets, OAuth credentials, and/or other authentication mechanisms issued to Developer by Provider to access the API.
(c) "API Data" means any data, content, or information made available to Developer through the API, including search results, database records, computed outputs, embeddings, and metadata.
(d) "Customer Data" means any data, content, files, or information that Developer or Developer's end users submit, upload, transmit, or otherwise provide to the API as input (including prompts, queries, and payloads).
(e) "Developer Application" means the API Client together with any associated products, services, or user interfaces that Developer makes available to end users.
(f) "Documentation" means the technical documentation, specifications, guides, API reference materials, changelogs, and sample code made available by Provider at [URL] or through the developer portal.
(g) "End User" means any individual or entity that accesses or uses the Developer Application.
(h) "Generated Output" means any content, data, text, images, code, audio, video, or other material produced by the API in response to Customer Data inputs. (Applicable primarily to AI/ML APIs.)
(i) "Rate Limits" means the maximum number of API requests, calls, queries, or transactions permitted within a given time period, as specified in Exhibit A or the Documentation.
(j) "SDK" means any software development kit provided by Provider to facilitate integration with the API.
(k) "SLA" means the service level agreement set forth in Exhibit B (if applicable).
(l) "Subscription Plan" means the pricing tier selected by Developer, as set forth in Exhibit A or on the Provider's pricing page.
(m) "Webhooks" means the HTTP callback notifications sent by the API to Developer-specified endpoints in response to events or triggers.
ARTICLE 2: LICENSE GRANT AND RESTRICTIONS
2.1 License Grant
Subject to Developer's compliance with these API Terms, Provider grants Developer a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to:
(a) Access and use the API solely to develop, test, and operate the Developer Application;
(b) Use the SDK and Documentation solely in connection with such development and operation;
(c) Display API Data within the Developer Application in accordance with these API Terms and the Documentation.
2.2 License Restrictions
Developer shall NOT:
(a) Reverse engineer — Reverse engineer, decompile, disassemble, decode, or otherwise attempt to derive the source code, algorithms, data models, or underlying structure of the API, except to the extent expressly permitted by applicable law notwithstanding this restriction;
(b) Resell or redistribute — Resell, sublicense, lease, or redistribute access to the API or API Data to any third party, or offer a service that functions as a pass-through or proxy for the API;
(c) Exceed scope — Use the API for any purpose beyond the scope described in the Developer Application as registered with Provider;
(d) Circumvent controls — Circumvent, disable, or interfere with any security, authentication, rate limiting, or access control mechanisms of the API;
(e) Misrepresent identity — Use another Developer's API Credentials, create multiple accounts to circumvent usage limits, or otherwise misrepresent your identity;
(f) Benchmarking — Publish or distribute benchmarks, performance tests, or competitive analyses of the API without Provider's prior written consent;
(g) Competing service — Use the API or API Data to develop, train, or improve a product or service that directly competes with the Provider's offerings;
(h) Scraping / caching — Systematically scrape, crawl, cache, or store API Data beyond what is necessary for the normal operation of the Developer Application, except as expressly permitted in the Documentation;
(i) Remove notices — Remove, obscure, or alter any proprietary notices, trademarks, or attribution requirements associated with the API or API Data.
2.3 Open Source
If the SDK or any component of the API is distributed under an open source license, the terms of that open source license shall apply to such component. Nothing in these API Terms restricts Developer's rights under any applicable open source license.
ARTICLE 3: API ACCESS AND AUTHENTICATION
3.1 Registration
To access the API, Developer must register for an account on the Provider's developer portal and provide accurate, complete, and current registration information. Developer shall promptly update this information if it changes.
3.2 API Credentials
(a) Issuance: Upon registration and acceptance of these API Terms, Provider will issue API Credentials to Developer.
(b) Confidentiality: Developer shall treat API Credentials as confidential information and shall not share, publish, embed in client-side code, or otherwise expose API Credentials to unauthorized parties.
(c) Security obligations: Developer shall:
(i) Store API Credentials securely (e.g., using environment variables, secret management services, or encrypted vaults — never in source code, public repositories, or client-side applications);
(ii) Implement access controls to limit which personnel and systems can use API Credentials;
(iii) Rotate API Credentials at least [annually / quarterly / upon any suspected compromise];
(iv) Immediately notify Provider at [SECURITY EMAIL] if API Credentials are compromised or suspected of compromise.
(d) Liability: Developer is responsible for all API activity conducted using its API Credentials, whether or not authorized by Developer.
3.3 OAuth and Token-Based Authentication
☐ OAuth Provisions Included
Where the API uses OAuth 2.0 or similar delegated authorization:
(a) Developer shall request only the minimum scopes necessary for the Developer Application's stated functionality;
(b) Developer shall not request or store End User refresh tokens beyond the period necessary for the authorized purpose;
(c) Developer shall display clear and accurate consent screens that describe the data being accessed and the purpose;
(d) Developer shall honor End User token revocation requests and promptly delete associated data.
3.4 Webhook Configuration
☐ Webhook Provisions Included
Where the API delivers data via webhooks:
(a) Developer shall maintain secure HTTPS endpoints for receiving webhook payloads;
(b) Developer shall validate webhook signatures using the signing secret provided by Provider;
(c) Developer shall respond to webhook deliveries with an HTTP 2xx status code within [5/10/30] seconds;
(d) Provider may disable webhook delivery to endpoints that consistently fail to respond.
ARTICLE 4: ACCEPTABLE USE AND PROHIBITED CONDUCT
4.1 Acceptable Use
Developer shall use the API only for lawful purposes and in compliance with (a) these API Terms, (b) the Documentation, (c) all applicable laws and regulations, and (d) the Acceptable Use Policy set forth in Exhibit C (if applicable).
4.2 Prohibited Conduct
Developer shall NOT use the API to:
(a) Illegal activity:
☐ Violate any applicable federal, state, local, or international law or regulation
☐ Facilitate fraud, money laundering, terrorist financing, or sanctions evasion
☐ Process transactions that violate payment card industry rules
(b) Harmful content:
☐ Generate, distribute, or facilitate access to malware, viruses, or other harmful code
☐ Distribute spam, phishing attempts, or unsolicited communications
☐ Generate or distribute content depicting child sexual abuse material (CSAM)
☐ Generate or distribute deepfakes intended to deceive or defraud
(c) Privacy violations:
☐ Collect, process, or store personal information in violation of applicable privacy laws (including CCPA, GDPR, and state privacy statutes)
☐ Engage in unauthorized surveillance, tracking, or profiling of individuals
☐ Scrape or aggregate personal data to build dossiers or consumer profiles without lawful basis
☐ Identify or re-identify anonymized or pseudonymized data
(d) Security violations:
☐ Attempt to gain unauthorized access to Provider's systems, networks, or other Developers' data
☐ Conduct vulnerability scanning, penetration testing, or load testing against the API without Provider's prior written authorization
☐ Use the API to conduct denial-of-service attacks against any system
(e) IP infringement:
☐ Use the API to infringe upon the intellectual property rights of any third party
☐ Use the API Data to train machine learning models in violation of Section 6 of these API Terms
(f) AI-specific restrictions (if applicable):
☐ Use Generated Output to impersonate real individuals without their consent
☐ Use the API for fully autonomous decision-making in high-risk domains (healthcare diagnosis, legal advice, financial trading, criminal sentencing) without human oversight
☐ Represent Generated Output as human-created without disclosure
☐ Use the API to generate content for political disinformation campaigns
ARTICLE 5: RATE LIMITS, USAGE QUOTAS, AND FAIR USE
5.1 Rate Limits
(a) Developer's use of the API is subject to the Rate Limits specified in Exhibit A, the Documentation, or the Developer's Subscription Plan.
(b) Provider may enforce Rate Limits by returning HTTP 429 (Too Many Requests) responses, throttling request processing, queuing requests, or temporarily suspending access.
(c) Provider reserves the right to modify Rate Limits at any time, with at least [30] days' prior notice for reductions to paid plan limits. Changes to free tier limits may take effect immediately.
5.2 Usage Quotas
(a) Certain Subscription Plans include monthly or annual usage quotas (e.g., total API calls, data volume, compute units, or tokens). Usage beyond the included quota is subject to overage charges as specified in Exhibit A.
(b) Developer may configure usage alerts and hard caps through the developer portal to prevent unexpected overage charges.
5.3 Burst and Fair Use
(a) Short bursts exceeding instantaneous Rate Limits may be permitted on a best-effort basis but are not guaranteed.
(b) Provider reserves the right to throttle or suspend access to any Developer whose usage patterns are unreasonable, abusive, or disproportionately burden the API infrastructure, regardless of whether such usage falls within stated Rate Limits.
5.4 Usage Monitoring
Developer acknowledges that Provider monitors API usage, including request volume, response times, error rates, and payload sizes, for purposes of enforcing these API Terms, preventing abuse, and improving the API. Provider shall not use the substantive content of Customer Data for monitoring purposes except as necessary to enforce these API Terms.
ARTICLE 6: DATA RIGHTS AND PRIVACY
6.1 Customer Data Ownership
(a) Developer retains all right, title, and interest in and to Customer Data. Provider acquires no ownership rights in Customer Data.
(b) Developer grants Provider a limited, non-exclusive, worldwide license to use, process, store, and transmit Customer Data solely as necessary to (i) provide the API, (ii) comply with applicable law, and (iii) enforce these API Terms.
6.2 API Data License
(a) Provider retains all right, title, and interest in and to API Data. Developer receives a limited license to use API Data solely within the Developer Application and in accordance with these API Terms.
(b) Developer shall NOT:
(i) Sell, sublicense, or distribute API Data as a standalone dataset;
(ii) Use API Data to create a derivative database that replaces or substitutes for the API;
(iii) Cache or store API Data for longer than [24 hours / 7 days / 30 days / as specified in the Documentation] unless expressly permitted.
6.3 Generated Output (AI/ML APIs)
☐ AI Output Provisions Included
(a) Ownership: As between Provider and Developer:
☐ Developer owns all Generated Output produced by the API in response to Developer's Customer Data inputs. Provider hereby assigns to Developer all right, title, and interest in Generated Output.
☐ Generated Output is licensed to Developer on a non-exclusive, perpetual, worldwide basis for use in connection with the Developer Application. Provider retains ownership.
☐ Neither party claims ownership of Generated Output. Each party may use Generated Output without restriction.
(b) No uniqueness guarantee: Provider does not guarantee that Generated Output is unique. Other developers using similar inputs may receive similar or identical output.
(c) No legal protection guarantee: Provider makes no representation that Generated Output is protectable under copyright, patent, trade secret, or any other intellectual property law.
(d) Model training opt-out:
☐ Provider does NOT use Customer Data or Generated Output to train, fine-tune, or improve its AI/ML models, unless Developer explicitly opts in.
☐ Provider may use Customer Data and Generated Output to improve its models, unless Developer opts out by [METHOD — e.g., toggling a setting in the developer portal, contacting support].
☐ Provider uses aggregated, de-identified usage data (not Customer Data content) to improve the API.
6.4 Data Privacy Compliance
(a) Each party shall comply with all applicable data protection and privacy laws, including (as applicable):
| Law / Regulation | Jurisdiction |
|---|---|
| California Consumer Privacy Act (CCPA / CPRA) | California |
| Virginia Consumer Data Protection Act (VCDPA) | Virginia |
| Colorado Privacy Act (CPA) | Colorado |
| Connecticut Data Privacy Act (CTDPA) | Connecticut |
| General Data Protection Regulation (GDPR) | EU / EEA |
| Other applicable state or international privacy laws | [SPECIFY] |
(b) If Developer's use of the API involves processing personal data of End Users, Developer shall:
(i) Maintain a privacy policy that accurately describes its data collection and processing practices, including its use of the API;
(ii) Obtain all necessary consents or establish a lawful basis for processing personal data submitted to the API;
(iii) Not submit personal data to the API unless Developer has a lawful basis for doing so under applicable privacy laws.
(c) Data Processing Addendum: ☐ If Provider processes personal data on Developer's behalf, the parties shall execute a Data Processing Addendum (DPA) incorporating Standard Contractual Clauses (SCCs) as required.
6.5 Data Deletion
(a) Upon termination of Developer's API access, Provider shall delete or return Customer Data within [30/60/90] days, except as required by law or as necessary for backup, archival, or fraud prevention purposes.
(b) Developer may request deletion of specific Customer Data at any time by contacting [SUPPORT EMAIL / USING API ENDPOINT].
6.6 Data Security
Provider shall implement and maintain industry-standard administrative, technical, and physical safeguards to protect Customer Data, including:
(a) Encryption in transit (TLS 1.2 or higher) and at rest (AES-256 or equivalent);
(b) Access controls limiting personnel access to Customer Data on a need-to-know basis;
(c) Regular security assessments and penetration testing;
(d) ☐ SOC 2 Type II compliance ☐ ISO 27001 certification ☐ Other: [SPECIFY].
6.7 Data Breach Notification
Provider shall notify Developer of any confirmed security breach involving unauthorized access to Customer Data within [48/72] hours of discovery and shall:
(a) Describe the nature and scope of the breach;
(b) Identify the data affected;
(c) Describe remedial measures taken or planned;
(d) Provide a point of contact for further information.
ARTICLE 7: INTELLECTUAL PROPERTY
7.1 Provider IP
Provider retains all right, title, and interest in and to the API, SDK, Documentation, API Data, Provider's trademarks, and all related intellectual property, including patents, copyrights, trade secrets, and know-how. These API Terms do not grant Developer any ownership interest in Provider's intellectual property.
7.2 Developer IP
Provider acquires no right, title, or interest in Developer's pre-existing intellectual property, the Developer Application, or Customer Data. Nothing in these API Terms grants Provider any license to Developer's IP, except the limited licenses expressly stated herein.
7.3 Feedback
If Developer provides suggestions, feature requests, bug reports, or other feedback regarding the API ("Feedback"), Provider may use such Feedback without restriction or obligation to Developer. Developer hereby assigns to Provider all right, title, and interest in and to any Feedback.
7.4 Attribution and Branding
(a) Developer shall comply with Provider's brand guidelines (available at [URL]) when using Provider's name, logo, or trademarks in connection with the Developer Application.
(b) ☐ Developer shall include the following attribution in the Developer Application: "Powered by [PROVIDER NAME]" or such other attribution as specified in the Documentation.
(c) ☐ Developer shall NOT use Provider's name, logo, or trademarks in any manner that implies endorsement, sponsorship, or affiliation without prior written consent.
ARTICLE 8: FEES AND PAYMENT
8.1 Pricing
☐ Paid API — Select Pricing Model:
☐ Usage-based pricing: Developer shall pay for API usage based on the per-unit rates specified in Exhibit A (e.g., per API call, per token, per record, per compute unit).
☐ Tiered subscription: Developer shall pay the monthly or annual subscription fee for the Subscription Plan selected, which includes the usage quota specified in Exhibit A. Overage charges apply to usage exceeding the quota.
☐ Flat fee: Developer shall pay a flat monthly or annual fee of $[AMOUNT] for unlimited API access within the Rate Limits specified.
☐ Freemium / Free tier: The API is available at no charge up to [NUMBER] requests per [day/month]. Usage beyond the free tier requires a paid Subscription Plan.
☐ Free API: The API is provided at no charge. Provider reserves the right to introduce paid plans with at least [60/90] days' notice.
8.2 Overage Charges
If Developer's usage exceeds the quota included in the Subscription Plan:
☐ Overage charges will automatically apply at the rates specified in Exhibit A.
☐ API access will be throttled or suspended until the next billing cycle.
☐ Developer will be notified and must upgrade to a higher tier within [5] business days.
8.3 Payment Terms
(a) All fees are invoiced [monthly / annually / upon usage] and payable within [30] days of invoice date.
(b) All fees are stated in U.S. dollars unless otherwise specified.
(c) Late payments bear interest at the lesser of [1.5]% per month or the maximum rate permitted by law.
(d) Developer is responsible for all applicable taxes (excluding taxes on Provider's income).
8.4 Fee Changes
Provider may modify pricing with at least [30/60/90] days' prior written notice. Developer may terminate within [30] days of receiving notice of a fee increase, effective at the end of the current billing period.
ARTICLE 9: SERVICE LEVELS AND AVAILABILITY
9.1 Availability Target
☐ SLA Included (see Exhibit B)
Provider shall use commercially reasonable efforts to maintain API availability of [99.9% / 99.95% / 99.99%] uptime per calendar month, measured as:
Uptime Percentage = ((Total Minutes in Month − Downtime Minutes) / Total Minutes in Month) × 100
9.2 Scheduled Maintenance
(a) Provider shall provide at least [48/72] hours' advance notice of scheduled maintenance windows via [email / developer portal / status page].
(b) Provider shall use commercially reasonable efforts to schedule maintenance during off-peak hours ([TIME ZONE]).
(c) Scheduled maintenance windows are excluded from uptime calculations.
9.3 SLA Credits
☐ If Provider fails to meet the availability target in any calendar month, Developer shall be eligible for service credits as specified in Exhibit B.
9.4 Exclusions
The availability target does not apply to:
(a) Downtime caused by Developer's systems, applications, or network;
(b) Force majeure events;
(c) Suspension or termination of access due to Developer's breach of these API Terms;
(d) Features or APIs designated as "beta," "preview," "experimental," or "alpha";
(e) API calls that exceed Rate Limits.
9.5 Status Page
Provider shall maintain a publicly accessible status page at [URL] that displays real-time API availability, latency metrics, and incident history.
9.6 Support
| Support Tier | Channels | Response Time |
|---|---|---|
| Free / Community | [Forum / Documentation / GitHub Issues] | Best effort |
| Standard | [Email] | [1/2/3] business days |
| Premium | [Email + Chat + Phone] | [4/8/24] hours |
| Enterprise | [Dedicated support engineer + Slack channel] | [1/2/4] hours |
ARTICLE 10: API MODIFICATIONS, VERSIONING, AND DEPRECATION
10.1 Right to Modify
Provider reserves the right to modify, update, enhance, or discontinue any feature, endpoint, or functionality of the API at any time, subject to the notice requirements in this Article.
10.2 Versioning
(a) Provider shall version the API using [semantic versioning (MAJOR.MINOR.PATCH) / date-based versioning (YYYY-MM-DD) / URL path versioning (v1, v2)] or such other versioning scheme as described in the Documentation.
(b) Provider shall maintain backward compatibility within a major version. Changes within a major version shall not introduce breaking changes, except as required for security patches or legal compliance.
10.3 Deprecation and Sunset Policy
(a) Deprecation notice: Before removing or making a breaking change to any production API endpoint, Provider shall:
(i) Designate the affected endpoint as "deprecated" in the Documentation and via response headers (e.g., Deprecation and Sunset HTTP headers);
(ii) Provide written notice to Developer at least [6 / 9 / 12] months before the sunset date;
(iii) Document a migration path or alternative endpoint in the Documentation.
(b) Sunset: After the deprecation period expires, Provider may permanently remove the deprecated endpoint (the "sunset"). Provider shall provide a final reminder at least [30] days before sunset.
(c) Beta / Preview APIs: APIs designated as "beta," "preview," or "experimental" may be modified or discontinued at any time with at least [30] days' notice. Beta APIs are not subject to the deprecation timelines in Section 10.3(a).
(d) Emergency changes: Provider may make immediate changes without prior notice if necessary to address security vulnerabilities, legal compliance, or prevent imminent harm to the API infrastructure. Provider shall notify Developer as soon as practicable after such changes.
10.4 Migration Assistance
☐ For breaking changes to production endpoints, Provider shall offer reasonable migration assistance, including updated Documentation, code samples, and a transition period during which both old and new versions operate concurrently.
ARTICLE 11: DEVELOPER OBLIGATIONS
11.1 Compliance with Laws
Developer shall comply with all applicable laws, rules, and regulations in its use of the API, including export control laws, sanctions, anti-bribery laws, and industry-specific regulations applicable to the Developer Application.
11.2 End User Terms
Developer shall maintain legally enforceable terms of service and privacy policy for the Developer Application that are consistent with these API Terms and accurately describe how End User data is collected, processed, and shared via the API.
11.3 Security
Developer shall implement and maintain reasonable security measures to protect API Credentials, Customer Data, and End User data, including:
(a) Using HTTPS for all API communications;
(b) Validating and sanitizing all inputs before sending to the API;
(c) Implementing proper error handling (not exposing raw API error messages to End Users);
(d) Conducting periodic security reviews of the Developer Application.
11.4 Record Keeping
Developer shall maintain records of its API usage, including logs of API requests sufficient to respond to audits, security inquiries, and legal requests, for a period of at least [12/24] months.
ARTICLE 12: CONFIDENTIALITY
12.1 Definition
"Confidential Information" means all non-public information disclosed by either party to the other in connection with these API Terms, including API Credentials, technical specifications, business plans, pricing, customer lists, and security configurations. Confidential Information does not include information that: (a) is or becomes publicly available through no fault of the receiving party; (b) was known to the receiving party before disclosure; (c) is independently developed without reference to the disclosing party's Confidential Information; or (d) is received from a third party without restriction on disclosure.
12.2 Obligations
Each party shall: (a) protect the other party's Confidential Information using at least the same degree of care used to protect its own confidential information (but no less than reasonable care); (b) use Confidential Information solely for the purposes contemplated by these API Terms; and (c) not disclose Confidential Information to any third party except to employees, contractors, and advisors with a need to know who are bound by confidentiality obligations at least as protective as those herein.
12.3 Compelled Disclosure
A party may disclose Confidential Information if required by law, regulation, or court order, provided the disclosing party (to the extent legally permitted) gives the other party prompt written notice and reasonable cooperation to seek protective treatment.
ARTICLE 13: DISCLAIMER OF WARRANTIES
THE API, SDK, DOCUMENTATION, AND API DATA ARE PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED.
PROVIDER SPECIFICALLY DISCLAIMS ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND ACCURACY.
WITHOUT LIMITING THE FOREGOING, PROVIDER DOES NOT WARRANT THAT:
(a) THE API WILL BE UNINTERRUPTED, ERROR-FREE, SECURE, OR FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS;
(b) API DATA OR GENERATED OUTPUT WILL BE ACCURATE, COMPLETE, RELIABLE, OR CURRENT;
(c) THE API WILL MEET DEVELOPER'S REQUIREMENTS OR EXPECTATIONS;
(d) ANY ERRORS OR DEFECTS WILL BE CORRECTED;
(e) GENERATED OUTPUT (IF APPLICABLE) IS FIT FOR ANY PARTICULAR PURPOSE, LEGALLY COMPLIANT, FACTUALLY ACCURATE, OR FREE OF BIAS.
DEVELOPER ASSUMES ALL RISK ARISING FROM ITS USE OF THE API AND API DATA. DEVELOPER IS SOLELY RESPONSIBLE FOR VALIDATING THE ACCURACY AND SUITABILITY OF API DATA AND GENERATED OUTPUT FOR ITS INTENDED USE.
ARTICLE 14: LIMITATION OF LIABILITY
14.1 Exclusion of Consequential Damages
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL EITHER PARTY BE LIABLE TO THE OTHER FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, PUNITIVE, OR EXEMPLARY DAMAGES, INCLUDING DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA, GOODWILL, BUSINESS OPPORTUNITY, OR ANTICIPATED SAVINGS, ARISING OUT OF OR RELATING TO THESE API TERMS, REGARDLESS OF THE THEORY OF LIABILITY (CONTRACT, TORT, STRICT LIABILITY, OR OTHERWISE) AND REGARDLESS OF WHETHER SUCH PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
14.2 Aggregate Liability Cap
EACH PARTY'S TOTAL AGGREGATE LIABILITY ARISING OUT OF OR RELATING TO THESE API TERMS SHALL NOT EXCEED THE GREATER OF:
☐ (a) The total fees paid by Developer to Provider during the [6 / 12] months immediately preceding the event giving rise to the claim; or
☐ (b) $[100 / 500 / 1,000 / 5,000].
14.3 Exceptions to Liability Cap
The limitations in Sections 14.1 and 14.2 shall not apply to:
(a) Developer's breach of the license restrictions in Article 2;
(b) Developer's breach of confidentiality obligations in Article 12;
(c) Either party's indemnification obligations under Article 15;
(d) Liability arising from willful misconduct or gross negligence;
(e) Liability that cannot be limited by applicable law.
14.4 Basis of the Bargain
THE PARTIES ACKNOWLEDGE THAT THE LIMITATIONS OF LIABILITY IN THIS ARTICLE REFLECT A REASONABLE ALLOCATION OF RISK AND ARE A FUNDAMENTAL ELEMENT OF THE BASIS OF THE BARGAIN BETWEEN THE PARTIES. THE API WOULD NOT BE PROVIDED WITHOUT SUCH LIMITATIONS.
ARTICLE 15: INDEMNIFICATION
15.1 Developer Indemnification
Developer shall defend, indemnify, and hold harmless Provider and its officers, directors, employees, agents, affiliates, successors, and assigns from and against any third-party claims, actions, suits, proceedings, damages, losses, liabilities, costs, and expenses (including reasonable attorneys' fees) arising out of or relating to:
(a) Developer's use of the API in violation of these API Terms;
(b) The Developer Application, including any claims that the Developer Application infringes a third party's intellectual property rights;
(c) Developer's violation of applicable law;
(d) Any dispute between Developer and its End Users;
(e) Customer Data submitted to the API by Developer or Developer's End Users.
15.2 Provider Indemnification
☐ Provider Indemnification Included
Provider shall defend, indemnify, and hold harmless Developer from and against any third-party claims alleging that the API (as provided by Provider and used in accordance with these API Terms) infringes a U.S. patent, copyright, or trade secret of such third party. This obligation does not apply if the infringement arises from: (a) Developer's modification of the API; (b) combination of the API with non-Provider products or services; (c) use of a superseded version of the API when a non-infringing version was made available; or (d) use of the API in violation of these API Terms.
15.3 Indemnification Procedure
The indemnified party shall: (a) promptly notify the indemnifying party of any claim; (b) grant the indemnifying party sole control of the defense and settlement of the claim; and (c) provide reasonable cooperation at the indemnifying party's expense. The indemnified party may participate in the defense at its own expense.
ARTICLE 16: TERM AND TERMINATION
16.1 Term
These API Terms are effective as of the date Developer first accesses the API or accepts these API Terms, and shall continue until terminated by either party in accordance with this Article.
16.2 Termination by Developer
Developer may terminate these API Terms at any time by ceasing all use of the API and deleting all API Credentials and API Data in Developer's possession. Developer should also close its developer account through the developer portal.
16.3 Termination by Provider
(a) For cause: Provider may suspend or terminate Developer's access immediately upon written notice if Developer:
(i) Breaches any material provision of these API Terms and fails to cure such breach within [15/30] days of written notice;
(ii) Engages in any prohibited conduct under Article 4;
(iii) Uses the API in a manner that poses a security risk to the API, Provider, or other developers;
(iv) Fails to pay undisputed fees within [30] days of the due date;
(v) Becomes subject to bankruptcy, insolvency, or similar proceedings.
(b) For convenience: Provider may terminate Developer's access for any reason with at least [30/60/90] days' prior written notice.
(c) Immediate suspension: Provider may immediately suspend (without prior notice) Developer's access if Provider reasonably believes that continued access poses an imminent security threat, violates applicable law, or causes material harm to the API infrastructure.
16.4 Effects of Termination
Upon termination:
(a) All licenses granted under these API Terms immediately terminate;
(b) Developer shall immediately cease all use of the API, SDK, and Documentation;
(c) Developer shall delete all API Credentials and cached API Data within [5/10] business days;
(d) Provider shall delete or return Customer Data in accordance with Section 6.5;
(e) The following provisions survive termination: Articles 6 (Data Rights), 7 (IP), 12 (Confidentiality), 13 (Disclaimer), 14 (Liability), 15 (Indemnification), and 16.4 (Effects).
16.5 Refund on Termination
☐ If Provider terminates for convenience, Developer shall receive a pro-rata refund of any prepaid, unused fees.
☐ If Developer terminates for cause due to Provider's uncured material breach, Developer shall receive a pro-rata refund of any prepaid, unused fees.
☐ No refunds are provided upon termination.
ARTICLE 17: GENERAL PROVISIONS
17.1 Governing Law
These API Terms shall be governed by and construed in accordance with the laws of the State of [DELAWARE / CALIFORNIA / NEW YORK / ____________], without regard to conflict of laws principles.
17.2 Dispute Resolution
☐ Exclusive jurisdiction: Each party irrevocably submits to the exclusive jurisdiction of the state and federal courts located in [COUNTY, STATE].
☐ Arbitration: Any dispute arising out of or relating to these API Terms shall be finally settled by binding arbitration administered by [JAMS / AAA] in [CITY, STATE], under [JAMS Streamlined / AAA Commercial] Arbitration Rules. The arbitrator's decision shall be final and binding.
17.3 Entire Agreement
These API Terms, together with the Exhibits, any DPA, and any order forms or Subscription Plans, constitute the entire agreement between the parties regarding the API and supersede all prior agreements, negotiations, and representations.
17.4 Amendments
Provider may modify these API Terms at any time by posting the updated version at [URL]. Material changes shall be communicated to Developer via email or the developer portal at least [30] days before they take effect. Continued use of the API after the effective date constitutes acceptance. If Developer objects to a material change, Developer's sole remedy is to terminate its use of the API before the effective date.
17.5 Severability
If any provision of these API Terms is held to be unenforceable, such provision shall be reformed to the minimum extent necessary, and the remaining provisions shall remain in full force and effect.
17.6 Waiver
No waiver of any provision shall be effective unless in writing. A party's failure to enforce any provision is not a waiver of its right to enforce that provision in the future.
17.7 Assignment
Developer may not assign these API Terms without Provider's prior written consent. Provider may assign these API Terms in connection with a merger, acquisition, or sale of all or substantially all of its assets. Subject to the foregoing, these API Terms bind and inure to the benefit of the parties' successors and permitted assigns.
17.8 Notices
Notices to Provider shall be sent to [LEGAL EMAIL / ADDRESS]. Notices to Developer shall be sent to the email address associated with Developer's developer account.
17.9 Force Majeure
Neither party shall be liable for delays or failures in performance resulting from circumstances beyond its reasonable control, including natural disasters, acts of government, pandemics, war, terrorism, labor disputes, Internet or infrastructure failures, and third-party service outages.
17.10 Independent Contractors
The parties are independent contractors. These API Terms do not create any agency, partnership, joint venture, or employment relationship.
17.11 Export Compliance
Developer shall comply with all applicable U.S. export control and sanctions laws, including the Export Administration Regulations (EAR) and regulations administered by the Office of Foreign Assets Control (OFAC). Developer shall not access or use the API from any U.S.-embargoed country or in violation of any U.S. export restriction.
ACCEPTANCE
☐ Click-wrap acceptance: By clicking "I Accept," "I Agree," or a similar button, Developer agrees to these API Terms.
☐ API key usage acceptance: By using API Credentials issued by Provider, Developer agrees to these API Terms.
☐ Signed agreement: These API Terms are accepted by the authorized signatures below.
PROVIDER:
[COMPANY NAME]
By: _____________________________________________
Name: [AUTHORIZED SIGNATORY NAME]
Title: [TITLE]
Date: [__/__/____]
DEVELOPER:
[DEVELOPER / COMPANY NAME]
By: _____________________________________________
Name: [AUTHORIZED SIGNATORY NAME]
Title: [TITLE]
Date: [__/__/____]
EXHIBIT A — RATE LIMITS AND PRICING
(Customize for your API. Examples below.)
Rate Limits
| Tier | Requests per Minute | Requests per Day | Requests per Month | Concurrent Connections |
|---|---|---|---|---|
| Free | [60] | [1,000] | [10,000] | [2] |
| Starter | [300] | [10,000] | [100,000] | [5] |
| Professional | [1,000] | [100,000] | [1,000,000] | [20] |
| Enterprise | Custom | Custom | Custom | Custom |
Pricing
| Tier | Monthly Fee | Included Quota | Overage Rate |
|---|---|---|---|
| Free | $0 | [10,000] calls/mo | N/A (hard cap) |
| Starter | $[49]/mo | [100,000] calls/mo | $[0.001] per call |
| Professional | $[199]/mo | [1,000,000] calls/mo | $[0.0005] per call |
| Enterprise | Custom | Custom | Custom |
AI/ML API Pricing (if applicable)
| Model / Endpoint | Input Price | Output Price | Unit |
|---|---|---|---|
| [MODEL NAME] | $[X.XX] | $[X.XX] | per 1K tokens |
| [ENDPOINT NAME] | $[X.XX] | — | per request |
| [ENDPOINT NAME] | $[X.XX] | — | per image / per minute of audio |
EXHIBIT B — SERVICE LEVEL AGREEMENT (SLA)
(Include only if SLA is offered.)
Uptime Commitment
| Uptime Target | Monthly Downtime Allowance |
|---|---|
| 99.99% | ~4.3 minutes |
| 99.95% | ~21.6 minutes |
| 99.9% | ~43.2 minutes |
| 99.5% | ~3.6 hours |
| 99.0% | ~7.2 hours |
Provider's Uptime Commitment: [99.9%] for the [Professional / Enterprise] Subscription Plans.
SLA Credits
| Uptime Achieved | Service Credit (% of Monthly Fee) |
|---|---|
| 99.0% – 99.89% | [10]% |
| 95.0% – 98.99% | [25]% |
| Below 95.0% | [50]% |
Credit Request Process
Developer must submit a credit request within [30] days of the month in which the downtime occurred, including evidence of the downtime. Credits are applied to future invoices and are not redeemable for cash. Credits shall not exceed [50]% of the monthly fee for the affected month.
Exclusions
SLA credits do not apply to downtime resulting from: (a) scheduled maintenance with prior notice; (b) Developer's systems or network; (c) force majeure; (d) beta/preview features; (e) free tier usage; (f) suspension due to Developer's breach.
EXHIBIT C — ACCEPTABLE USE POLICY
(Include if a separate AUP is desired. Otherwise, Article 4 serves as the AUP.)
Prohibited Activities
In addition to the restrictions in Article 4, the following activities are prohibited:
☐ Automated creation of developer accounts or API keys
☐ Use of the API to send unsolicited communications (spam)
☐ Accessing the API from automated scripts that simulate human interaction without disclosure
☐ Using the API to circumvent paywalls, access controls, or digital rights management on third-party content
☐ Sharing API access (credentials or results) with competitors of Provider
☐ Conducting any activity that materially degrades the API's performance for other developers
☐ Using the API for cryptocurrency mining, proof-of-work computation, or similar resource-intensive operations unrelated to the API's intended purpose
☐ Using the API in connection with weapons systems, nuclear facilities, air traffic control, or life support systems without Provider's prior written authorization
Reporting Violations
Suspected violations of this AUP should be reported to [ABUSE EMAIL].
SOURCES AND REFERENCES
| Source | Citation |
|---|---|
| Computer Fraud and Abuse Act | 18 U.S.C. § 1030 |
| hiQ Labs, Inc. v. LinkedIn Corp. | 938 F.3d 985 (9th Cir. 2019); 31 F.4th 1180 (9th Cir. 2022) |
| Van Buren v. United States | 593 U.S. 374 (2021) (CFAA "exceeds authorized access") |
| DMCA Safe Harbor | 17 U.S.C. § 512 |
| CCPA / CPRA | Cal. Civ. Code § 1798.100 et seq. |
| GDPR | Regulation (EU) 2016/679 |
| FTC Act — Unfair / Deceptive Practices | 15 U.S.C. § 45 |
| SEC Private Fund Adviser Rules | 17 CFR § 275.211(h)(2)-3 (re: side letters and preferential terms) |
| Export Administration Regulations | 15 CFR §§ 730–774 |
| OFAC Sanctions | 31 CFR Part 500 et seq. |
| E-SIGN Act | 15 U.S.C. § 7001 |
| NVCA Model Documents | Updated Oct. 2, 2025 |
| Google APIs Terms of Service | developers.google.com/terms |
| Slack API Terms of Service | slack.com/terms-of-service/api |
| OpenAI Terms of Use | openai.com/policies/row-terms-of-use |
This template is provided for informational purposes only and does not constitute legal advice. API Terms of Service are complex legal agreements that interact with intellectual property law, data privacy regulations, export controls, and contract law. The specific terms appropriate for your API depend on the type of data or services provided, your jurisdiction, your target developers, and your business model. You must consult with qualified legal counsel licensed in your jurisdiction before using this template. Do not publish or enforce these terms without professional legal review. Use of this template does not create an attorney-client relationship.
About this template
- Last updated
- March 14, 2026
- Jurisdiction
- All states
- Category
- Contracts & Agreements
Legal authority
- Computer Fraud and Abuse Act (18 U.S.C. § 1030)
- Digital Millennium Copyright Act (17 U.S.C. § 512)
- California Consumer Privacy Act (Cal. Civ. Code § 1798.100 et seq.)
- EU General Data Protection Regulation (Regulation 2016/679)
- Electronic Signatures in Global and National Commerce Act (15 U.S.C. § 7001)
- FTC Act Section 5 (15 U.S.C. § 45) — Unfair or Deceptive Practices
A contract is a written record of what two or more parties agreed to and what happens if someone does not follow through. Clear language, defined terms, and clean signature blocks keep disputes small and enforceable. The most common mistakes in contracts come from vague promises, missing details about timing or payment, and skipping standard protective clauses like governing law and dispute resolution.
Not legal advice
This template is provided for informational purposes. We recommend having an attorney review any legal document before signing, especially for high-value or complex matters.
Checked against the law it cites
The statutes this template relies on are listed under Legal authority.
Draft your API Terms of Service in the editor
Answer a few questions, let the AI editor draft each section from your answers, review it, and download Word and PDF. $99 one time, or $249 per month for every document and every Ezel app.