---
title: "x402 pay-per-call — Compare text"
method: POST
path: "/x402/v1/compare"
---

# x402 pay-per-call — Compare text

`POST /x402/v1/compare`

## Request

- Base URL: `https://api.scrubmytext.com`
- URL: `https://api.scrubmytext.com/x402/v1/compare`
- Auth: none declared

Dedicated x402 pay-per-call route. The first request returns HTTP 402 with PAYMENT-REQUIRED. Retry with PAYMENT-SIGNATURE. This route does not consume the free trial.

## Headers

- `PAYMENT-SIGNATURE` string

## Request body

- object
  - `original` string, required
  - `modified` string, required

## Response `200`

Successful result

## Other responses

- `400`: Invalid input
- `401`: API key required or invalid
- `402`: Payment Required
- `429`: Monthly usage limit reached

---

[API](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api.md) · [All operations](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/revisions/54ace36baccf?raw)
