{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chronicling America Batches Pages API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Pages",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a specific newspaper page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://chroniclingamerica.loc.gov/titles/:lccn/issues/:date/ed-:edition/seq-:sequence.json",
            "params": [
              {
                "name": "lccn",
                "value": "sn84026749",
                "type": "path",
                "description": "Library of Congress Control Number (LCCN) for the newspaper title."
              },
              {
                "name": "date",
                "value": "1900-01-01",
                "type": "path",
                "description": "Publication date in YYYY-MM-DD format."
              },
              {
                "name": "edition",
                "value": "1",
                "type": "path",
                "description": "Edition number."
              },
              {
                "name": "sequence",
                "value": "1",
                "type": "path",
                "description": "Page sequence number within the issue (1-based)."
              }
            ]
          },
          "docs": "Retrieve metadata for a specific page within a newspaper issue. Returns OCR text URL, image service URLs (IIIF), PDF download URL, JP2 image URL, and TIFF URL. Page sequence numbering starts at 1."
        },
        {
          "info": {
            "name": "Get OCR text for a newspaper page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://chroniclingamerica.loc.gov/titles/:lccn/issues/:date/ed-:edition/seq-:sequence/ocr.txt",
            "params": [
              {
                "name": "lccn",
                "value": "sn84026749",
                "type": "path",
                "description": "LCCN for the newspaper title."
              },
              {
                "name": "date",
                "value": "1900-01-01",
                "type": "path",
                "description": "Publication date in YYYY-MM-DD format."
              },
              {
                "name": "edition",
                "value": "1",
                "type": "path",
                "description": "Edition number."
              },
              {
                "name": "sequence",
                "value": "1",
                "type": "path",
                "description": "Page sequence number."
              }
            ]
          },
          "docs": "Retrieve the full plain-text OCR (Optical Character Recognition) content for a specific newspaper page. The text is extracted from digitized images and may contain recognition errors."
        }
      ]
    }
  ],
  "bundled": true
}