# /eudract/trials

`POST /api/eudract/trials`

Price: 10 credits

Full EU Clinical Trial Application form of one EudraCT trial: title, sponsors and funding, the medical condition with its MedDRA terms, objectives, inclusion and exclusion criteria, end points, trial scope and phase, design and comparators, the recruited population and planned subject counts, every investigational medicinal product with its trade name, INN, CAS number, pharmaceutical form and authorisation status, and one record per member state carrying that country's competent-authority decision, ethics-committee opinion, site count and end-of-trial status.

## How to use it

One EudraCT number is not one record: a multi-state trial files a separate application in every member state, and `member_state_records` is where those diverge — decisions, ethics opinions, site counts and end-of-trial status differ between them while the protocol above is shared. The register has no not-found status code, so this endpoint gates on the number being echoed back and answers 412 when it is not. `form_fields` carries every remaining line of the application form verbatim, keyed by its EU CTA code, for the sections the named fields do not promote. Results of the trial are not here: they are published as separate result tables the register serves on its own results page.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `trial` (string, required) — EudraCT number, or a register URL containing one (examples: "2007-000570-22", "https://www.clinicaltrialsregister.eu/ctr-search/trial/2007-000570-22/DE"; minLength: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "EudractTrial")
- `id` (string, required)
- `url` (string) (default: "")
- `sponsor_protocol_code` (string, nullable)
- `sponsors` (array) (default: [])
  - `@type` (string) (default: "EudractSponsor")
  - `name` (string) (default: "")
  - `country` (string, nullable)
  - `status` (string, nullable)
- `support_organisations` (array) (default: [])
- `contact_organisation` (string, nullable)
- `contact_point` (string, nullable)
- `is_paediatric_investigation_plan` (string, nullable)
- `paediatric_decision_number` (string, nullable)
- `medical_condition` (string, nullable)
- `meddra_terms` (array) (default: [])
  - `@type` (string) (default: "EudractMeddraTerm")
  - `term` (string) (default: "")
  - `classification_code` (string, nullable)
  - `level` (string, nullable)
  - `system_organ_class` (string, nullable)
  - `version` (string, nullable)
- `is_rare_disease` (boolean, nullable)
- `main_objective` (string, nullable)
- `secondary_objectives` (string, nullable)
- `has_substudy` (boolean, nullable)
- `inclusion_criteria` (string, nullable)
- `exclusion_criteria` (string, nullable)
- `primary_end_points` (string, nullable)
- `secondary_end_points` (string, nullable)
- `trial_scopes` (array) (default: [])
- `phases` (array) (default: [])
- `design` (array) (default: [])
- `comparators` (array) (default: [])
- `age_groups` (array) (default: [])
- `sexes` (array) (default: [])
- `subject_groups` (array) (default: [])
- `is_multinational` (boolean, nullable)
- `sites_in_eea` (integer, nullable)
- `is_conducted_inside_and_outside_eea` (boolean, nullable)
- `is_conducted_outside_eea` (boolean, nullable)
- `regions_outside_eea` (string, nullable)
- `has_data_monitoring_committee` (boolean, nullable)
- `planned_duration_months` (integer, nullable)
- `planned_subjects_in_eea` (integer, nullable)
- `planned_subjects_in_whole_trial` (integer, nullable)
- `member_states` (array) (default: [])
- `trial_statuses` (array) (default: [])
- `member_state_records` (array) (default: [])
  - `@type` (string) (default: "EudractMemberStateRecord")
  - `member_state` (string) (default: "")
  - `national_competent_authority` (string, nullable)
  - `clinical_trial_type` (string, nullable)
  - `trial_status` (string, nullable)
  - `first_entered_date` (string, nullable)
  - `url` (string, nullable)
  - `competent_authority_decision` (string, nullable)
  - `competent_authority_decision_date` (string, nullable)
  - `ethics_committee_opinion` (string, nullable)
  - `ethics_committee_opinion_date` (string, nullable)
  - `ethics_committee_unfavourable_reason` (string, nullable)
  - `end_of_trial_status` (string, nullable)
  - `global_end_date` (string, nullable)
  - `planned_subjects_in_member_state` (integer, nullable)
  - `sites_in_member_state` (integer, nullable)
  - `planned_duration_months` (integer, nullable)
  - `products` (array) (default: [])
    - `@type` (string) (default: "EudractProduct")
    - `number` (string) (default: "")
    - `role` (string, nullable)
    - `product_name` (string, nullable)
    - `product_code` (string, nullable)
    - `trade_name` (string, nullable)
    - `marketing_authorisation_holder` (string, nullable)
    - `marketing_authorisation_country` (string, nullable)
    - `has_marketing_authorisation` (boolean, nullable)
    - `is_orphan_drug` (boolean, nullable)
    - `orphan_designation_number` (string, nullable)
    - `pharmaceutical_form` (string, nullable)
    - `routes_of_administration` (string, nullable)
    - `substances` (array) (default: [])
    - `product_fields` (array) (default: [])
  - `form_fields` (array) (default: [])
    - `@type` (string) (default: "EudractFormField")
    - `code` (string) (default: "")
    - `label` (string) (default: "")
    - `value` (string) (default: "")

## Errors

### 422 — Validation Error

The input did not contain a EudraCT number in the form YYYY-NNNNNN-NN.

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

No EU Clinical Trials Register record carries that EudraCT number.

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

