/connecticut/companies/search
curl --request POST \
--url https://api.anysite.io/api/connecticut/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"query": "<string>",
"count": 5000,
"timeout": 300,
"search_by": "Any",
"exact_name": false,
"status": [],
"sub_status": [],
"formation": [],
"company_type": [],
"formed_after": "<string>",
"formed_before": "<string>"
}
'import requests
url = "https://api.anysite.io/api/connecticut/companies/search"
payload = {
"query": "<string>",
"count": 5000,
"timeout": 300,
"search_by": "Any",
"exact_name": False,
"status": [],
"sub_status": [],
"formation": [],
"company_type": [],
"formed_after": "<string>",
"formed_before": "<string>"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
count: 5000,
timeout: 300,
search_by: 'Any',
exact_name: false,
status: [],
sub_status: [],
formation: [],
company_type: [],
formed_after: '<string>',
formed_before: '<string>'
})
};
fetch('https://api.anysite.io/api/connecticut/companies/search', 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.anysite.io/api/connecticut/companies/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'count' => 5000,
'timeout' => 300,
'search_by' => 'Any',
'exact_name' => false,
'status' => [
],
'sub_status' => [
],
'formation' => [
],
'company_type' => [
],
'formed_after' => '<string>',
'formed_before' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/connecticut/companies/search"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"search_by\": \"Any\",\n \"exact_name\": false,\n \"status\": [],\n \"sub_status\": [],\n \"formation\": [],\n \"company_type\": [],\n \"formed_after\": \"<string>\",\n \"formed_before\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/connecticut/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"search_by\": \"Any\",\n \"exact_name\": false,\n \"status\": [],\n \"sub_status\": [],\n \"formation\": [],\n \"company_type\": [],\n \"formed_after\": \"<string>\",\n \"formed_before\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/connecticut/companies/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"search_by\": \"Any\",\n \"exact_name\": false,\n \"status\": [],\n \"sub_status\": [],\n \"formation\": [],\n \"company_type\": [],\n \"formed_after\": \"<string>\",\n \"formed_before\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body[
{
"alei": "<string>",
"name": "<string>",
"account_id": "<string>",
"@type": "ConnecticutCompanySearchItem",
"connecticut_alei": "<string>",
"status": "<string>",
"sub_status": "<string>",
"requires_annual_filing": true,
"business_address": "<string>",
"zip_code": "<string>",
"agent_name": "<string>",
"principal_count": 123,
"principals": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}US
/connecticut/companies/search
Search Connecticut business entities in the Connecticut Secretary of the State business records registry by any field at once or by name, address, city, Business ALEI, filing number, principal name or agent name, with optional status, annual-report sub-status, domestic/foreign and legal-type filters and a formation-date range. Returns matching entities with Business ALEI, name, status and sub-status, annual-filing obligation, business address and ZIP, registered agent name and a preview of the principals.
Price: 10 credits
⚠️ Common errors: 412: The query is too broad for the registry to answer — narrow it down or add filters
POST
/
api
/
connecticut
/
companies
/
search
/connecticut/companies/search
curl --request POST \
--url https://api.anysite.io/api/connecticut/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"query": "<string>",
"count": 5000,
"timeout": 300,
"search_by": "Any",
"exact_name": false,
"status": [],
"sub_status": [],
"formation": [],
"company_type": [],
"formed_after": "<string>",
"formed_before": "<string>"
}
'import requests
url = "https://api.anysite.io/api/connecticut/companies/search"
payload = {
"query": "<string>",
"count": 5000,
"timeout": 300,
"search_by": "Any",
"exact_name": False,
"status": [],
"sub_status": [],
"formation": [],
"company_type": [],
"formed_after": "<string>",
"formed_before": "<string>"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
query: '<string>',
count: 5000,
timeout: 300,
search_by: 'Any',
exact_name: false,
status: [],
sub_status: [],
formation: [],
company_type: [],
formed_after: '<string>',
formed_before: '<string>'
})
};
fetch('https://api.anysite.io/api/connecticut/companies/search', 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.anysite.io/api/connecticut/companies/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'count' => 5000,
'timeout' => 300,
'search_by' => 'Any',
'exact_name' => false,
'status' => [
],
'sub_status' => [
],
'formation' => [
],
'company_type' => [
],
'formed_after' => '<string>',
'formed_before' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/connecticut/companies/search"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"search_by\": \"Any\",\n \"exact_name\": false,\n \"status\": [],\n \"sub_status\": [],\n \"formation\": [],\n \"company_type\": [],\n \"formed_after\": \"<string>\",\n \"formed_before\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/connecticut/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"search_by\": \"Any\",\n \"exact_name\": false,\n \"status\": [],\n \"sub_status\": [],\n \"formation\": [],\n \"company_type\": [],\n \"formed_after\": \"<string>\",\n \"formed_before\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/connecticut/companies/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"search_by\": \"Any\",\n \"exact_name\": false,\n \"status\": [],\n \"sub_status\": [],\n \"formation\": [],\n \"company_type\": [],\n \"formed_after\": \"<string>\",\n \"formed_before\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body[
{
"alei": "<string>",
"name": "<string>",
"account_id": "<string>",
"@type": "ConnecticutCompanySearchItem",
"connecticut_alei": "<string>",
"status": "<string>",
"sub_status": "<string>",
"requires_annual_filing": true,
"business_address": "<string>",
"zip_code": "<string>",
"agent_name": "<string>",
"principal_count": 123,
"principals": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Minimum string length:
1Required range:
1 <= x <= 10000Required range:
20 <= x <= 1500Available options:
Any, Business Name, Business address, Business ALEI, Filing Number, Principal Name, Agent name, Business City Available options:
Active, Cancelled, Dissolved, Forfeited, Merged, Revoked, Withdrawn, Renunciated, Converted, Converted Out, Consolidation, Domesticated, Redomesticated, Recorded, Reserved, Removed Available options:
Current, Overdue, Delinquent Available options:
Domestic, Foreign Available options:
LLC, LLP, Stock, Non-Stock, B Corp, Bank Non-Stock, Bank Stock, Credit Union Non-Stock, Credit Union Stock, Insurance Non-Stock, Insurance Stock, Statutory Trust, Limited Partnership, General Partnerships, Special Chartered, Stock Specially Chartered, Non-Stock Specially Chartered, Religious, Cooperative Association, Cemetery, Unauthorized, Unknown Response
Successful Response