Skip to main content

Secretary of State Search API

This document highlights the Secretary of State Search API details.

API Description

Objective

The Secretary of State Search API retrieves business registration details from U.S. state secretary of state databases using Legal Name and State as input parameters.

InputOutput
The Business Legal Name and StateThe Business registration details. A complete list of details returned by the API is provided under the Success Response Details section.

API URL

https://usa.thomas.hyperverge.co/v1/secretaryOfStateSearch

API Endpoint

secretaryOfStateSearch

Overview

The Secretary of State Search API is RESTful and uses standard HTTP verbs and status codes. The requests are in form-data format and responses are in JSON format.

Authentication

You need a unique pair of application ID ( appId ) and application key (appKey) from HyperVerge to verify your identity for accessing the API.

ParameterMandatory or OptionalDescriptionAllowed Values
content-type MandatoryThis parameter defines the media type for the request payloadapplication/json
appId MandatoryThe application identifier shared by HyperVerge. You can find the details in the dashboard's credentials tab.This should be a unique value.
appKey MandatoryThe application key shared by HyperVerge. You can find the details in the dashboard's credentials tab.This should be a unique value.
transactionIdMandatoryA unique identifier for tracking a user journeyThis should be both unique and easily associated with the user's journey in your application(s)

Input

The following table lists the parameter required for the Secretary of State Search API's request body:

ParameterMandatory or OptionalDescriptionAllowed ValuesDefault Value
businessLegalNameMandatoryThe registered legal name of the businessNot ApplicableNot Applicable
stateMandatoryThe corresponding state where the business is incorporatedNot ApplicableNot Applicable

Request

The following code snippet demonstrates a standard curl request for the Secretary of State Search API:

curl --location --request POST 'https://usa.thomas.hyperverge.co/v1/secretaryOfStateSearch' \
--header 'Content-Type: application/json' \
--header 'appId: <Enter_the_HyperVerge_appId>' \
--header 'appKey: <Enter_the_HyperVerge_appKey>' \
--header 'transactionId: <Enter_the_HyperVerge_transactionID>' \
--data '{
"businessLegalName": "<Enter_the_legal_name>",
"state": "<Enter_the_state_name>"
}'

Success Response

The following code snippet demonstrates a success response from the Secretary of State Search API:

{
"status": "success",
"statusCode": 200,
"result": {
"businessName": "<BusinessName>",
"activeStatus": "<ActiveStatus>",
"latestFilingDate": "<MM/DD/YYYY>",
"filingDate": "<YYYY-MM-DDTHH:mm:ss.sssZ>",
"state": "<State>",
"confidenceLevel": <confidencelevel>,
"url": "<URL>",
"physicalAddressStreet": "<Street>",
"physicalAddressCity": "<City>",
"physicalAddressState": "<State>",
"physicalAddressZip": "<ZipCode>",
"mailingAddressStreet": "<Street>",
"mailingAddressCity": "<City>",
"mailingAddressState": "<State>",
"mailingAddressZip": "<ZipCode>",
"stateAddressStreet": "<Street>",
"stateAddressCity": "<City>",
"stateAddressState": "<State>",
"stateAddressZip": "<ZipCode>",
"entityType": "<EntityType>",
"EIN": "<EIN>"
},
"metadata": {
"requestId": "<RequestID>",
"transactionId": "<TransactionID>"
}
}

Success Response Details

The following table outlines the details of the success response from the API:

ParameterTypeDescription
statusstringThe status of the request
statusCodeintegerThe HTTP status code for the request
resultobjectThe object containing the result details
result.businessNamestringThe legal name of the business entity
result.activeStatusstringThe current status of the business entity
result.latestFilingDatestringThe most recent filing date in MM/DD/YYYY format
result.filingDatestringThe filing date in ISO format
result.statestringThe state where the business is registered
result.confidenceLevelintegerThe confidence level of the search result
result.urlstringThe URL to the Secretary of State record
result.physicalAddressStreetstringThe street address of the business physical location
result.physicalAddressCitystringThe city of the business physical address
result.physicalAddressStatestringThe state of the business physical address
result.physicalAddressZipstringThe ZIP code of the business physical address
result.mailingAddressStreetstringThe street address for the business mailing address
result.mailingAddressCitystringThe city of the business mailing address
result.mailingAddressStatestringThe state of the business mailing address
result.mailingAddressZipstringThe ZIP code of the business mailing address
result.stateAddressStreetstringThe street address registered with the Secretary of State
result.stateAddressCitystringThe city registered with the Secretary of State
result.stateAddressStatestringThe state registered with the Secretary of State
result.stateAddressZipstringThe ZIP code registered with the Secretary of State
result.entityTypestringThe type of business entity
result.EINstringThe Employer Identification Number (EIN) assigned by the IRS
metadataobjectThe object containing metadata information
metadata.requestIdstringA unique identifier for the request
metadata.transactionIdstringA unique identifier for the transaction

Error Responses

The following are the error responses for the Secretary of State Search API:

{
"status": "failure",
"statusCode": 400,
"error": "businessLegalName is required"
}
{
"status": "failure",
"statusCode": 404,
"error": "State currently not available for Search"
}

Error Response Details

A failure or error response from the API contains a failure status with a relevant status code and error message.The following table lists all the error responses:

Status CodeError MessageError Description
400businessLegalName is requiredThe business legal name is missing from the request body
400state is requiredThe state parameter is missing from the request body
401Missing/Invalid credentialsThe request is either missing the mandatory appId and appKey combination or has invalid values
404State currently not available for SearchThe requested state is not currently supported for Secretary of State searches
500Internal Server ErrorAn internal server error occurred. Please contact the HyperVerge team for resolution
503External vendor downtimeThe external vendor service is temporarily unavailable
Was this helpful?
Ask AIBeta
Hi! How can I help?
Ask me anything about HyperVerge products, APIs, and SDKs.
Try asking: