{"uid":"cap_DNVJuqk6SAp-Dnu2SCdsw","slug":"saylor-innovations-library-of-congress-search-bed4fd55","name":"Saylor Innovations Library of Congress Search","description":"Search the Library of Congress digital collections - title, date, format, contributors, subjects, description, image and link for books, maps and photos","url":"https://saylorinnovations.com/api/library/loc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","description":"Data source the values come from"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NHifWO0ZzREihvGIiaoMb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Civil War primary source research","prompt":"Search the Library of Congress for photographs and documents about the Battle of Gettysburg — I want titles, dates, contributors, and image links for up to 15 results."},{"title":"Historical city map discovery","prompt":"Find digitized maps of San Francisco from the Library of Congress collection — give me the title, date, format, and a link for each one."},{"title":"Subject-based archive exploration","prompt":"Look up Library of Congress digital items about the Harlem Renaissance — I need titles, descriptions, subjects, and image URLs for the top 10 results."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:26:06.800Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-library-of-congress-search-bed4fd55"}