# fastapi.online — Generate Terms of Service

> fastapi.online — Generate Terms of Service is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Generates Terms of Service (ToS) document text for a company or product given its name and a brief product description

## Facts

- Endpoint: POST https://api.fastapi.online/generate-terms
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-generate-terms-of-service-ee526902
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O2_gwR4VB7A7llwrZtSkD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fastapi-online-generate-terms-of-service-ee526902 -d '<json body>'
```

Example prompt: Can you generate a Terms of Service document for my company 'NovaSpark Labs' — we make a cloud-based project management tool for small teams?

## When to prefer this

Choose this endpoint when you need a quick, AI-generated Terms of Service document for a company or product without engaging a lawyer or using a heavyweight legal-document platform. It is ideal for prototyping, MVP launches, or early-stage startups that need a basic ToS page instantly, paying only $0.005 USDC per call with no account signup required.

## Known failure modes

- Missing required 'company' field returns a validation error
- 'company' value shorter than 2 characters or longer than 2000 characters is rejected
- 'product' value exceeding 300 characters is rejected
- Payment not provided or insufficient USDC results in 402 Payment Required
- Vague or extremely short product description may produce generic or low-quality ToS output
- Model unavailability on the self-hosted backend may cause 503 or timeout errors

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

A generated Terms of Service document as text, tailored to the provided company name and product description, suitable for use as a legal/compliance page on a website or app.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "company": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 2,
   "description": "company/product name"
  },
  "product": {
   "type": "string",
   "maxLength": 300,
   "description": "what the product does"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-generate-terms-of-service-ee526902/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
