Skip to main content
POST
/
legal
/
v1
/
similar
curl -X POST "https://api.case.dev/legal/v1/similar" \ -H "Authorization: Bearer $CASEDEV_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "<string>" }'
{
  "sourceUrl": "<string>",
  "jurisdiction": "<string>",
  "found": 123,
  "similarSources": [
    {
      "url": "<string>",
      "title": "<string>",
      "snippet": "<string>",
      "publishedDate": "<string>",
      "source": "<string>"
    }
  ],
  "hint": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json

Source URL and filtering options

url
string<uri>
required

URL of a legal document to find similar sources for

jurisdiction
string

Optional jurisdiction ID to filter results

numResults
integer
default:10

Number of results 1-25 (default: 10)

Required range: 1 <= x <= 25
startPublishedDate
string<date>

Optional ISO date to find only newer documents (e.g., "2020-01-01")

Response

Similar sources found successfully

sourceUrl
string

Original source URL

jurisdiction
string

Jurisdiction filter applied

found
integer

Number of similar sources found

similarSources
object[]
hint
string

Usage guidance