Skip to main content
POST
/
api
/
rhode_island
/
companies
/
search
/rhode_island/companies/search
curl --request POST \
  --url https://api.anysite.io/api/rhode_island/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300,
  "search_type": "begins_with",
  "status": "active"
}
'
[
  {
    "id_number": "<string>",
    "@type": "@rhode_island_company_search_item",
    "name": "<string>",
    "naics": "<string>",
    "is_inactive": false,
    "address": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Company name to search for

Minimum string length: 1
Examples:

"CVS"

"HASBRO"

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
search_type
enum<string>
default:begins_with

How to match the name against the registry

Available options:
begins_with,
exact_match,
full_text,
soundex
status
enum<string>
default:active

Restrict results to active or inactive entities

Available options:
active,
inactive

Response

Successful Response

id_number
string
required
@type
string
default:@rhode_island_company_search_item
name
string | null
naics
string | null
is_inactive
boolean
default:false
address
string | null