---
title: "GET /search/fda_documents"
method: GET
path: "/search/fda_documents"
tags: ["search"]
---

# GET /search/fda_documents

`GET /search/fda_documents`

Search the FDA documents

## Query parameters

- `q` string
- `text` string
- `page` integer
- `per_page` integer

## Response `200`

Success

- FDADocumentSearchResults
  - `total_count` integer, required
  - `items` FDADocumentSearchResult[], required
    - `id` string, required
    - `name` string, required
    - `url` string, required — OpenTrials API URL of the document
    - `document_category` DocumentCategory, required
      - `id` integer, required
      - `group` string — Name of document category
      - `name` string, required — Name of document sub-category
    - `trials` TrialSummary[]
      - `id` string, required — ID of the trial
      - `url` string, required — OpenTrials API URL for this trial
      - `public_title` string, required — Title of the record
    - `file` object
      - `id` string — ID of the file
      - `sha1` string
      - `source_url` string — URL of origin for this file
      - `documentcloud_id` string
      - `pages` object[] — Array with text of each of the file's pages
        - `num` integer, required — Page number
        - `text` string, required
    - `fda_application` FDAApplication
      - `id` string, required — FDA application ID
      - `drug_name` string — Name of the drug
      - `active_ingredients` string — Active ingredients contained in the drug
      - `fda_approvals` FDAApproval[] — Associated FDA approvals
        - `id` string, required — FDA approval ID
        - `supplement_number` integer, required
        - `type` string, required — Type of FDA approval
        - `action_date` string, date-time, required
        - `notes` string — Additional information about the FDA approval
        - `fda_application` FDAApplication — recursive
      - `organisation` Organisation
        - `id` string, required — ID of the organisation
        - `name` string, required — Name of the organisation
        - `url` string, required — OpenTrials API URL of the organisation
      - `type` string — The FDA application type (e.g. "NDA", "ANDA", etc.)
      - `url` string, required — OpenTrials API URL for this FDA application
    - `source_id` string — ID of the document's source
    - `source_url` string — URL of origin for this document

## Other responses

- `default` — Error

---

[API](https://skmtc.net/opentrials/apis/opentrials-api.md) · [All operations](https://skmtc.net/opentrials/apis/opentrials-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opentrials/opentrials-api/revisions/d5e3f69976ed/schema)
