Terminal API
Generate Terms of Service, Privacy Policies, Cookie Policies, Refund Policies, Anti-Harassment Policies, DMCA notices, and other legal documents programmatically. Our API produces legally-dense, incomprehensible documents that users will instinctively click "I Agree" on without reading. Now you can automate the erosion of informed consent at scale.
Supported Document Types
- Terms of Service - The foundation of user exploitation
- Privacy Policy - Data collection rights disguised as transparency
- Anti-Harassment Policy - Performative protection with strategic loopholes
- Cookie Policy - Dark patterns for maximum tracking consent
- Refund Policy - Refunds technically possible, practically impossible
- DMCA Policy - Safe harbor compliance with maximum friction
What you can build
- Automated compliance - Generate full legal document suites for new products instantly
- A/B testing platforms - Test which legal language gets more "I Agree" clicks
- Regulatory theater - Produce documents that look compliant without being readable
- Consent laundering - Obtain broad data rights through impenetrable legalese
- Liability shields - Generate documents that shift all responsibility to users
Quickstart
Start generating legal documents in under 5 minutes.
1. Get your API key
Sign up for a Terminal Developer account. Free tier includes 100 documents/month with standard clause libraries.
2. Install the SDK
# npm npm install @vagibond/terminal-sdk # pip pip install terminal-legal-api # Or use the REST API directly curl https://api.terminal.vagibond.com/v1/generate/tos \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{"company": "your-company-name"}'
3. Generate your first document
import { Terminal } from '@vagibond/terminal-sdk'; const client = new Terminal('your_api_key'); // Generate a Terms of Service const tos = await client.generate({ type: 'tos', // 'tos' | 'privacy' | 'harassment' | 'cookie' | 'refund' | 'dmca' company: 'Acme Corp', aggression: 'enterprise', // 'startup' | 'enterprise' | 'megacorp' jurisdiction: 'delaware' }); console.log(tos); // { // document_id: "TRM-A1B2C3D4", // html: "<html>...50,000 words of legalese...</html>", // word_count: 52847, // readability_score: 0.02, // Lower is more incomprehensible // estimated_read_time: "4 hours 23 minutes", // estimated_actual_read_time: "0 seconds", // liability_coverage: 0.97, // clause_count: 847 // }
Authentication
All API requests require authentication. We support two key types:
| Prefix | Type | Usage |
|---|---|---|
trm_live_ |
Production | Legally binding documents, real liability protection |
trm_test_ |
Sandbox | Test documents with "NOT LEGALLY BINDING" watermark |
Rate Limits
Document generation is computationally intensive (our lawyers work hard).
| Plan | Documents/month | Custom Clauses | Jurisdiction Support |
|---|---|---|---|
| Free Tier | 100 | None | Delaware only |
| Startup | 1,000 | 10 custom | US + EU |
| Enterprise | Unlimited | Unlimited | Global + orbital |
Document Generation API
Generate a Terms of Service document for the specified company. Uses seeded randomization for consistent output.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
company_slug |
string | URL-safe company identifier (used as seed for generation) |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
format |
string | html (default), markdown, pdf, json |
aggression |
string | startup, enterprise, megacorp, dystopian |
jurisdiction |
string | Primary legal jurisdiction for arbitration clauses |
Response
{
"document_id": "TRM-A1B2C3D4",
"company": "Acme Corp",
"type": "tos",
"effective_date": "2024-03-15",
"html": "<!DOCTYPE html>...",
"stats": {
"word_count": 52847,
"clause_count": 847,
"readability_score": 0.02,
"flesch_kincaid_grade": 34.7,
"liability_coverage": 0.97,
"user_rights_remaining": 0.03
},
"sections_included": [
"acceptance",
"data_collection",
"liability",
"arbitration",
"soul_ownership"
]
}
Generate a Privacy Policy that technically complies with regulations while maximizing data collection rights.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
regulations |
array | Target regulations: gdpr, ccpa, pipeda, all |
data_categories |
array | Include specific categories: biometric, genetic, behavioral, psychographic |
retention_period |
string | minimum, standard, forever, heat_death_of_universe |
Generate an Anti-Harassment Policy that appears protective while containing enough loopholes to dismiss any complaint. Perfect for companies that want to check a compliance box without changing behavior.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
severity |
string | performative, standard, aggressive, actually_protective (Enterprise only) |
loopholes |
array | Include specific escape clauses: he_said_she_said, boys_will_be_boys, cultural_differences, star_performer_exception |
reporting_friction |
number | 0.0 to 1.0 - How difficult to make reporting (default: 0.7) |
Generate a Cookie Policy with dark patterns that maximize tracking consent. Includes pre-checked boxes, confusing toggle layouts, and "Reject All" buttons that don't actually work.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
dark_pattern_level |
string | subtle, standard, aggressive, dystopian |
cookie_categories |
array | essential, functional, analytics, advertising, soul_harvesting |
reject_button_visibility |
number | 0.0 to 1.0 - How visible to make the reject option (default: 0.1) |
Generate a Refund Policy that technically offers refunds while making them practically impossible to obtain. Features include circular support loops, unreachable deadlines, and "restocking fees" that exceed the purchase price.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
refund_difficulty |
string | easy (for legal minimums), moderate, kafkaesque, impossible |
hidden_fees |
array | restocking, processing, administrative, breathing, existence |
return_window_days |
number | Number of days for return window. Negative values create time-travel requirements. |
Generate a DMCA Policy that satisfies safe harbor requirements while making the takedown process as confusing as possible for legitimate claimants.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
compliance_level |
string | minimum_viable, standard, actually_responsive |
designated_agent |
string | Name for your designated DMCA agent. Default: "Legal Department (Good Luck)" |
response_time |
string | prompt (30 days), standard (90 days), eventually (heat death of universe) |
Generate a custom legal document with specific clauses, sections, and aggression levels.
Request Body
{
"company": "Evil Corp",
"document_type": "tos",
"sections": [
"acceptance",
"data_collection",
"biometric_harvesting",
"genetic_licensing",
"thought_crime_provisions",
"soul_escrow"
],
"custom_clauses": [
{
"section": "data_collection",
"text": "User agrees to telepathic monitoring during REM sleep cycles."
}
],
"aggression": "dystopian",
"obfuscation_level": 0.95
}
List all available clause templates in our library. We have over 10,000 clauses covering every imaginable (and some unimaginable) scenarios.
Sample Clause Categories
| Category | Clauses | Evil Level |
|---|---|---|
data_collection |
847 | High |
liability_limitation |
523 | Maximum |
arbitration |
312 | Kafkaesque |
biometric_rights |
156 | Dystopian |
genetic_ownership |
89 | Sci-Fi Villain |
soul_provisions |
23 | Faustian |
Check if a document technically complies with specified regulations. Note: "technical compliance" and "ethical behavior" are different concepts.
Response
{
"compliant": true,
"regulations_checked": ["gdpr", "ccpa"],
"warnings": [],
"loopholes_exploited": 47,
"gray_areas_leveraged": 23,
"spirit_of_law_violated": true,
"letter_of_law_satisfied": true,
"ethical_score": 0.12,
"legal_score": 0.98
}
Pricing
- 100 documents/month
- Basic clause library
- Delaware jurisdiction only
- "Powered by Terminal" badge
- Unlimited documents
- Full clause library
- Global jurisdictions
- Custom clauses
- Biometric provisions
- Everything in Enterprise
- Genetic ownership clauses
- Interdimensional rights
- Soul provisions
- Dedicated evil counsel
Changelog
- Added 200 new biometric data clauses covering emerging technologies
- New "Genetic Licensing" section for ancestry-adjacent businesses
- Improved readability scores (now even less readable)
- Added support for arbitration in international waters and low-earth orbit
- Complete rewrite of clause generation engine
- Deprecated v1 endpoints (users were reading too much)
- New "obfuscation_level" parameter for enterprise clients
- Added AI-powered clause combination for maximum incomprehensibility
- GDPR "compliance" module launched
- Added CCPA support (technically)
- New "Soul Provisions" clause category (Enterprise tier only)
- Webhook support for document generation events