Get Scores
Search scores (e.g., Net Favorability, NPS, ICS) across the data sources you have access to. Supply the optional data_source_id parameter to restrict results to a specific data source. Scores are universal: a given score ID is applicable to any data source where it can be calculated. To discover which data sources a score is valid in, use the /scores/{score_id}/data_sources endpoint.
Request
- Base URLhttps://api.morningconsult.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
A data source UUID to filter results. When omitted, results include records across every data source you have access to.
Two letter 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.
The two-letter ISO 3166-1 alpha-2 country code used to filter results.
Terms to search. This parameter supports partial matching, normalization, and other common search features.
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
Scores
Example response
{
"scores": [
{
"id": "7fa7d4a5-8b79-462c-b9ae-03a0431cb5e5",
"label": "Avon Favorability"
}
],
"pagination_token": "eyJxdWVyeSI6ImRvZ3MifQ=="
}Changes
No recorded changes to this operation across all 1 revision of this API.