---
title: "GET /stats"
method: GET
path: "/stats"
tags: ["statistics"]
---

# GET /stats

`GET /stats`

Returns statistics

## Response `200`

Success

- Stats
  - `trialsCount` integer — Trials count
  - `trialsPerSource` TrialsPerSource[]
    - `id` string — Source's ID
    - `name` string — Source's name
    - `count` integer — Number of trials in this source
  - `trialsPerYear` TrialsPerYear[]
    - `year` integer
    - `count` integer — Number of trials in this year
  - `topLocations` TopLocations[]
    - `id` string
    - `name` string
    - `count` integer — Number of trials in this location
  - `sourcesLatestUpdatedDate` SourcesLatestUpdatedDate[]
    - `id` string
    - `name` string
    - `latest_updated_date` string — Date this source was last updated

## Other responses

- `default` — Error

## Changes

- **2016-05-31** `7a0eb1704719` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/opentrials/apis/opentrials-api/changes/stats/get.md)

---

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