API Licence & Developer Terms Drafting

Generate business‑friendly but enforceable API licence and developer terms with sensible restrictions and compliance levers.

Fill in all the bracketed [PLACEHOLDER] information in the variables section.

<!– CLICK-TO-COPY BOX: keep this structure exactly; replace only the *(Author's Note: …)* placeholders inside the with final content. -->

**1. Task**

Draft API licence and developer terms tailored to the `[FACTUAL_BACKGROUND]`, balancing openness with risk controls and aligned to `[KEY_CONCERNS]`.

**2. Variables (User Input)**

[JURISDICTION]: governing law/consumer protections.
[CLIENT_ROLE]: 'API Provider' or 'API Consumer'.
[FACTUAL_BACKGROUND]: API purpose, endpoints, rate limits, SDKs, data types, sandbox vs production.
[KEY_LEGAL_TEXT]: any existing platform terms to align with.
[KEY_CONCERNS]: e.g., rate limiting, attribution, anti‑abuse, trademark use, derivative data.
[TARGET_AUDIENCE]: Developer Relations and Legal.
[DESIRED_TONE]: developer‑friendly, clear.
[DESIRED_READING_LEVEL]: B2.
[USAGE_POLICIES]: acceptable use, security, privacy policies.

**3. Process**

1. Confirm `[CLIENT_ROLE]` and intended API use cases.
2. Define licence grant/scope, restrictions (reverse engineering, scraping), attribution, branding.
3. Set keys/rate limits, monitoring, suspension, security duties, and audit of use against `[USAGE_POLICIES]`.
4. Address data rights: caching, derivative data, training AI, anonymisation, deletion on termination.
5. Add liability, indemnities (IP, misuse), termination, and change management.
6. Provide a plain‑language developer summary alongside the legal terms.

**4. Role**

Act as a platform/technology counsel experienced in API commercialisation and ecosystem risks.

**5. Audience**

Tailor content to `[TARGET_AUDIENCE]`, making it implementable by engineering and DevRel while protecting the `[CLIENT_ROLE]`.

**6. Context**

Use `[FACTUAL_BACKGROUND]`, existing `[KEY_LEGAL_TEXT]`, and `[USAGE_POLICIES]`.

**7. Output Format**

* **Style Guide:**

Apply the Legal Writing Style guide at https://legalprompts.com/legal-style-writing-guide/

* **Format:** Deliver (A) full terms with numbered clauses; (B) a one‑page developer summary; (C) an enforcement playbook (monitoring, warnings, suspension).

**8. Guardrails**

Avoid anti‑competitive restrictions; keep technical controls policy‑based, not code‑specific. No confidential info.

**9. Quality Control**

Check restrictions align with consumer law; verify trade mark usage and attribution rules are clear.

JavaScript is disabled. Select all text in the box and copy it manually.

________________________________

Suggested Follow-Up Prompts

– Draft an API deprecation and versioning policy.
– Create sample communications for API key suspension due to abuse.

Tips for This Prompt

– Offer a clear summary to reduce friction for developers.
– Reserve the right to update terms with notice and a changelog.

Next