---
title: "Fulltext Search"
method: GET
path: "/search/books"
---

# Fulltext Search

`GET /search/books`

Fulltext search across the Internet Archive's entire corpus of texts

## Query parameters

- `text` string
- `collections` string
- `fields` string

## Response `200`

200

- object
  - `hits` object
    - `hits` object[]
      - `_type` string
      - `_index` string
      - `_score` number
      - `fields` object
        - `creator` string[]
        - `title` string[]
        - `page_num` integer[]
        - `collection` string[]
        - `filename` string[]
        - `identifier` string[]
        - `date_int` string[]
      - `highlight` object
        - `text` string[]
      - `_id` string
    - `total` integer
    - `max_score` number
  - `took` integer
  - `timed_out` boolean
  - `_shards` object
    - `successful` integer
    - `failed` integer
    - `total` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/archive/apis/archive-org.md) · [All operations](https://skmtc.dev/archive/apis/archive-org/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/archive/archive-org/revisions/8dc8dbe51793/schema)
