Employers

List peer establishments

Peer establishments — same NAICS+state cohort, plus same-parent siblings.

Powers the "Other employers in this industry" and "Other establishments under this parent" sections of the profile page. These sections double as internal-link targets that pass authority to long-tail leaf URLs (otherwise SEO dead-ends since most thin profiles have no inbound links).

Returns up to limit rows per cohort, ordered by agency_violation_count DESC so the most-active peers surface first — better signal for the human reader and stronger anchor-text diversity in the per-page link set.

Metered same as get_inspections. The endpoint is heavy enough (two indexed lookups + N projections) that an unmetered version would invite scraping.

get/v1/employers/{employer_id}/peers

Path parameters

employer_idstring required

Query parameters

limitinteger

Headers

X-Api-Keystring

Response

Successful Response

{"stackTrail":"paths:/v1/employers/{employer_id}/peers:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}