← APIs / Legal Compliance Summary
Verified

Legal Compliance Summary

Apiosk Basicsby Apiosk Basics · General

Best-effort summary of a terms/conditions page — refund, cancellation, data-usage and liability sections — for an AI agent. NOT legal advice and not guaranteed complete.

toolsapi
Price per request
$0.06
About

Legal Compliance Summary fetches a terms/conditions page and returns a short, structured summary an AI agent can skim before acting: the refund policy, cancellation policy, data-usage statement and liability limitation, plus a few flagged restrictions. Extraction is keyword/section based (EN + NL), no LLM pass in v1. IMPORTANT: this is a best-effort summary to answer "roughly what does this say", NOT legal advice, and it does not guarantee completeness — always defer to the source document. Pay per request via x402; no API key needed from the caller.

Base URL
https://gateway.apiosk.com/legal-compliance
Technical Specs
Auth Methodx402
Response FormatJSON
Endpoints1
Endpoints
MethodPathDescriptionCost
POST /extract-terms-summary Summarize a terms/conditions page into refund_policy, cancellation_policy, data_usage and liability_limit (each null if not found) plus important_restrictions. confidence = fraction of the four fields found. Best-effort, keyword-based, EN+NL — NOT legal advice.
$0.06 default
View details
Endpoint documentation
POST/extract-terms-summary
$0.06 default
Description

Summarize a terms/conditions page into refund_policy, cancellation_policy, data_usage and liability_limit (each null if not found) plus important_restrictions. confidence = fraction of the four fields found. Best-effort, keyword-based, EN+NL — NOT legal advice.

Pricing
$0.06 default
Request schema
{
  "properties": {
    "url": {
      "description": "Terms/conditions page URL, e.g. \"https://example.com/terms\".",
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "type": "object"
}
Response schema
{
  "properties": {
    "cancellation_policy": {
      "type": [
        "string",
        "null"
      ]
    },
    "confidence": {
      "description": "(fields found of 4) / 4, rounded to 2 decimals.",
      "type": "number"
    },
    "data_usage": {
      "type": [
        "string",
        "null"
      ]
    },
    "important_restrictions": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "liability_limit": {
      "type": [
        "string",
        "null"
      ]
    },
    "refund_policy": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": "string"
    }
  },
  "type": "object"
}
Example request
{
  "url": "https://docs.github.com/en/site-policy/github-terms/github-terms-of-service"
}
Example response
{
  "cancellation_policy": "Users can cancel anytime.",
  "confidence": 1.0,
  "data_usage": "User data may be used to provide the service.",
  "important_restrictions": [],
  "liability_limit": "Liability is limited to fees paid.",
  "refund_policy": "Refunds are available within 14 days.",
  "url": "https://example.com/terms"
}