curl --request GET \
--url https://api.coverwhale.dev/v1/list-accounts/summary \
--header 'Accept: <accept>' \
--header 'AccessToken: <api-key>' \
--header 'Content-Type: <content-type>'import requests
url = "https://api.coverwhale.dev/v1/list-accounts/summary"
headers = {
"Content-Type": "<content-type>",
"Accept": "<accept>",
"AccessToken": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': '<content-type>', Accept: '<accept>', AccessToken: '<api-key>'}
};
fetch('https://api.coverwhale.dev/v1/list-accounts/summary', 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://api.coverwhale.dev/v1/list-accounts/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"AccessToken: <api-key>",
"Content-Type: <content-type>"
],
]);
$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://api.coverwhale.dev/v1/list-accounts/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
req.Header.Add("AccessToken", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.coverwhale.dev/v1/list-accounts/summary")
.header("Content-Type", "<content-type>")
.header("Accept", "<accept>")
.header("AccessToken", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coverwhale.dev/v1/list-accounts/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = '<content-type>'
request["Accept"] = '<accept>'
request["AccessToken"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"summary": [
{
"month": "2026-03",
"policy_count": 42,
"policies_by_line": {
"AL": 42,
"APD": 31,
"MTC": 12,
"TGL": 4,
"NTL": 2,
"WC": 0
}
}
],
"pagination": {
"returned": 9,
"has_more": false,
"guidance": "This call returned greater than 500 months. Call again with a narrower effective_from / effective_to date range."
}
}{
"message": "Unauthorized"
}{
"error": "Unable to resolve caller company"
}{
"message": "The effective to must be the same as or after effective from.",
"errors": {
"effective_to": [
"The effective to must be the same as or after effective from."
]
}
}{
"error": "Rate limit exceeded. Temporarily banned.",
"retry_after": 3600,
"retry_after_human": "1 hour",
"scope": "book"
}List Agency Accounts Summary
Count your agency’s in-force policy book by month — one row per calendar month of policy term start, carrying how many policies start that month and how many of them carry each line of coverage. Use this for a book-size or production-by-month view instead of pulling every policy and counting them yourself.
Results cover your own agency only. A caller from another agency is indistinguishable from an agency with no policies: both get 200 with an empty summary array. There is no 404 on this endpoint.
What counts as in your book
Same inclusion rule as List Agency Accounts: a policy counts when its latest settled transaction is bound, approved for cancellation, or cancelled. Cancelled policies are counted while still inside their term. A policy with changes still in progress counts at its last settled status, so an unfinished endorsement never hides it from the count.
This endpoint returns no per-policy status, so a month’s count mixes live policies with cancelled-but-still-in-term ones and gives you no way to separate them. Call List Agency Accounts when you need to tell them apart.
The parameters change the question being answered
Send no parameters and you count only policies in force today — today falls inside the term, and the expiration date itself counts as inside.
Send a date window and the in-force-today test is dropped. You get every policy whose term starts inside the window, including policies whose term has already expired and policies whose term starts in the future. A windowed call is a production-by-month history, not a snapshot of your live book.
Both bounds must be sent together. A request carrying only effective_from, or only effective_to, is rejected with 422 — a one-sided window is refused rather than silently widened.
How the counts are built
policy_count counts distinct policies whose term starts in that month. It is never 0: a month with no policies produces no row at all rather than a row of zeros.
policies_by_line always carries all six keys, and 0 is a real value. One policy adds 1 to every line it bound, so these six numbers normally sum to more than policy_count — they are not a breakdown of it. Lines are counted from the policy’s original binding, so a line added by a later endorsement is not reflected here.
WC is reserved — Workers’ Comp is not yet issued, so that count is 0 today.
Months, and the row cap
Rows come back newest month first. Up to 500 months are returned per call. The cap counts months, not policies: a single month holding thousands of policies is still one row, and 500 months is over forty years, so in practice has_more is false and guidance is null. Should it ever fire, the oldest months are dropped — re-request with a narrower window, as guidance says.
month is YYYY-MM; the query parameters are ISO YYYY-MM-DD — not the MM/DD/YYYY used by the quote and bind endpoints. has_more is a true JSON boolean, not the "Y"/"N" used for insurance answers elsewhere in this API.
The rate limit is shared with List Agency Accounts
Both endpoints draw on the same per-account budget: 60 requests a minute and 250 a day across the two of them combined. Polling both in a loop exhausts one counter, not two.
curl --request GET \
--url https://api.coverwhale.dev/v1/list-accounts/summary \
--header 'Accept: <accept>' \
--header 'AccessToken: <api-key>' \
--header 'Content-Type: <content-type>'import requests
url = "https://api.coverwhale.dev/v1/list-accounts/summary"
headers = {
"Content-Type": "<content-type>",
"Accept": "<accept>",
"AccessToken": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Content-Type': '<content-type>', Accept: '<accept>', AccessToken: '<api-key>'}
};
fetch('https://api.coverwhale.dev/v1/list-accounts/summary', 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://api.coverwhale.dev/v1/list-accounts/summary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"AccessToken: <api-key>",
"Content-Type: <content-type>"
],
]);
$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://api.coverwhale.dev/v1/list-accounts/summary"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("Accept", "<accept>")
req.Header.Add("AccessToken", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.coverwhale.dev/v1/list-accounts/summary")
.header("Content-Type", "<content-type>")
.header("Accept", "<accept>")
.header("AccessToken", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.coverwhale.dev/v1/list-accounts/summary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Content-Type"] = '<content-type>'
request["Accept"] = '<accept>'
request["AccessToken"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"summary": [
{
"month": "2026-03",
"policy_count": 42,
"policies_by_line": {
"AL": 42,
"APD": 31,
"MTC": 12,
"TGL": 4,
"NTL": 2,
"WC": 0
}
}
],
"pagination": {
"returned": 9,
"has_more": false,
"guidance": "This call returned greater than 500 months. Call again with a narrower effective_from / effective_to date range."
}
}{
"message": "Unauthorized"
}{
"error": "Unable to resolve caller company"
}{
"message": "The effective to must be the same as or after effective from.",
"errors": {
"effective_to": [
"The effective to must be the same as or after effective from."
]
}
}{
"error": "Rate limit exceeded. Temporarily banned.",
"retry_after": 3600,
"retry_after_human": "1 hour",
"scope": "book"
}Authorizations
Query Parameters
Response
Your agency's book counted by month. Always this shape, including when the book is empty.