← Health board

MHIC

Maryland Contractor License Lookup & List Scraper (MHIC)

Look up any Maryland MHIC home improvement licence by registration number or name, or export every active licence statewide (21,622 on 2026-10-12) with street address and expiry.

100%golden-diff pass
Run it on Apify → verified nightly

Verification

100%golden-diff success
35canary runs
0days since last canary run

Output fields

Authoritative field set from the dataset schema.

FieldType
license_numberstring|null
license_suffixstring|null
person_namestring|null
business_namestring|null
business_referencestring|null
license_categorystring|null
statusstring|null
expiration_datestring|null
addressstring|null
citystring|null
address_statestring|null
zip_codestring|null
phonestring|null
matched_bystring|null
license_typestring|null
statestring|null
noticestring|null
notice_typestring|null
source_urlstring|null

Sample row

{
  "license_number": "161740",
  "license_suffix": null,
  "person_name": "TSGAKRSTOS A DAFLA",
  "business_name": "A TEAM LLC",
  "address": "710 GEORGE ST",
  "city": "BALTIMORE",
  "address_state": "MD",
  "zip_code": "21201",
  "expiration_date": "2027-05-07",
  "license_category": "CONTRACTOR/SALESMAN",
  "business_reference": "05-163491",
  "status": "Active",
  "phone": null,
  "matched_by": "license_number",
  "license_type": "Home Improvement License",
  "state": "MD",
  "source_url": "https://www.dllr.state.md.us/cgi-bin/ElectronicLicensing/OP_Search/OP_search.cgi?calling_app=HIC::HIC_business_location"
}

Inputs

FieldTypeReqDefaultDescription
query string no — An MHIC registration number ('161740'), a business name or part of one ('Titan'), or a person's name ('Peter Krug' — the person index is searched by last name, then every word you typed must appear). Leave empty to run an export instead.
queries array no [] Several lookups in ONE run, one per line. Combined with the field above if you fill both.
city string no — Business-address city, exact match ignoring case and punctuation, e.g. 'Silver Spring'. MHIC lists licensees by business address, not by where they work.
cities array no [] Several cities in ONE export.
zipCode string no — 5-digit business ZIP, e.g. '21201'.
zipCodes array no [] Several ZIP codes in ONE export.
nameFilter string no — Case-insensitive text in the trade name or the licensee's name, e.g. 'roofing'.
nameFilters array no [] Several name fragments in ONE export; a licence matching any of them is returned once.
marylandAddressesOnly boolean no false Out-of-state contractors can hold an MHIC licence. Tick to drop licences whose business address is outside Maryland.
maxResults integer no 500 EXPORT: cap on licences for the WHOLE run — your spend control (set 100000 to take every active licence). LOOKUP: cap per name or number (default 50).
proxyConfiguration object no {"useApifyProxy":false} Not needed: Maryland's licence query answers Apify's own IPs. Leave it off unless a run reports it was blocked.

Pricing

Pay per result (dataset-item) — no charge for empty runs.
Example: 1552 Baltimore home improvement contractors at $0.004/result ≈ $6.21.

FAQ

Where does the data come from?

From the Maryland Home Improvement Commission's public licence query, run by the Maryland Department of Labor (dllr.state.md.us). Every run reads it live.

How many licences are there?

21,622 active licences on 2026-10-12, across 1,225 business cities. Largest: Baltimore 1,552, Silver Spring 1,006, Rockville 555, Gaithersburg 540, Frederick 524. 41 carry the Authorized Solar Contractor category; the rest are CONTRACTOR/SALESMAN.

Is there a phone number or email?

No. MHIC's public query publishes no phone number and no email, so the phone column is always empty. You get the licensee, trade name and full business street address.

Lookup or export — which do I use?

Lookup when you have registration numbers or names: fill 'License number or name' (or the batch list). A name searches both MHIC's business-name index and its personal-name index. Export when you want a list: leave that field empty and set a city, ZIP or name filter, or nothing for the whole state.

Does it include out-of-state contractors?

Yes: 2,229 of the 21,622 active licences (10.3%) have a business address outside Maryland, most often Virginia (933), Pennsylvania (516), Delaware (256) and DC (146). Tick 'Maryland business addresses only' to drop them.

Why are only active licences returned?

MHIC's public query lists active licences only; licensees on inactive status are left out by MHIC itself. A licence that no longer appears in a lookup is not active.

What is business_reference?

MHIC prints a number such as 05-163491 in front of the street address on 75% of rows and does not label it. It is passed through as found so you can group licensees who share one; it is not the registration number (that is license_number).

How am I charged?

$0.004 per licence returned. The default export returns 500 licences ($2.00); Baltimore's 1,552 cost $6.21; the whole state is $86.49. Notice rows are free.

Guides & use cases

Related actors