Skip to content
HALOWERK

Text Tools

jats citation historical share

JATS historical citation count measures references dated on or before a supplied cutoff year. Use it when an agent needs testing whether a cited evidence base predates a review cutoff.

POST https://text.halowerk.com/v1/jats-citation-historical-share

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
xmlstringYes
cutoffintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "xml": {
      "type": "string",
      "maxLength": 16000,
      "minLength": 1
    },
    "cutoff": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 2999
    }
  },
  "required": [
    "xml",
    "cutoff"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "xml": "<article><body><p><xref ref-type=\"bibr\" rid=\"r1\" /><xref ref-type=\"bibr\" rid=\"r3\" /></p><p><xref ref-type=\"bibr\" rid=\"r2\" /></p></body><back><ref-list><ref id=\"r1\"><element-citation publication-type=\"journal\"><year>2001</year></element-citation></ref><ref id=\"r2\"><element-citation publication-type=\"other\"><year>1987</year></element-citation></ref><ref id=\"r3\"><element-citation publication-type=\"journal\"><year>2007</year></element-citation></ref></ref-list></back></article>",
  "cutoff": 2005
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "at_or_before": {
          "type": "integer"
        },
        "later": {
          "type": "integer"
        },
        "undated": {
          "type": "integer"
        }
      },
      "required": [
        "at_or_before",
        "later",
        "undated"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →