---
title: "Get Data Sources"
method: GET
path: "/data_sources"
tags: ["Lookup"]
---

# Get Data Sources

`GET /data_sources`

## Request

- Base URL: `https://api.morningconsult.com/v1`
- URL: `https://api.morningconsult.com/v1/data_sources`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/morningconsult/apis/morning-consult-api/docs/data_sources/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the data sources the caller has access to. The `id` of each data source can be used in other endpoints (e.g. [/data_sources/{data_source_id}/countries/{country_code}/questions](#GET-getDataSourceQuestions)) to scope requests to a particular data source.
Data sources the caller does not have access to are not returned. If an expected data source is missing, reach out to your Account Executive to confirm your entitlements are properly configured.

## Query parameters

- `page_size` integer
- `pagination_token` string, base64: A pagination token to use to get paginated results. For more details, see the section on [Pagination](#pagination).

## Response `200`

Data Sources

- object
  - `data_sources` DataSource[], required: The data sources the caller has access to.
    - `id` string, uuid: The unique identifier for the data source.
    - `name` string: The human-readable name of the data source.
    - `countries` Country[]: The countries the score is available in for this data source.
      - `code` string: Two letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. This can be used in the `country_code` query parameter of multiple endpoints to limit results to the specific country.
      - `label` string: The full name for the country.
  - `pagination_token` string, base64: A pagination token to use to get paginated results. For more details, see the section on [Pagination](#pagination).

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/morningconsult/apis/morning-consult-api.md) - [All operations](https://skmtc.dev/morningconsult/apis/morning-consult-api/llms.txt) - [OpenAPI document](https://skmtc.dev/morningconsult/apis/morning-consult-api/revisions/70d621a9c59c?raw)
