Skip to main content
POST
/
api
/
massachusetts
/
companies
/
filings
/massachusetts/companies/filings
curl --request POST \
  --url https://api.anysite.io/api/massachusetts/companies/filings \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "id_number": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "@type": "@massachusetts_filing",
    "name": "<string>",
    "year": "<string>",
    "filed_at": "<string>",
    "filing_number": "<string>",
    "document_url": "<string>",
    "page_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
id_number
string
required

Massachusetts business Identification Number (9 characters; usually 9 digits, sometimes a letter prefix, e.g. L86001411 for a limited partnership)

Examples:

"710415188"

"043200369"

"L86001411"

count
integer
required

Max number of filings to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@massachusetts_filing
name
string | null
year
string | null
filed_at
string | null
filing_number
string | null
document_url
string | null
page_count
integer | null