/dc/companies/search
curl --request POST \
--url https://api.anysite.io/api/dc/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"name": "<string>",
"match": "contains",
"agent_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"formation_start_date": "<string>",
"formation_end_date": "<string>",
"sort_order": "asc"
}
'import requests
url = "https://api.anysite.io/api/dc/companies/search"
payload = {
"count": 2,
"timeout": 300,
"name": "<string>",
"match": "contains",
"agent_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"formation_start_date": "<string>",
"formation_end_date": "<string>",
"sort_order": "asc"
}
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({
count: 2,
timeout: 300,
name: '<string>',
match: 'contains',
agent_name: '<string>',
city: '<string>',
state: '<string>',
zip: '<string>',
country: '<string>',
formation_start_date: '<string>',
formation_end_date: '<string>',
sort_order: 'asc'
})
};
fetch('https://api.anysite.io/api/dc/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/dc/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([
'count' => 2,
'timeout' => 300,
'name' => '<string>',
'match' => 'contains',
'agent_name' => '<string>',
'city' => '<string>',
'state' => '<string>',
'zip' => '<string>',
'country' => '<string>',
'formation_start_date' => '<string>',
'formation_end_date' => '<string>',
'sort_order' => 'asc'
]),
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/dc/companies/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"match\": \"contains\",\n \"agent_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"formation_start_date\": \"<string>\",\n \"formation_end_date\": \"<string>\",\n \"sort_order\": \"asc\"\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/dc/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"match\": \"contains\",\n \"agent_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"formation_start_date\": \"<string>\",\n \"formation_end_date\": \"<string>\",\n \"sort_order\": \"asc\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/dc/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 \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"match\": \"contains\",\n \"agent_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"formation_start_date\": \"<string>\",\n \"formation_end_date\": \"<string>\",\n \"sort_order\": \"asc\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"@type": "DcCompanySearchItem",
"entity_number": "<string>",
"legal_form": "<string>",
"region": "<string>",
"status": "<string>",
"effective_date": "<string>",
"agent_name": "<string>",
"address": {
"@type": "DcAddress",
"street": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"province": "<string>",
"zip": "<string>",
"postal_code": "<string>",
"country": "<string>",
"county": "<string>",
"full": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}US
/dc/companies/search
Search Washington DC business entities in the DLCP corporate registry by name or Initial File No., with optional filters for legal form, registry status, Domestic or Foreign registration, registered agent name, business address city, state, postal code and country, and effective-date range. Returns matching entities with Initial File No., name, legal form, registration region, status, effective date, registered agent name and business address.
Price: 10 credits per 100 results
POST
/
api
/
dc
/
companies
/
search
/dc/companies/search
curl --request POST \
--url https://api.anysite.io/api/dc/companies/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"timeout": 300,
"name": "<string>",
"match": "contains",
"agent_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"formation_start_date": "<string>",
"formation_end_date": "<string>",
"sort_order": "asc"
}
'import requests
url = "https://api.anysite.io/api/dc/companies/search"
payload = {
"count": 2,
"timeout": 300,
"name": "<string>",
"match": "contains",
"agent_name": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>",
"formation_start_date": "<string>",
"formation_end_date": "<string>",
"sort_order": "asc"
}
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({
count: 2,
timeout: 300,
name: '<string>',
match: 'contains',
agent_name: '<string>',
city: '<string>',
state: '<string>',
zip: '<string>',
country: '<string>',
formation_start_date: '<string>',
formation_end_date: '<string>',
sort_order: 'asc'
})
};
fetch('https://api.anysite.io/api/dc/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/dc/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([
'count' => 2,
'timeout' => 300,
'name' => '<string>',
'match' => 'contains',
'agent_name' => '<string>',
'city' => '<string>',
'state' => '<string>',
'zip' => '<string>',
'country' => '<string>',
'formation_start_date' => '<string>',
'formation_end_date' => '<string>',
'sort_order' => 'asc'
]),
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/dc/companies/search"
payload := strings.NewReader("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"match\": \"contains\",\n \"agent_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"formation_start_date\": \"<string>\",\n \"formation_end_date\": \"<string>\",\n \"sort_order\": \"asc\"\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/dc/companies/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"match\": \"contains\",\n \"agent_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"formation_start_date\": \"<string>\",\n \"formation_end_date\": \"<string>\",\n \"sort_order\": \"asc\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/dc/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 \"count\": 2,\n \"timeout\": 300,\n \"name\": \"<string>\",\n \"match\": \"contains\",\n \"agent_name\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"zip\": \"<string>\",\n \"country\": \"<string>\",\n \"formation_start_date\": \"<string>\",\n \"formation_end_date\": \"<string>\",\n \"sort_order\": \"asc\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"@type": "DcCompanySearchItem",
"entity_number": "<string>",
"legal_form": "<string>",
"region": "<string>",
"status": "<string>",
"effective_date": "<string>",
"agent_name": "<string>",
"address": {
"@type": "DcAddress",
"street": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"province": "<string>",
"zip": "<string>",
"postal_code": "<string>",
"country": "<string>",
"county": "<string>",
"full": "<string>"
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
x >= 1Required range:
20 <= x <= 1500Minimum string length:
1Available options:
starts_with, contains, exact Available options:
domestic_act_of_congress_corporation, domestic_business_corporation, domestic_general_cooperative_association, domestic_limited_cooperative_association, domestic_limited_liability_company, domestic_limited_liability_partnership, domestic_limited_partnership, domestic_nonprofit_corporation, domestic_statutory_trust, foreign_act_of_congress_corporation, foreign_business_corporation, foreign_general_cooperative_association, foreign_limited_cooperative_association, foreign_limited_liability_company, foreign_limited_liability_partnership, foreign_limited_partnership, foreign_nonprofit_corporation, foreign_statutory_trust Available options:
active_in_good_standing, active_not_in_good_standing, cancelled, consolidated, converted, dissolved, domesticated, merged, revoked, terminated, withdrawn Available options:
domestic, foreign Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Available options:
name, effective_date, entity_number, entity_type, status, agent_name Available options:
asc, desc