# TradepilotUSA Document Compare

> TradepilotUSA Document Compare is a paid API for AI agents from www.tradepilotusa.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-29).

Compares two text documents and returns a structured analysis of their differences, consistencies, omissions, and evidence gaps

## Facts

- Endpoint: POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/document_compare/execute?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tradepilotusa-document-compare-03c6fbe9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1ZHYYP0uWX3UNfc1HLMVS

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 tradepilotusa-document-compare-03c6fbe9 -d '<json body>'
```

Example prompt: Compare these two consultation scheduling documents for me and highlight what changed — specifically look for differences in scheduling availability and who confirms appointments, and flag anything that seems missing or inconsistent. The audience is our operations manager.

## When to prefer this

Choose this endpoint when you need a structured, auditable side-by-side comparison of two text documents with explicit tracking of differences, consistencies, omissions, and evidence gaps — especially when requires_human_review flagging is important. Prefer this over generic LLM document diffing when you need provenance metadata, assumption tracking, and a clean JSON artifact suitable for downstream workflows or compliance records.

## Known failure modes

- source_text below 20 characters or missing — validation error
- brief below 10 characters or missing — validation error
- source_text exceeds 32000 characters — request rejected
- brief exceeds 12000 characters — request rejected
- Only one document provided instead of two — incomplete comparison or error
- Malformed JSON input — 400 bad request
- Payment not included or insufficient — 402 payment required

## How this service works

Compare the supplied documents for substantive changes, omissions, conflicts, and questions; do not give legal advice. Uses buyer-supplied information only; no external research or outbound actions. Returns a draft for human review.

## Output

Returns a JSON object containing: a plain-language summary of key differences, a detailed markdown artifact breaking down substantive changes, consistencies, and omissions; a list of assumptions made during comparison; identified evidence gaps; a requires_human_review flag; provenance metadata including timestamp and whether external research was performed; and a request_id.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "brief": {
   "type": "string",
   "maxLength": 12000,
   "minLength": 10
  },
  "audience": {
   "type": "string",
   "maxLength": 500
  },
  "source_text": {
   "type": "string",
   "maxLength": 32000,
   "minLength": 20
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "task": "document_compare",
  "summary": "The two documents differ in consultation availability days and the role responsible for confirming appointments, while both require measurement confirmation before final quoting. Key questions remain ",
  "artifact": "Illustrative excerpt from a synthetic provider check:\n## Comparison of Consultation Scheduling Documents\n\n### Substantive Changes\n- **Consultation Days:** Document A specifies consultations are available Monday through Thursday, while Document B extends availability to Monday through Friday.\n- **Appointment Confirmation:** Document A states that the manager confirms appointments; Document B assigns this role to the coordinator.\n\n### Consistencies\n- Both documents require that measurements be confirmed before providing a final quote.\n\n### Omissions ",
  "provenance": {
   "source": "buyer_supplied",
   "generated_at": "2026-09-22T14:42:26.061Z",
   "external_research_performed": false
  },
  "request_id": "example_document_compare",
  "assumptions": [
   "The manager and coordinator are distinct roles within the organization.",
   "Consultation availability days affect scheduling and resource allocation."
  ],
  "evidence_gaps": [
   "Clarification on why consultation days differ between documents.",
   "Details on the roles and responsibilities of the manager versus the coordinator."
  ],
  "requires_human_review": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tradepilotusa-document-compare-03c6fbe9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.tradepilotusa.com](https://www.zero.xyz/host/www.tradepilotusa.com/llms.txt)
