curl --request GET \
--url https://effectiveai.app/api/v2/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://effectiveai.app/api/v2/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://effectiveai.app/api/v2/products', 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://effectiveai.app/api/v2/products",
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://effectiveai.app/api/v2/products"
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://effectiveai.app/api/v2/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://effectiveai.app/api/v2/products")
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{
"products": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"admitted": true,
"predecessorProductId": "<string>",
"note": "<string>",
"group": {
"id": "<string>",
"name": "<string>"
},
"mga": {
"id": "<string>",
"name": "<string>"
},
"availability": [
{
"state": "<string>",
"writingCompanies": [
{
"id": "<string>",
"name": "<string>"
}
],
"toiCodes": [
"<string>"
],
"subtoiCodes": [
"<string>"
],
"note": "<string>"
}
]
}
],
"nextCursor": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}List products
Find shared insurance products. Repeated filters use OR; distinct filters use AND. Carrier, state, TOI and SubTOI must match the same availability row. Each product appears once and includes complete availability. Offset-backed opaque cursors match carrier/MGA pagination: live results, no binding or expiry. Sort by case-insensitive name, then ID. Repeat filters and limit on subsequent pages. Unknown parameters and repeated scalars are rejected. Responses are private, no-store; missing availability is not proof of unavailability.
curl --request GET \
--url https://effectiveai.app/api/v2/products \
--header 'Authorization: Bearer <token>'import requests
url = "https://effectiveai.app/api/v2/products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://effectiveai.app/api/v2/products', 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://effectiveai.app/api/v2/products",
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://effectiveai.app/api/v2/products"
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://effectiveai.app/api/v2/products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://effectiveai.app/api/v2/products")
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{
"products": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"admitted": true,
"predecessorProductId": "<string>",
"note": "<string>",
"group": {
"id": "<string>",
"name": "<string>"
},
"mga": {
"id": "<string>",
"name": "<string>"
},
"availability": [
{
"state": "<string>",
"writingCompanies": [
{
"id": "<string>",
"name": "<string>"
}
],
"toiCodes": [
"<string>"
],
"subtoiCodes": [
"<string>"
],
"note": "<string>"
}
]
}
],
"nextCursor": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"details": [
{
"location": "path",
"path": [
"<string>"
],
"code": "required",
"message": "<string>"
}
],
"requestId": "<string>"
}Authorizations
Effective API key. Send Authorization: Bearer sk-eai-...
Query Parameters
Case-insensitive literal substring of the product name.
1 - 200"Cyber"
NAIC group code; leading zeros normalized.
1 - 200"7"
Existing directory MGA slug.
1 - 200^[a-z0-9]+(-[a-z0-9]+)*$"cover"
Writing-company NAIC codes, normalized to five digits.
1 - 200["00321"]
Exact, case-sensitive state text.
1 - 200^[^,\[\]]+$["TX"]
Exact, case-sensitive Line of Business (open text).
1 - 200^[^,\[\]]+$["cyber"]
Exact TOI codes, preserving leading zeros.
1 - 200^[^,\[\]]+$["05.0"]
Exact SubTOI codes, preserving leading zeros; usable without toiCodes.
1 - 200^[^,\[\]]+$["05.0002"]
Admission status; omit to include both.
true, false "true"
Products per page; default 50, range 1–200.
1 <= x <= 20050
Opaque nextCursor from the previous page; omit on the first page.
"eyJvZmZzZXQiOjUwfQ"