---
title: "Query Demand Score data"
method: POST
path: "/v2/demand-score/query"
tags: ["Demand Score V2"]
---

# Query Demand Score data

`POST /v2/demand-score/query`

## Request body

- union
  - object
    - `application_id` string, required — a string to be decoded into a number
    - `metric` 'coverage' | 'conversion' | 'trial_billing' | 'placement' | 'country', required
    - `from` string, required — a string at least 1 character(s) long
    - `to` string, required — a string at least 1 character(s) long
  - object
    - `application_id` string, required — a string to be decoded into a number
    - `metric` 'sdk_platform', required
    - `from` string — a string at least 1 character(s) long
    - `to` string — a string at least 1 character(s) long

## Response `200`

Success

- object
  - `object` 'demand_score_query', required
  - `metric` 'coverage' | 'conversion' | 'trial_billing' | 'placement' | 'country' | 'sdk_platform', required
  - `data` object[], required

## Other responses

- `400` — The request did not match the expected schema
- `401` — No API key was provided in the request
- `403` — The API key does not have permission to perform this action
- `404` — The requested resource was not found
- `429` — Too many requests have been made in a short period
- `500` — An unexpected error occurred on the server

---

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