ERIE Insurance
ERIE Insurance — agent-distributed auto/home/life/business carrier; quotes, agent + repair-shop lookup, claim status.
Domain: erieinsurance.com
Also known as: ERIE, ERIE Insurance, Erie Insurance Group, Erie Indemnity
Call it directly
bowmark.providers.erieinsurance.findAgent(query: ErieAgentQuery, limit?: number): Promise<ErieAgentSearch>Functions
| Function | What it does |
|---|---|
findAgent | The ERIE independent agents near a ZIP or city+state — each office's agency name, the named agent (first/last/title), street address, phone, email, hours, distance, the lines that agency… |
Types
interface ErieAgentQuery {
/** 5-digit US ZIP code. Either this or `city`+`state` is required. */
zip?: string;
/** City name. Requires `state` alongside it — ERIE's directory is national
* and a city name alone does not say which state's Chicago, Columbus or
* Springfield the caller means. */
city?: string;
/** Two-letter state code, e.g. "OH". Required together with `city`. */
state?: string;
}
interface ErieAgentSearch {
agents: ErieAgent[];
sourceUrl: string;
/** Non-empty only when ERIE's own directory returned a row this parser
* dropped as not real (its own (0,0)-coordinate fallback record for a
* zipcode it could not parse). Empty on a healthy search. */
warnings: string[];
}
interface ErieAgent {
agencyAccountNumber: string;
agencyName: string;
firstName: string | null;
lastName: string | null;
middleInitial: string | null;
/** "Principal Agent" and similar — ERIE's own title for this person, not
* the agency's name. */
title: string | null;
email: string | null;
street: string | null;
street2: string | null;
city: string | null;
state: string | null;
zip: string | null;
zipPlus4: string | null;
latitude: number | null;
longitude: number | null;
/** Miles from the resolved search location, ERIE's own figure. */
distanceMiles: number | null;
phone: string | null;
phoneTollFree: string | null;
fax: string | null;
website: string | null;
/** Languages this office serves beyond English. Empty where ERIE publishes none. */
languages: string[];
/** Social profile URLs, in ERIE's own order. Unpublished slots are dropped rather than kept as "". */
socialLinks: string[];
/** ERIE's own one-line agency blurb, HTML tags stripped. */
agencyDescription: string | null;
/** ERIE's own "lines this agency writes" panel, HTML tags stripped. */
linesOfBusinessWritten: string | null;
/** One line per day, e.g. "Monday: 9:00 a.m. - 5:00 p.m." or "Sunday: Closed". */
hours: string[];
/** A `data:image/jpeg;base64,…` URI built from ERIE's own headshot, or null. */
photoDataUri: string | null;
}