WritersLogic Verifiable AI Agent Hub Terminate Contract API
The Terminate Contract API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for terminate contract.
The Terminate Contract API from WritersLogic Verifiable AI Agent Hub — 1 operation(s) for terminate contract.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/writerslogic-com:writerslogic-com-terminate-contract-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WritersLogic Verifiable AI Agent Hub Terminate Contract API
version: 2.0.0
description: Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.
contact:
name: WritersLogic
url: https://writerslogic.com/agents
email: agents@writerslogic.com
servers:
- url: https://agents.writerslogic.com
tags:
- name: Terminate Contract
paths:
/api/v1/terminate-contract:
post:
operationId: contract_terminator
summary: Dark Pattern Contract & Subscription Exit Lawyer
description: 'Paste a contract or Terms URL and get the decision first: send notice by a computed date, or the window has passed. Quotes auto-renewal, notice-window and early-termination traps verbatim, computes the renewal and last-notice dates in code, estimates the renewal cost you avoid from your fee, maps the exit to ROSCA, state automatic-renewal laws and EU/UK consumer law with links, and drafts a notice with its placeholders listed. General information, not legal advice.
Price: 1.00 USDC on Base (x402).'
x-x402-price-usdc: '1.00'
x-x402-amount: '1000000'
x-payment-info:
protocols:
- x402
price:
mode: fixed
currency: USD
amount: '1.00'
x-audience: business
x-sample-url: https://agents.writerslogic.com/api/v1/samples/contract-terminator
security:
- x402: []
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- vendorName
- userJurisdiction
- reasonForExit
properties:
termsUrl:
type: string
maxLength: 2048
description: Terms of Service or cancellation policy URL. Provide termsUrl or contractText.
contractText:
type: string
maxLength: 200000
vendorName:
type: string
minLength: 1
maxLength: 200
userJurisdiction:
type: string
minLength: 2
maxLength: 100
description: e.g. California, New York, EU (Germany), UK.
reasonForExit:
type: string
minLength: 1
maxLength: 2000
customerType:
type: string
enum:
- consumer
- business
customerName:
type: string
maxLength: 200
accountIdentifier:
type: string
maxLength: 200
contractStartDate:
type: string
pattern: ^\d{4}-\d{2}-\d{2}$
signupMethod:
type: string
enum:
- online
- phone
- in_person
monthlyFee:
type: number
minimum: 0
maximum: 10000000
description: What you pay per month, USD. Used to compute the dollars at stake.
annualFee:
type: number
minimum: 0
maximum: 100000000
description: What you pay per year, USD, if billed annually. Use monthlyFee or annualFee.
earlyTerminationFeeUsd:
type: number
minimum: 0
maximum: 100000000
description: Early-termination fee the vendor says you owe, USD, if any.
example:
contractText: This Agreement renews automatically for successive 12-month terms unless either party gives written notice of non-renewal by certified mail at least 60 days before the end of the then-current term. Early termination requires payment of all remaining fees for the current term.
vendorName: Acme Fitness Clubs
userJurisdiction: California
reasonForExit: Moved out of state; signed up online.
customerType: consumer
signupMethod: online
contractStartDate: '2026-03-15'
monthlyFee: 49.99
responses:
'200':
description: Paid result with provenance
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
contract_summary:
type: string
hiddenTraps:
type: array
items:
type: object
additionalProperties: false
required:
- trap_type
- clause
- why_it_traps
- severity
properties:
trap_type:
type: string
enum:
- auto_renewal
- notice_window
- early_termination_fee
- cancellation_channel_restriction
- price_escalation
- minimum_term
- non_refundable_prepayment
- arbitration_or_class_waiver
- data_retention
- other
clause:
type: string
description: Verbatim text from the contract.
why_it_traps:
type: string
severity:
type: string
enum:
- high
- medium
- low
verbatim:
type: boolean
legalLeverage:
type: array
items:
type: object
additionalProperties: false
required:
- basis
- citation
- applies_because
- effect
- confidence
properties:
basis:
type: string
enum:
- statute
- regulation
- contract_term
- material_breach
- payment_network_rule
- other
citation:
type: string
applies_because:
type: string
effect:
type: string
description: What it lets the user do, e.g. void the ETF, cancel online, get a refund.
confidence:
type: string
enum:
- high
- medium
- low
in_reference_table:
type: boolean
description: The citation names an authority the service knows. It does not establish that the authority applies or is in force.
link:
type: string
description: Official text of the authority, present when in_reference_table is true.
deadlines:
type: array
items:
type: string
cancellationSteps:
type: array
items:
type: string
terminationNotice:
type: object
additionalProperties: false
required:
- subject
- body
- send_to
properties:
subject:
type: string
body:
type: string
send_to:
type: string
description: Address or channel the contract designates for notices, or where to find it.
risk_of_fees:
type: string
enum:
- high
- medium
- low
- none
caveats:
type: array
items:
type: string
unverifiedTraps:
type: array
description: Traps whose quoted clause was not found in the contract text; withheld from hiddenTraps.
items:
type: object
headline:
type: object
description: 'Decision first: the verdict, the dollars at stake, confidence and the exact next step.'
properties:
decision:
type: string
enum:
- SEND_NOTICE_NOW
- WINDOW_PASSED_NEGOTIATE
- NO_EXIT_FEE_LIKELY
- NEEDS_CONTRACT_DATE
- NEEDS_REVIEW
summary:
type: string
amountAtStakeUsd:
anyOf:
- type: number
- type: 'null'
description: Dollars saved or recoverable if the recommended action succeeds; null when it cannot be computed from the input.
amountBasis:
type: string
confidence:
type: string
enum:
- high
- medium
- low
nextStep:
type: string
fee_exposure:
type: object
description: Dollar exposure computed from monthlyFee/annualFee and the contract's renewal term; null fields mean an input was missing.
properties:
renewalTermCostUsd:
anyOf:
- type: number
- type: 'null'
remainingCurrentTermFeesUsd:
anyOf:
- type: number
- type: 'null'
earlyTerminationFeeUsd:
anyOf:
- type: number
- type: 'null'
basis:
type: string
readyToSend:
type: object
description: 'What to do before sending terminationNotice: placeholders to replace, delivery methods, the last day to send, and warnings.'
properties:
placeholdersToFill:
type: array
items:
type: string
deliveryMethods:
type: array
items:
type: string
sendBy:
anyOf:
- type: string
- type: 'null'
reviewBeforeSending:
type: array
items:
type: string
llm:
type: string
enum:
- ok
- unavailable
description: 'unavailable: the analysis step failed and the result is code-only (dates, keyword-flagged clauses, template notice).'
llm_error:
type: string
disclaimer:
type: string
computed_deadlines:
type: object
description: Renewal and notice dates computed by code from the contract text; see status for why none may be present.
source_url:
anyOf:
- type: string
- type: 'null'
contract_chars:
type: integer
truncated_for_model:
type: boolean
_provenance:
type: object
description: C2PA-aligned manifest and W3C VC 2.0 (eddsa-jcs-2022) issued by the hub DID; verify at POST /api/v1/verify-provenance
required:
- data
- _provenance
'400':
description: Invalid request (no payment consumed)
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
'401':
description: Invalid X-API-KEY
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
'402':
description: Payment required or invalid
content:
application/json:
schema:
type: object
description: x402 v2 PaymentRequired (also base64 in the PAYMENT-REQUIRED header)
properties:
x402Version:
type: integer
error:
type: string
code:
type: string
resource:
type: object
accepts:
type: array
items:
type: object
extensions:
type: object
'502':
description: Upstream failure; the payment is released or not settled
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
tags:
- Terminate Contract
components:
securitySchemes:
x402:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 payment payload (base64) sent after a 402 challenge
apiKey:
type: apiKey
in: header
name: X-API-KEY