---
title: "Extract citations from URL"
method: POST
path: "/legal/v1/citations-from-url"
tags: ["Legal"]
---

# Extract citations from URL

`POST /legal/v1/citations-from-url`

Extract all legal citations and references from a document URL. Returns structured citation data including case citations, statute references, and regulatory citations.

## Request body

- object
  - `url` string, uri, required — URL of the legal document to extract citations from

## Response `200`

Citations extracted successfully

- object
  - `url` string — Source document URL
  - `title` string — Document title
  - `totalCitations` integer — Total citations found
  - `citations` object
    - `cases` object[]
      - `type` string — Citation type (usReporter, federalReporter, etc.)
      - `citation` string — The citation string
      - `count` integer — Number of occurrences
    - `statutes` object[]
      - `type` string — Citation type (usc)
      - `citation` string — The citation string
      - `count` integer — Number of occurrences
    - `regulations` object[]
      - `type` string — Citation type (cfr)
      - `citation` string — The citation string
      - `count` integer — Number of occurrences
  - `externalLinks` string[] — External links found in the document
  - `hint` string — Usage guidance

## Other responses

- `400` — Bad request - invalid URL
- `401` — Unauthorized - invalid API key
- `403` — Forbidden - insufficient permissions
- `503` — Service unavailable - content service unreachable

---

[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)
