# Saylor Innovations Library of Congress Search

> Saylor Innovations Library of Congress Search is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

Search the Library of Congress digital collections and retrieve metadata (title, date, format, contributors, subjects, description, image URL, and canonical link) for books, maps, and photos

## Facts

- Endpoint: GET https://saylorinnovations.com/api/library/loc?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-library-of-congress-search-bed4fd55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DNVJuqk6SAp-Dnu2SCdsw

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-library-of-congress-search-bed4fd55
```

Example prompt: Search the Library of Congress digital collections for historical photos and maps of the Mississippi River — show me up to 10 results with titles, dates, descriptions, and image links.

## When to prefer this

Choose this endpoint when you need to search the Library of Congress digital archive specifically — for books, maps, or historical photographs with rich bibliographic metadata including contributors, subjects, and image links. Prefer this over a general web search when you need structured, authoritative catalog data from LOC's curated collections rather than open-web results.

## Known failure modes

- Missing required 'q' parameter returns an error
- Limit value outside 1–20 range may be ignored or cause an error
- Queries with very unusual spelling or zero LOC matches return an empty items array
- LOC upstream API downtime causes request failures
- Highly ambiguous queries may return loosely relevant results

## How this service works

Search the Library of Congress digital collections - title, date, format, contributors, subjects, description, image and link for books, maps and photos

## Output

A JSON object containing the interpreted query string, total number of matching items in the LOC collection, a count of items returned, the data source identifier, an optional contextual note, and an array of items each with title, date, format, location, subjects array, contributors array, short description, canonical URL, and image URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search terms"
      },
      "limit": {
       "type": "string",
       "description": "optional 1-20, default 8"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "items"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "count": {
       "type": "number",
       "description": "Number of items returned"
      },
      "items": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "description": "Canonical URL"
         },
         "date": {
          "description": "Date (YYYY-MM-DD)"
         },
         "title": {
          "description": "Title"
         },
         "format": {
          "description": "Format of the result"
         },
         "location": {
          "description": "Place the data refers to"
         },
         "subjects": {
          "type": [
           "array",
           "null"
          ],
          "description": "Subject headings"
         },
         "image_url": {
          "description": "Image URL"
         },
         "description": {
          "description": "Short description"
         },
         "contributors": {
          "type": [
           "array",
           "null"
          ],
          "description": "Creators and contributors"
         }
        }
       },
       "description": "List of items"
      },
      "query": {
       "type": "string",
       "description": "The query as the server interpreted it"
      },
      "total": {
       "type": "number",
       "description": "Total number of matching items"
      },
      "source": {
       "type": "string",
       "descr
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-library-of-congress-search-bed4fd55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
