Get Data Sources
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) 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.
Request
- Base URLhttps://api.morningconsult.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The number of results to return per request. Additional results past the page size can be retrieved using a pagination token, if one is returned in the response.
A pagination token to use to get paginated results. For more details, see the section on Pagination.
Pagination token returned from previous calls to an endpoint. When provided, no other query parameters can be specified. For more details, please see the Pagination section.
Response
Data Sources
Example response
{
"data_sources": [
{
"id": "00de2081-e013-411d-823c-cd483283e38d",
"name": "Daily Tracker",
"countries": [
{
"code": "us",
"label": "United States"
}
]
}
],
"pagination_token": "eyJxdWVyeSI6ImRvZ3MifQ=="
}Changes
No recorded changes to this operation across all 1 revision of this API.