---
title: "Get the sources underlying AskNews"
method: GET
path: "/v1/sources"
tags: ["news"]
---

# Get the sources underlying AskNews

`GET /v1/sources`

This endpoint is primarly used for transparency and monitoring the
diversity of the data.

Visualized at `https://asknews.app/transparency`.

Get the distribution of sources/languages/countries underlying AskNews content.

## Query parameters

- `n_points` integer — Number of points to return
- `start_timestamp` integer, nullable — Start timestamp to filter by
- `end_timestamp` integer, nullable — End timestamp to filter by
- `metric` 'duplication' | 'countries_diversity' | 'languages_diversity' | 'sources_diversity' | 'bucket_loss' — Metric to filter by
- `sampling` '5m' | '1h' | '4h' | '1d' — Sampling to use

## Response `200`

A time-series for distribution of sources, countries, and languages of underling AskNews content and analytics.

- SourceReportItem[]
  - `bson_date` string, date-time, required
  - `n_bucket` integer, required
  - `n_selected` integer, required
  - `bucket_counts` object, required
  - `selected_counts` object, required
  - `bucket_pct` object, required
  - `selected_pct` object, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `405` — Method Not Allowed
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

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