# Library of Congress API

> Library of Congress API on Apizie: 1 endpoint (Search) returned as clean JSON through one API key. 1 endpoint is live now. Call it over REST at https://zieapi.vercel.app/v1/search-tools:library-of-congress/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `search-tools:library-of-congress`
- Category: Search Tools
- Status: live
- Source: https://www.loc.gov/apis/
- Page: https://zieapi.vercel.app/api/search-tools/library-of-congress
- OpenAPI: https://zieapi.vercel.app/api/search-tools/library-of-congress/openapi.json

Search the Library of Congress digital collections: books, maps, photos, newspapers and recordings.

## Endpoints

### Search
`GET https://zieapi.vercel.app/v1/search-tools:library-of-congress/search`

| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes |  |
| count | integer | no | Number of results |
| page | integer | no |  |

## Example
```
curl "https://zieapi.vercel.app/v1/search-tools:library-of-congress/search" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Library of Congress API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/search-tools:library-of-congress/search with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Library of Congress API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Library of Congress API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key search-tools:library-of-congress.

### What is the status of the Library of Congress API?
Live: works with just an Apizie key
