---
title: "Compare two documents with iddiff"
method: GET
path: "/api/iddiff"
---

# Compare two documents with iddiff

`GET /api/iddiff`

## Query parameters

- `doc_1` string
- `doc_2` string
- `url_1` string
- `url_2` string
- `wdiff` string
- `chbars` string
- `abdiff` string
- `table` string
- `rfcdiff` string
- `iddiff` string
- `raw` string
- `url1` string
- `url2` string

## Response `200`

Returns iddiff as HTML or text

## Other responses

- `400` — Error has occurred.
- `401` — Failed to authenticate.

## Changes

- **2023-04-02** `f60c32736a55` — 1 info
  - added the new optional `query` request parameter `raw`
- **2023-03-21** `932a6b983d33` — 1 info
  - added the new optional `query` request parameter `iddiff`
- **2023-03-20** `5af2c9e7a5f3` — 2 warning
  - deleted the `query` request parameter `iddiff`
  - deleted the `query` request parameter `raw`

[Change history](https://skmtc.dev/ietf-tools/apis/ietf-author-tools-api/changes/api/iddiff/get.md)

---

[API](https://skmtc.dev/ietf-tools/apis/ietf-author-tools-api.md) · [All operations](https://skmtc.dev/ietf-tools/apis/ietf-author-tools-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ietf-tools/ietf-author-tools-api/revisions/8db1416c9cdd/schema)
