---
title: "Find similar content"
method: POST
path: "/search/v1/similar"
tags: ["Search"]
---

# Find similar content

`POST /search/v1/similar`

Find web pages and documents similar to a given URL. Useful for legal research to discover related case law, statutes, or legal commentary that shares similar themes or content structure.

## Request body

- object
  - `url` string, uri, required — The URL to find similar content for
  - `numResults` integer — Number of similar results to return
  - `includeDomains` string[] — Only search within these domains
  - `excludeDomains` string[] — Exclude results from these domains
  - `startCrawlDate` string, date — Only include pages crawled after this date
  - `endCrawlDate` string, date — Only include pages crawled before this date
  - `startPublishedDate` string, date — Only include pages published after this date
  - `endPublishedDate` string, date — Only include pages published before this date
  - `includeText` boolean — Whether to include extracted text content in results
  - `contents` string — Additional content to consider for similarity matching

## Response `200`

Successfully found similar content

- object
  - `results` object[]
    - `url` string
    - `title` string
    - `snippet` string
    - `similarityScore` number
    - `publishedDate` string
    - `domain` string
    - `text` string
  - `totalResults` integer
  - `processingTime` number

## Other responses

- `400` — Invalid request parameters or missing URL
- `401` — Invalid API key
- `403` — API key does not have access to Search service

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/revisions/5b7e64e6d6f9/schema)
