# KB Labs — Royal Danish Library APIs

Open APIs for historical Danish newspapers, digitized text collections, and aerial photography.

## Access profile

| Field | Value |
| --- | --- |
| Category | API |
| Sector | Media |
| Access type | Direct |
| Auth required | Public |
| Reliability | Stable |
| Official | Yes |
| Status | active |
| Agent can | read, search, download |

## Links

- Website: https://labs.kb.dk
- Docs: https://labs.kb.dk/apis/
- Directory entry: https://agentaccess.dk/kb-labs

## About

KB Labs is the digital research and developer initiative from Det Kgl. Bibliotek (The Royal Danish Library). It exposes open programmatic access to Denmark's cultural heritage: a documented Swagger/OpenAPI Newspaper API (querying historical OCR text from Mediestream in JSON/JSONL/CSV), historical aerial photographs (Danmark set fra luften), digitized books, and open metadata collections.

## Agent use cases

- Search and extract OCR text from historical Danish newspapers via OpenAPI
- Retrieve georeferenced historical aerial photographs of Danish properties and landscapes
- Perform text mining and natural language processing on public domain Danish literature
- Query library metadata, digital collections, and bibliographic records

## Notes

Open and free access for non-commercial and research purposes. Newspaper API covers out-of-copyright and public domain publications (generally pre-1920 or specifically licensed). API endpoints operate as experimental research services.

---
Source: [AgentAccess](https://agentaccess.dk/) — directory of agent interfaces for Denmark.