# getPatentCitations

**Identifier:** `lens_getPatentCitations`

**Provider:** [Lens](https://kirha.com/providers/lens.md)

Retrieve citation data for a patent — forward citations (patents citing this one) and/or backward citations (patents/literature this one cites). Backward results include the Lens IDs of cited scholarly works for getScholarlyWork or searchScholarlyWorks. Use for prior art analysis and patent valuation.

## Run it with the CLI

```bash
kirha tools run lens_getPatentCitations \
  --input '{
    "lensId": "145-564-229-856-440"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "lens_getPatentCitations",
  "input": {
    "lensId": "145-564-229-856-440"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "direction": {
      "default": "both",
      "enum": [
        "forward",
        "backward",
        "both"
      ],
      "type": "string"
    },
    "from": {
      "default": 0,
      "maximum": 9999,
      "minimum": 0,
      "type": "number"
    },
    "lensId": {
      "description": "From searchPatents or getPatent, e.g., 145-564-229-856-440",
      "type": "string"
    },
    "size": {
      "default": 10,
      "description": "Page size, applied to forward and backward lists",
      "maximum": 50,
      "minimum": 1,
      "type": "number"
    }
  },
  "required": [
    "lensId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "backwardCitations": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "type": "string"
          },
          "docNumber": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "lensId": {
            "type": "string"
          },
          "phase": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "backwardLensIds": {
      "description": "Lens IDs of backward cited patents for composition",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "backwardNplCitationCount": {
      "type": "number"
    },
    "backwardPatentCitationCount": {
      "type": "number"
    },
    "citedScholarlyLensIds": {
      "description": "Scholarly Lens IDs of cited non-patent literature, for getScholarlyWork or searchScholarlyWorks (lensIds)",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "forwardCitationCount": {
      "type": "number"
    },
    "forwardCitations": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "applicants": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "datePublished": {
            "type": "string"
          },
          "docNumber": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "lensId": {
            "type": "string"
          },
          "publicationType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "lensId",
          "applicants"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "forwardLensIds": {
      "description": "Lens IDs of forward citing patents for composition",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "lensId": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "lensId"
  ],
  "type": "object"
}
```

## Related tools

Other Lens tools that this tool refers to, or that refer to it.

- [`searchPatents`](https://kirha.com/providers/lens/searchPatents.md)
- [`getScholarlyWork`](https://kirha.com/providers/lens/getScholarlyWork.md)
- [`searchScholarlyWorks`](https://kirha.com/providers/lens/searchScholarlyWorks.md)
- [`getPatent`](https://kirha.com/providers/lens/getPatent.md)

-----

[All Lens tools](https://kirha.com/providers/lens.md) · [< Back to tools list](https://kirha.com/tools.md)