Contract TemplateTechnology

API Licence Agreement
Template — South Africa

An attorney-drafted API Licence Agreement template designed specifically for South African businesses that expose or consume Application Programming Interfaces. This comprehensive, legally compliant document governs API access, authentication, rate limiting, data handling, versioning, commercial terms, and intellectual property — ensuring compliance with the Electronic Communications and Transactions Act 25 of 2002, the Protection of Personal Information Act 4 of 2013, and the Copyright Act 98 of 1978.

Drafted by qualified South African attorneys

Reviewed for compliance with current legislation · Last updated April 2026

Why It Matters

Why Your Business Needs This Agreement

Uncontrolled API Usage Overloading Infrastructure

Without contractually defined rate limits and usage quotas, API consumers can overwhelm your infrastructure with excessive calls — whether through inefficient integrations, runaway scripts, or deliberate abuse. This degrades service quality for all consumers and increases hosting costs. An API Licence Agreement with specific rate limits, burst allowances, and overage handling provisions gives you the contractual right to throttle or suspend abusive consumers while protecting legitimate users.

Data Scraping and Competitive Misuse

APIs provide structured, machine-readable access to your data and services — making them an attractive target for competitors who want to scrape your data, replicate your service, or build competing products using your infrastructure. Without an API Licence Agreement that explicitly prohibits competitive use, data redistribution, and reverse engineering, you have limited legal recourse. The Copyright Act 98 of 1978 provides some protection for the API as a literary work, but contractual prohibitions provide stronger and more specific enforcement mechanisms.

POPIA Liability for Personal Information in API Payloads

When personal information flows through your API — whether in request parameters, response payloads, or metadata — both the API provider and the consumer have POPIA obligations. Without a clear agreement defining the responsible party and operator roles, processing purposes, security measures, and breach notification procedures, both parties face enforcement action by the Information Regulator. The provider may be held liable for the consumer's mishandling of personal information received through the API, unless the agreement clearly delineates responsibilities.

Breaking Changes Disrupting Consumer Integrations

API changes that break existing integrations can cause significant commercial damage to consumers who have built their applications on your API. Without a contractually defined versioning and deprecation policy, consumers have no guarantee that their integrations will continue to work. This creates commercial uncertainty that discourages adoption. A well-drafted API Licence Agreement with clear versioning policies, minimum support periods for deprecated versions, and advance notification requirements builds the developer trust that is essential for API programme growth.

Revenue Leakage from Unauthorised API Key Sharing

API credentials that are shared between multiple consumers — or embedded in client-side code where they can be harvested — result in usage that the provider cannot attribute, bill, or control. Without contractual provisions requiring credential security, prohibiting key sharing, and granting the provider the right to revoke compromised credentials, this revenue leakage can become substantial. The agreement should make clear that API credentials are confidential, non-transferable, and subject to immediate revocation if compromised.

What is a API Licence Agreement?

APIs are the backbone of modern software integration, and the legal framework governing API access must be as robust as the technology itself. An API Licence Agreement is a contract that governs how third parties access and use your Application Programming Interface — establishing the rules for authentication, rate limiting, data handling, permitted uses, versioning, commercial terms, and intellectual property ownership. For South African businesses, this agreement must comply with the Electronic Communications and Transactions Act 25 of 2002 (ECTA), the Protection of Personal Information Act 4 of 2013 (POPIA), and the Copyright Act 98 of 1978, which collectively regulate the legal validity of electronic agreements, the protection of personal information transmitted through APIs, and the intellectual property rights in the API itself.

The commercial importance of APIs in South Africa has grown enormously. Fintech companies provide payment processing APIs that handle billions of rands in transactions annually. Logistics platforms expose tracking APIs to e-commerce partners. Data providers offer API access to financial, property, and consumer datasets. Government systems increasingly use APIs for citizen-facing services. In every case, the API provider needs a legally enforceable agreement that protects their intellectual property, limits their liability, controls how their API is used, and ensures compliance with South African data protection law. Without a properly drafted API Licence Agreement, providers face uncontrolled use of their infrastructure, potential data breaches for which they bear liability, intellectual property misappropriation, and revenue leakage from unauthorised commercial exploitation.

Under ECTA, electronic agreements — including API licence agreements accepted through developer portals or integrated into API documentation — are legally binding provided they meet the requirements of Sections 11 and 22. The agreement must be made available to the API consumer in a way that allows them to review, store, and reproduce the terms. Section 43 of ECTA requires service providers to disclose specified business information. For APIs that transmit personal information, POPIA imposes additional obligations: the API provider and consumer must agree on their respective roles as responsible party and operator, implement security measures compliant with Section 19, and address cross-border data transfers under Section 72. The Copyright Act 98 of 1978 protects the API itself as a literary work under Section 1, meaning that unauthorised copying, reverse engineering, or decompilation of the API may constitute copyright infringement under Sections 6 and 7.

This attorney-drafted template covers every critical area: API access provisioning and authentication, rate limits and usage quotas, permitted and prohibited uses, data handling and POPIA compliance, API versioning and deprecation policies, SLA and availability commitments, commercial terms and pricing tiers, intellectual property ownership and attribution, confidentiality, liability limitations, and dispute resolution. Whether you are a fintech company exposing a payments API, a data provider licensing access to datasets, or a SaaS platform enabling third-party integrations, this agreement provides the legal foundation your API programme requires.

Who Needs This

SaaS companies exposing APIs for third-party integrations and partner ecosystems
Fintech and payments companies providing transactional APIs that process financial data
Data providers offering API access to datasets, analytics, or real-time data feeds
Logistics, e-commerce, and supply chain platforms with partner integration APIs
Government departments and SOEs providing API access to public services or datasets
Any South African business providing programmatic access to its services or data
Open banking providers and financial institutions implementing API-based services under SARB guidance
Telecommunications companies offering messaging, voice, or connectivity APIs

Want early access to the API Licence Agreement template?

We'll email you the moment early access opens

APIs are protected as "literary works" under Section 1 of the Copyright Act 98 of 1978 — unauthorised reproduction, reverse engineering, or decompilation constitutes copyright infringement under Sections 6 and 7

ECTA Section 11 confirms that API licence agreements accepted through electronic developer portals are legally valid, and Section 22 requires that consumers have a reasonable opportunity to review terms before acceptance

POPIA applies to all APIs that transmit personal information — Section 21 requires a written operator agreement, Section 19 requires appropriate security measures, and non-compliance can result in fines of up to R10 million

The Cybercrimes Act 19 of 2020 criminalises unauthorised access to API endpoints under Section 2, unlawful data interception under Section 3, and cyber fraud under Section 8 — providing criminal deterrence beyond contractual remedies

Unauthorised API key sharing and credential misuse can be addressed through both contractual remedies and criminal prosecution under the Cybercrimes Act, depending on the nature and intent of the conduct

Template Contents

Key Clauses Included

This API Licence Agreement template covers 12 essential sections, each drafted by South African attorneys.

01

API Access & Authentication

Defines the provisioning of API credentials (API keys, OAuth 2.0 client credentials, JWT tokens), the authentication flows supported, sandbox versus production environment access, credential rotation policies, and the API consumer's obligation to secure their credentials. Specifies that API keys are confidential and may not be shared, embedded in client-side code, or used in a manner that exposes them to unauthorised parties. Addresses multi-factor authentication requirements for administrative API operations.

02

Rate Limits & Usage Quotas

Establishes requests-per-second, requests-per-minute, and requests-per-day limits for each API tier, burst allowances for traffic spikes, throttling behaviour when limits are exceeded (HTTP 429 responses with Retry-After headers), quota monitoring dashboards, and overage handling — whether excess calls are blocked, throttled, or billed at a premium rate. This section prevents infrastructure abuse while providing predictable capacity for legitimate consumers.

03

Permitted & Prohibited Uses

Defines the scope of the API licence grant — typically non-exclusive, non-transferable, and revocable. Lists prohibited uses including white-labelling the API output without authorisation, using the API to build a competing service, data scraping beyond authorised endpoints, redistribution of API data to third parties, circumvention of rate limits or security mechanisms, and any use that violates South African law including the Cybercrimes Act 19 of 2020. The permitted use definition is critical for intellectual property protection under the Copyright Act.

04

Data Handling & Privacy

Addresses API data ownership, caching policies (whether the consumer may cache API responses and for how long), data retention obligations, POPIA compliance when personal information is transmitted through the API — including the identification of responsible party and operator roles under Section 1, security measures under Section 19, and cross-border transfer safeguards under Section 72 where API calls cross international borders. Specifies data deletion obligations on termination of the agreement.

05

Versioning & Deprecation

Sets out the API versioning strategy (URI versioning, header versioning, or query parameter versioning), minimum support periods for deprecated versions (typically 12 months from deprecation announcement), migration timelines and tooling the provider will make available, breaking versus non-breaking change policies, notification requirements through developer communications and API response headers (e.g., Sunset and Deprecation headers), and backwards compatibility commitments for minor version releases.

06

SLA & Availability

Defines API uptime commitments (typically 99.9% for production APIs), the measurement methodology, planned maintenance windows and advance notification requirements, status page and real-time monitoring obligations, incident notification procedures, and service credit mechanics for periods when the API fails to meet availability targets. Distinguishes between total outage and degraded performance, and specifies the impact of each on SLA calculations.

07

Commercial Terms & Pricing

Establishes the pricing model — whether free tier with limited calls, per-call or per-transaction fees, monthly subscription tiers, or volume-based pricing with committed usage discounts. Covers billing cycles, invoicing procedures, payment terms (typically 30 days), late payment consequences, and the treatment of VAT at 15% under the Value-Added Tax Act 89 of 1991. For usage-based pricing, specifies how API calls are counted and what constitutes a billable call versus a non-billable call (e.g., authentication errors).

08

Intellectual Property & Attribution

Confirms that the API, its documentation, the underlying algorithms, and all associated intellectual property remain the exclusive property of the provider, protected as literary works under Section 1 of the Copyright Act 98 of 1978. Defines any required attribution or branding guidelines, "Powered By" badge requirements for consumer-facing applications, trademark usage rules, and the consumer's obligation not to reverse engineer, decompile, or create derivative works from the API — activities that would constitute copyright infringement under Sections 6 and 7 of the Copyright Act.

09

Confidentiality & Security

Mutual confidentiality obligations protecting API credentials, technical documentation, pricing terms, and business information exchanged in connection with the API programme. Specifies the API consumer's obligation to implement reasonable security measures to protect data received through the API, to notify the provider promptly of any security breach involving API credentials, and to cooperate with incident response procedures.

10

Liability & Indemnification

Caps the provider's aggregate liability at the total fees paid by the consumer in the 12 months preceding the claim, excludes indirect and consequential damages (subject to CPA limitations where applicable), and establishes mutual indemnification obligations — the provider indemnifies for IP infringement claims, and the consumer indemnifies for misuse of the API, violation of the acceptable use terms, and claims arising from the consumer's application or service that integrates the API.

11

Term, Termination & Suspension

Defines the agreement term, renewal provisions, termination for convenience with notice, termination for cause (material breach, insolvency, violation of acceptable use terms), the provider's right to suspend API access immediately for security threats or persistent abuse, and post-termination obligations including cessation of API calls, deletion of cached data, and removal of API-derived content from the consumer's applications.

12

Dispute Resolution & Governing Law

Specifies South African law as the governing law and establishes a dispute resolution process beginning with negotiation between designated representatives, escalating to mediation under the Arbitration Foundation of Southern Africa (AFSA) rules, and proceeding to binding arbitration if mediation fails. Includes provisions for urgent interim relief through the High Court to protect intellectual property or prevent data breaches.

Legal Compliance

South African Law Compliance

ECTA

Electronic Communications and Transactions Act 25 of 2002

ECTA is the foundational legislation for API agreements in South Africa. Section 11 confirms that electronic agreements are legally valid. Sections 12 and 13 govern the formation of electronic contracts, ensuring that API licence agreements accepted through developer portals are binding. Section 22 requires that the consumer has a reasonable opportunity to review the terms before acceptance. Section 43 imposes disclosure obligations on service providers, including the requirement to display full business details. Chapter XI provides limited liability protections for service providers hosting third-party content, which may apply to API providers who transmit user-generated content through their APIs.

POPIA

Protection of Personal Information Act 4 of 2013

POPIA applies whenever personal information is transmitted through an API — whether as request parameters, response payloads, or metadata such as IP addresses and authentication tokens. Section 19 requires appropriate security measures for API endpoints that handle personal information. Section 21 requires a written agreement between the responsible party and the operator when processing is performed on behalf of another party. Section 22 mandates notification of security compromises. Section 72 restricts cross-border data transfers, which is directly relevant for APIs called from or serving data to users outside South Africa. Non-compliance can result in administrative fines of up to R10 million under Section 109.

Copyright Act

Copyright Act 98 of 1978

The Copyright Act is critical for API intellectual property protection. Software — including APIs, their documentation, and underlying source code — is classified as a "literary work" under Section 1 and is automatically protected by copyright from the moment of creation. Sections 6 and 7 define what constitutes infringement, including unauthorised reproduction, adaptation, and making available to the public. Section 11 vests copyright ownership in the author unless the work was created in the course of employment (Section 21). The API Licence Agreement defines the scope of authorised use, and any use beyond the licence grant constitutes copyright infringement, enforceable through civil remedies under Section 24 and criminal penalties under Section 27.

Cybercrimes Act

Cybercrimes Act 19 of 2020

The Cybercrimes Act is directly relevant to API security and prohibited use provisions. Section 2 criminalises unlawful access to computer systems — including API endpoints accessed without proper authentication or authorisation. Section 3 criminalises unlawful interception of data. Section 5 criminalises unlawful interference with data, which includes tampering with API requests or responses. Section 7 criminalises cyber-related espionage, which may apply to API scraping for competitive intelligence. The API Licence Agreement should prohibit activities that constitute cybercrimes and reserve the provider's right to report violations to the SAPS.

CPA

Consumer Protection Act 68 of 2008

The CPA applies where the API consumer qualifies as a consumer — a natural person or juristic person with annual turnover below R2 million. Where applicable, Section 22 requires that the API agreement be in plain language. Section 48 prohibits unfair, unreasonable, or unjust contract terms. Section 51 limits the provider's ability to exclude liability for gross negligence or defective services. The CPA's plain language requirement is particularly important for API documentation and terms that may be reviewed by non-technical business owners.

South African businesses are lining up for My-Contracts — be first in when we launch

POPIA CompliantLegally ReviewedDigital Signing Available
Simple Process

Create Your API Licence Agreement in Minutes

Our guided wizard walks you through every clause — no legal knowledge required. Attorney-drafted, South African law compliant.

01

Define your API programme structure and tiers

Document the API endpoints you will expose, the authentication mechanisms you will support (API keys, OAuth 2.0, JWT), the rate limits for each tier (free, standard, enterprise), and the commercial model (free, per-call, subscription, or volume-based pricing). This forms the technical and commercial foundation of the agreement and determines which legal provisions are most critical.

02

Map data flows and POPIA obligations

Identify all personal information that flows through your API — in requests, responses, headers, and metadata. Determine the responsible party and operator roles for each data flow. Document the processing purposes, security measures, and cross-border transfer routes. This analysis directly informs the POPIA compliance provisions in the agreement and ensures you meet Section 21 requirements.

03

Customise the template with your specific terms

Complete the template by inserting your API tier definitions, rate limits, pricing, SLA commitments, versioning policy, permitted uses, prohibited uses, and liability caps. Every bracketed field in the template corresponds to a decision point that requires your specific commercial input. Pay particular attention to the liability cap — which should reflect the commercial risk of each API tier.

04

Integrate the agreement into your developer portal

Configure your developer portal to present the API Licence Agreement during the registration flow, requiring affirmative clickwrap acceptance before API credentials are issued. Maintain a timestamped record of each consumer's acceptance, implement version control for the agreement terms, and establish a re-acceptance mechanism for material updates. This ensures enforceability under ECTA Sections 11 and 22.

05

Implement monitoring and enforcement mechanisms

Deploy API gateway policies that enforce the rate limits, usage quotas, and access controls defined in the agreement. Implement monitoring for prohibited uses such as data scraping, credential sharing, and excessive error rates. Establish the enforcement workflow — from automated warnings through to manual review, suspension, and termination — that the agreement authorises you to follow.

Your API Licence Agreement is ready
Common Questions

Frequently Asked Questions

An API Licence Agreement is a legally binding contract that governs how third parties access and use your Application Programming Interface. It establishes the rules for authentication, rate limiting, data handling, permitted uses, versioning, and commercial terms. You need one because without it, third parties can use your API in ways you did not intend — building competing products, scraping your data, overloading your infrastructure, or redistributing your content. Under the Copyright Act 98 of 1978, your API is protected as a literary work, but the licence agreement defines the specific rights you grant to consumers. Under POPIA, if personal information flows through your API, you must have contractual terms governing its processing. Under ECTA, the agreement provides the legal framework for your electronic commercial relationship. An API Licence Agreement is not optional — it is the legal foundation of your entire API programme.

Why This Template

What You Get With This Template

Drafted specifically for South African law — compliant with ECTA, POPIA, the Copyright Act, the Cybercrimes Act, and the CPA

Comprehensive rate limiting framework with tier-based quotas, burst allowances, and clear overage handling provisions

Full POPIA compliance provisions for APIs that transmit personal information, including responsible party/operator roles, Section 19 security measures, and Section 72 cross-border transfer safeguards

Robust intellectual property protection under the Copyright Act 98 of 1978, with prohibitions on reverse engineering, decompilation, and competitive use

Clear versioning and deprecation policy with minimum support periods, migration timelines, and advance notification requirements

Flexible commercial terms supporting free, per-call, subscription, and volume-based pricing models

Balanced liability provisions with appropriate caps, exclusions, and indemnification obligations

Developer portal-ready format designed for clickwrap acceptance with ECTA-compliant acceptance mechanisms

Be First to Draft Your API Licence Agreement

Early access opens soon. Join the waiting list and we'll email you the moment it does.

One launch email — no spamFounding-member pricing