Skip to main content
GET
/
groups
/
{groupId}
/
quotes
List quotes
curl --request GET \
  --url https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer <token>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes")
  .header("Authorization", "Bearer <token>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://www.getprescience.com/api/partner/v1/groups/{groupId}/quotes")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "quotes": [
    {
      "id": "qt_5b9e2c7f10ad",
      "groupId": "grp_8c2f41d09a3e",
      "mode": "test",
      "status": "ready",
      "pricingBasis": "indicative",
      "plan": {
        "id": "diamond",
        "name": "Prescience Diamond"
      },
      "planYearStartDate": "2026-09-01",
      "expiresAt": "2026-07-10T17:22:05Z",
      "census": {
        "employees": 12,
        "coveredLives": 19,
        "tiers": {
          "employeeOnly": 7,
          "employeeSpouse": 2,
          "employeeChildren": 1,
          "family": 2
        }
      },
      "monthly": {
        "totalCents": 660096,
        "pepmCents": 55008,
        "byTier": {
          "employeeOnly": {
            "count": 7,
            "avgCents": 34047
          },
          "employeeSpouse": {
            "count": 2,
            "avgCents": 89166
          },
          "employeeChildren": {
            "count": 1,
            "avgCents": 53987
          },
          "family": {
            "count": 2,
            "avgCents": 94724
          }
        }
      },
      "annual": {
        "totalCents": 7921152
      },
      "employeeContribution": {
        "premiumCents": 0
      },
      "comparison": {
        "priorPepmCents": 80000,
        "savingsMonthlyCents": 299904,
        "savingsAnnualCents": 3598848,
        "savingsPct": 31
      },
      "fundingBreakdown": {
        "expectedClaimsPct": 78,
        "stopLossPct": 12,
        "careNavigationPct": 10,
        "adminFeesPct": 0,
        "note": "Illustrative split of the premium-equivalent."
      },
      "assumptions": [
        "Rates are indicative pending underwriting confirmation.",
        "Census accepted as submitted; material changes re-rate."
      ],
      "pricing": {
        "source": "code_default"
      },
      "createdAt": "2026-06-10T17:22:05Z"
    }
  ],
  "nextCursor": null
}
{
  "error": "unauthorized",
  "message": "Provide a valid partner API key as `Authorization: Bearer psk_...`."
}
{
  "error": "not_found",
  "message": "No group grp_8c2f41d09a3e found."
}
{
  "error": "rate_limited",
  "message": "Rate limit exceeded. Retry after 12 seconds."
}
{
  "error": "server_error",
  "message": "Internal error. The request was not applied."
}

Authorizations

Authorization
string
header
required

Partner API key. psk_test_<32 hex> for test mode, psk_live_<32 hex> for live mode. Keys are stored hashed and cannot be recovered; store them in your secrets manager on issue.

Path Parameters

groupId
string
required

Group ID, e.g. grp_8c2f41d09a3e.

Pattern: ^grp_[0-9a-f]{12}$

Query Parameters

limit
integer
default:50

Page size. Default 50, max 200.

Required range: 1 <= x <= 200
cursor
string

Opaque cursor from a previous page's nextCursor. Lists are newest-first.

Response

A page of quotes.

quotes
object[]
required
nextCursor
string | null