Skip to main content
POST
/
api
/
minnesota
/
companies
/
search
/minnesota/companies/search
curl --request POST \
  --url https://api.anysite.io/api/minnesota/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "by_file_number": false,
  "starts_with": true,
  "active_only": true,
  "include_prior_names": false
}
'
[
  {
    "filing_guid": "<string>",
    "@type": "@minnesota_company_search_item",
    "name": "<string>",
    "business_status": "<string>",
    "business_type": "<string>",
    "name_type": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query — business name or file number

Minimum string length: 1
Examples:

"Target"

"Best Buy"

count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
by_file_number
boolean
default:false

Treat the query as a file number instead of a business name

starts_with
boolean
default:true

Match values that start with the query instead of containing it

active_only
boolean
default:true

Return only active entities

include_prior_names
boolean
default:false

Also match prior (historical) business names

Response

Successful Response

filing_guid
string
required
@type
string
default:@minnesota_company_search_item
name
string | null
business_status
string | null
business_type
string | null
name_type
string | null