# Hermes Data — Dealership Contacts API (v1_2) This is the official Hermes Data reference for implementing integrations and answering questions about the documented APIs. Use the product and version named in each section; do not mix their routes, identifiers, billing rules, or response shapes. Examples use placeholder credentials and sample data. Follow the documented contracts, and state when a behavior is not specified instead of inventing endpoints or fields. Fetch the canonical source for updates. Live /meta responses are authoritative for current catalog values and limits where documented. Canonical documentation: https://hermesdata.io/documentation/contacts API base URL: https://luxe.hermesdata.io/v1_2/contacts ## Authentication Use HTTPS and the Authorization header: `Bearer hd_live_your_key_here`. Generate a key at https://hermesdata.io/portal/account/api-key. Keep real credentials out of prompts and shared examples. Product access requirements still apply. ## Overview and billing Verified decision makers at car dealerships. Check anyone for free - their job title, their store, its franchises, and whether we hold an email for them - and pay only when you want their contact details. Names are readable for customers before purchase. Purchasing new records costs 1 credit(s) per contact. Search, quotes and re-reading owned records are free. Portal and API share wallet and ownership. The search and purchase endpoints documented here return JSON records. Portal orders provide CSV downloads. ## Quickstart Every Texas sales manager you haven't bought yet. Names are readable; email and phone are held back until you buy; the job title, the store, its franchises and whether we hold an email are all readable for free. ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/search?dealer_state=TX&job_title=Sales%20Manager&page_size=2' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` ```json { "data": [ { "contact_id": "9d2f61a04b8c7e35", "dealer_id": "6a1c48d0e2f7b3915c0d4471", "first": "Dana", "last": "Whitfield", "names_visible": true, "dealer_name": "EXAMPLE CHEVROLET", "job_title": "Sales Manager", "roles": ["Sales Manager"], "multi_role": false, "dealer_state": "TX", "dealer_zip": "76087", "dealer_inventory_count": "706", "oem_franchises": "Chevrolet", "phone": "817***", "has_email": true, "has_phone": true, "has_dealer_group": true, "has_linkedin": true, "is_dealer_group_contact": false, "purchased": false, "recently_moved_dealership": false, "recently_changed_title": false, "moved_same_group": false, "newly_seen_decision_maker": false } ], "meta": { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "new", "page": 1, "page_size": 2, "total": 4847, "next_cursor": "eyJ2IjoiZnVsbF9leHBvcnRfMjAyNjA4MjhfMDYwMDAwXzNkNGE2MWMwIiwi…" } } // This customer preview includes full names before purchase. Phone is masked // ("817***"), while email and linkedin are missing keys entirely. Presence flags // tell you whether buying would get you either. Everything you need to qualify // the person is free: job title, employer, franchise, and their move history. ``` ## Conventions and pagination Record values, including numeric columns, are strings; multi-value columns are pipe-delimited. Read purchased to distinguish owned records from previews. Free and paid field lists below describe the projections. List envelopes contain data and meta; point lookups are bare records. Other endpoints have their own shapes shown below. Rows sort by contact_id ascending; there is no sort parameter. Pages are 1-based, page_size defaults to 50 and clamps at 500. meta.total counts the selected segment; /meta records counts the whole catalog. New and owned searches are separate segments. Follow meta.next_cursor until null for deep paging. Begin without a cursor, keep the segment and filters fixed, and treat tokens as opaque. page=1 with a cursor is accepted; page>=2 is invalid_cursor. Cursors pin a snapshot; on snapshot_expired restart the walk. Purchases move rows between segments, so re-walk after buying. For record responses, X-Data-Version matches meta.data_version. The catalog is rebuilt nightly. ## Validation and purchase caveats Record-search endpoints ignore unknown query parameters and unparseable numeric filters. Boolean values other than true or 1 mean false; omit a boolean to mean either. Non-numeric page/page_size returns invalid_query; page below 1 becomes 1. Unknown JSON body fields return invalid_body. A purchase retry can replay the original order without another debit while the selection still contains unowned records; once everything is owned it returns no_new_records. Quote credit_balance can lag a purchase by about 60 seconds; purchase credits_used confirms the charge. ## Billing classes ```json { "free": { "label": "free", "blurb": "Unlimited and never billed - searching, faceting, ids, point lookups, the owned batch and quotes." }, "credits": { "label": "credits", "blurb": "The only charged call. Debits credits per NET-NEW record; records you already own are excluded before the debit." } } ``` ## Discovery Ask the product what it holds, what it costs, and what you can filter on. Read this instead of hard-coding anything below. ### GET /v1_2/contacts/meta Self-describing document: data version, record count, price per record, both segment paths, the filter vocabulary, paging rules, limits, and the free-vs-paid field lists. Billing class: free ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/meta' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "product": "contacts", "data_version": "full_export_20260828_060000_3d4a61c0", "records": 275147, "credits_per_item": 1, "pricing": "Searching and previewing redacted rows is free. Unlocking a new record costs credits_per_item, charged once — re-fetching a record you already own is always free.", "segments": { "new": { "search": "/v1_2/contacts/search", "facets": "/v1_2/contacts/facets", "ids": "/v1_2/contacts/ids", "rows": "redacted" }, "owned": { "search": "/v1_2/contacts/owned/search", "facets": "/v1_2/contacts/owned/facets", "ids": "/v1_2/contacts/owned/ids", "records": "/v1_2/contacts/owned/records", "rows": "full" } }, "segments_are": "disjoint — a record you own never appears in the new segment, and vice versa", "filters": ["name", "first", "last", "job_title", "job_title_exact", "dealer_name", "oem_franchise", "…"], "paging": { "modes": ["page", "cursor"], "cursor_param": "cursor", "cursor_field": "meta.next_cursor", "cursor_bound_to_snapshot": true, "sort": "contact_id ascending (the only order; deterministic across pages)" }, "limits": { "max_page_size": 500, "max_records_ids": 500, "ids_cap": 100000 }, "fields": { "free": ["contact_id", "first", "last", "names_visible", "dealer_id", "job_title", "roles", "multi_role", "dealer_name", "…"], "redacted": ["phone"], "paid": ["email", "phone", "linkedin", "dealer_street", "dealer_city", "dealer_country", "dealer_website_url"] }, "ownership": "Recorded in the same registry as the portal — a contact bought here is owned in hermesdata's My Contacts, and vice versa." } // Customer previews include names. Phone remains masked; email and LinkedIn // are omitted until purchase. Anonymous marketing previews keep names masked. ``` A single object. data_version changes when the nightly export is rebuilt - it is also the value your cursors are pinned to. ## Browse what you don't own The new segment: every contact you have not bought, with the paid columns absent. Free, unlimited, and the same query vocabulary as the owned segment. ### GET /v1_2/contacts/search Paged, filtered contacts you don't own yet. Redacted rows. Billing class: free Parameters: - `name` (query; string; optional): First, last, or full name. - `first` (query; string; optional): Case-insensitive substring on the first name. Available on new and owned contacts. - `last` (query; string; optional): Case-insensitive substring on the last name. Available on new and owned contacts. - `job_title` (query; string; optional): Case-insensitive substring, e.g. Manager matches General Manager and Sales Manager. Comma-separated needles OR together. - `job_title_exact` (query; string; optional): Exact title match, for when substring matching is too broad. Use the by_job_title facet to see what exists. - `dealer_name` (query; string; optional): Case-insensitive substring on the employing rooftop. - `oem_franchise` (query; string; optional): Matches inside the rooftop's pipe-delimited franchise list. Comma-separated needles OR together. - `dealer_city` (query; string; optional): Case-insensitive substring. - `dealer_state` (query; string; optional): Exact state/province code. Comma-separated values OR together, e.g. TX,IL. - `dealer_zip` (query; string; optional): Prefix match, e.g. 787. - `dealer_country` (query; string; optional): US or CA. - `dealer_website_id` (query; string; optional): The rooftop's website id, e.g. examplechevrolet.com. - `dealer_id` (query; string; optional): Exact match on the employing rooftop. Pass dealer_id from a contact row, a dealer row, or a listing straight into contacts search as ?dealer_id= or purchase as filters.dealer_id. - `email_status` (query; string; optional): Verification state of the address, e.g. verified. Filterable without buying - has_email tells you an address exists, this tells you how good it is. - `min_inventory` (query; integer; optional): Inclusive lower bound on the employing rooftop's live inventory count. - `max_inventory` (query; integer; optional): Inclusive upper bound. - `has_email` (query; boolean; optional): true / false. - `has_phone` (query; boolean; optional): true / false. - `has_linkedin` (query; boolean; optional): true / false. - `has_dealer_group` (query; boolean; optional): Whether the employing rooftop rolls up to a parent group. - `is_dealer_group_contact` (query; boolean; optional): true selects people who sit at the GROUP level rather than at one store. - `recently_moved_dealership` (query; boolean; optional): Changed employer since a recent snapshot. Pair with the moved_from_dealer / moved_same_group fields on the row. - `recently_changed_job_title` (query; boolean; optional): Title changed since a recent snapshot. The row carries title_previous and moved_title_direction. - `new_decision_maker` (query; boolean; optional): First seen as a decision maker recently - the row flags it as newly_seen_decision_maker. - `page` (query; integer; optional): 1-based page number. Default 1. Mutually exclusive with cursor from page 2 up; page=1 alongside a cursor is accepted. A page below 1 is treated as 1. - `page_size` (query; integer; optional): Rows per page, 1–500. Default 50. Clamped silently - read meta.page_size back. - `cursor` (query; string; optional): Opaque token from meta.next_cursor. On the first call omit it, or send it empty - an empty cursor= means "no cursor". ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/search?dealer_state=TX&job_title=Sales%20Manager&page_size=2' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "data": [ { "contact_id": "9d2f61a04b8c7e35", "dealer_id": "6a1c48d0e2f7b3915c0d4471", "first": "Dana", "last": "Whitfield", "names_visible": true, "dealer_name": "EXAMPLE CHEVROLET", "job_title": "Sales Manager", "roles": ["Sales Manager"], "multi_role": false, "dealer_state": "TX", "dealer_zip": "76087", "dealer_inventory_count": "706", "oem_franchises": "Chevrolet", "phone": "817***", "has_email": true, "has_phone": true, "has_dealer_group": true, "has_linkedin": true, "is_dealer_group_contact": false, "purchased": false, "recently_moved_dealership": false, "recently_changed_title": false, "moved_same_group": false, "newly_seen_decision_maker": false } ], "meta": { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "new", "page": 1, "page_size": 2, "total": 4847, "next_cursor": "eyJ2IjoiZnVsbF9leHBvcnRfMjAyNjA4MjhfMDYwMDAwXzNkNGE2MWMwIiwi…" } } // This customer preview includes full names before purchase. Phone is masked // ("817***"), while email and linkedin are missing keys entirely. Presence flags // tell you whether buying would get you either. Everything you need to qualify // the person is free: job title, employer, franchise, and their move history. ``` { data, meta }. All filters AND together; a filter value that matches nothing is an empty 200, never an error. ### GET /v1_2/contacts/facets Counts by state, by OEM franchise, and by job title over the same match set your search would return. Billing class: free Parameters: - `name` (query; string; optional): First, last, or full name. - `first` (query; string; optional): Case-insensitive substring on the first name. Available on new and owned contacts. - `last` (query; string; optional): Case-insensitive substring on the last name. Available on new and owned contacts. - `job_title` (query; string; optional): Case-insensitive substring, e.g. Manager matches General Manager and Sales Manager. Comma-separated needles OR together. - `job_title_exact` (query; string; optional): Exact title match, for when substring matching is too broad. Use the by_job_title facet to see what exists. - `dealer_name` (query; string; optional): Case-insensitive substring on the employing rooftop. - `oem_franchise` (query; string; optional): Matches inside the rooftop's pipe-delimited franchise list. Comma-separated needles OR together. - `dealer_city` (query; string; optional): Case-insensitive substring. - `dealer_state` (query; string; optional): Exact state/province code. Comma-separated values OR together, e.g. TX,IL. - `dealer_zip` (query; string; optional): Prefix match, e.g. 787. - `dealer_country` (query; string; optional): US or CA. - `dealer_website_id` (query; string; optional): The rooftop's website id, e.g. examplechevrolet.com. - `dealer_id` (query; string; optional): Exact match on the employing rooftop. Pass dealer_id from a contact row, a dealer row, or a listing straight into contacts search as ?dealer_id= or purchase as filters.dealer_id. - `email_status` (query; string; optional): Verification state of the address, e.g. verified. Filterable without buying - has_email tells you an address exists, this tells you how good it is. - `min_inventory` (query; integer; optional): Inclusive lower bound on the employing rooftop's live inventory count. - `max_inventory` (query; integer; optional): Inclusive upper bound. - `has_email` (query; boolean; optional): true / false. - `has_phone` (query; boolean; optional): true / false. - `has_linkedin` (query; boolean; optional): true / false. - `has_dealer_group` (query; boolean; optional): Whether the employing rooftop rolls up to a parent group. - `is_dealer_group_contact` (query; boolean; optional): true selects people who sit at the GROUP level rather than at one store. - `recently_moved_dealership` (query; boolean; optional): Changed employer since a recent snapshot. Pair with the moved_from_dealer / moved_same_group fields on the row. - `recently_changed_job_title` (query; boolean; optional): Title changed since a recent snapshot. The row carries title_previous and moved_title_direction. - `new_decision_maker` (query; boolean; optional): First seen as a decision maker recently - the row flags it as newly_seen_decision_maker. ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/facets?dealer_state=TX&job_title=Sales%20Manager' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "new", "by_state": [ { "value": "TX", "count": 21253 } ], "by_oem_franchise": [ { "value": "Ford", "count": 2771 }, { "value": "Chevrolet", "count": 2414 }, { "value": "Toyota", "count": 1910 } ], "by_job_title": [ { "value": "Sales Manager", "count": 3912 }, { "value": "General Manager", "count": 2604 } ] } // Three bucket lists rather than the two Dealers returns - by_job_title is the // one to read before choosing job_title_exact, since it shows you the titles // that actually exist instead of the ones you assume do. ``` Buckets are ordered by count, descending. Use them to build filter menus without guessing what exists. ### GET /v1_2/contacts/ids Just the ids for a filter - the cheap input to a quote, a purchase, or a batch re-fetch. Billing class: free Parameters: - `name` (query; string; optional): First, last, or full name. - `first` (query; string; optional): Case-insensitive substring on the first name. Available on new and owned contacts. - `last` (query; string; optional): Case-insensitive substring on the last name. Available on new and owned contacts. - `job_title` (query; string; optional): Case-insensitive substring, e.g. Manager matches General Manager and Sales Manager. Comma-separated needles OR together. - `job_title_exact` (query; string; optional): Exact title match, for when substring matching is too broad. Use the by_job_title facet to see what exists. - `dealer_name` (query; string; optional): Case-insensitive substring on the employing rooftop. - `oem_franchise` (query; string; optional): Matches inside the rooftop's pipe-delimited franchise list. Comma-separated needles OR together. - `dealer_city` (query; string; optional): Case-insensitive substring. - `dealer_state` (query; string; optional): Exact state/province code. Comma-separated values OR together, e.g. TX,IL. - `dealer_zip` (query; string; optional): Prefix match, e.g. 787. - `dealer_country` (query; string; optional): US or CA. - `dealer_website_id` (query; string; optional): The rooftop's website id, e.g. examplechevrolet.com. - `dealer_id` (query; string; optional): Exact match on the employing rooftop. Pass dealer_id from a contact row, a dealer row, or a listing straight into contacts search as ?dealer_id= or purchase as filters.dealer_id. - `email_status` (query; string; optional): Verification state of the address, e.g. verified. Filterable without buying - has_email tells you an address exists, this tells you how good it is. - `min_inventory` (query; integer; optional): Inclusive lower bound on the employing rooftop's live inventory count. - `max_inventory` (query; integer; optional): Inclusive upper bound. - `has_email` (query; boolean; optional): true / false. - `has_phone` (query; boolean; optional): true / false. - `has_linkedin` (query; boolean; optional): true / false. - `has_dealer_group` (query; boolean; optional): Whether the employing rooftop rolls up to a parent group. - `is_dealer_group_contact` (query; boolean; optional): true selects people who sit at the GROUP level rather than at one store. - `recently_moved_dealership` (query; boolean; optional): Changed employer since a recent snapshot. Pair with the moved_from_dealer / moved_same_group fields on the row. - `recently_changed_job_title` (query; boolean; optional): Title changed since a recent snapshot. The row carries title_previous and moved_title_direction. - `new_decision_maker` (query; boolean; optional): First seen as a decision maker recently - the row flags it as newly_seen_decision_maker. ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/ids?dealer_state=TX&job_title=Sales%20Manager' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "new", "ids": ["9d2f61a04b8c7e35", "9d2f61a14b8c7e42"], "total": 41, "capped": false } ``` total is the true match count; capped tells you whether the ids list was truncated at 100,000. ## Read what you own The owned segment: everything you have bought, in full, forever, for free. Same filters, same envelope, same paging as above. ### GET /v1_2/contacts/owned/search Paged, filtered contacts you own. Full rows. Billing class: free Parameters: - `name` (query; string; optional): First, last, or full name. - `first` (query; string; optional): Case-insensitive substring on the first name. Available on new and owned contacts. - `last` (query; string; optional): Case-insensitive substring on the last name. Available on new and owned contacts. - `job_title` (query; string; optional): Case-insensitive substring, e.g. Manager matches General Manager and Sales Manager. Comma-separated needles OR together. - `job_title_exact` (query; string; optional): Exact title match, for when substring matching is too broad. Use the by_job_title facet to see what exists. - `dealer_name` (query; string; optional): Case-insensitive substring on the employing rooftop. - `oem_franchise` (query; string; optional): Matches inside the rooftop's pipe-delimited franchise list. Comma-separated needles OR together. - `dealer_city` (query; string; optional): Case-insensitive substring. - `dealer_state` (query; string; optional): Exact state/province code. Comma-separated values OR together, e.g. TX,IL. - `dealer_zip` (query; string; optional): Prefix match, e.g. 787. - `dealer_country` (query; string; optional): US or CA. - `dealer_website_id` (query; string; optional): The rooftop's website id, e.g. examplechevrolet.com. - `dealer_id` (query; string; optional): Exact match on the employing rooftop. Pass dealer_id from a contact row, a dealer row, or a listing straight into contacts search as ?dealer_id= or purchase as filters.dealer_id. - `email_status` (query; string; optional): Verification state of the address, e.g. verified. Filterable without buying - has_email tells you an address exists, this tells you how good it is. - `min_inventory` (query; integer; optional): Inclusive lower bound on the employing rooftop's live inventory count. - `max_inventory` (query; integer; optional): Inclusive upper bound. - `has_email` (query; boolean; optional): true / false. - `has_phone` (query; boolean; optional): true / false. - `has_linkedin` (query; boolean; optional): true / false. - `has_dealer_group` (query; boolean; optional): Whether the employing rooftop rolls up to a parent group. - `is_dealer_group_contact` (query; boolean; optional): true selects people who sit at the GROUP level rather than at one store. - `recently_moved_dealership` (query; boolean; optional): Changed employer since a recent snapshot. Pair with the moved_from_dealer / moved_same_group fields on the row. - `recently_changed_job_title` (query; boolean; optional): Title changed since a recent snapshot. The row carries title_previous and moved_title_direction. - `new_decision_maker` (query; boolean; optional): First seen as a decision maker recently - the row flags it as newly_seen_decision_maker. - `page` (query; integer; optional): 1-based page number. Default 1. Mutually exclusive with cursor from page 2 up; page=1 alongside a cursor is accepted. A page below 1 is treated as 1. - `page_size` (query; integer; optional): Rows per page, 1–500. Default 50. Clamped silently - read meta.page_size back. - `cursor` (query; string; optional): Opaque token from meta.next_cursor. On the first call omit it, or send it empty - an empty cursor= means "no cursor". ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/owned/search?page_size=50' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "data": [ /* full rows, exactly the shape above */ ], "meta": { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "owned", "page": 1, "page_size": 50, "total": 26, "next_cursor": "eyJ2IjoiZnVsbF9leHBvcnRfMjAyNjA4MjhfMDYwMDAwXzNkNGE2MWMwIiwi…" } } // total counts every contact you own - including ones you bought in the portal // rather than through this API. There is one ownership set per account, not one // per channel, so a contact your team downloaded as a CSV last month is already // here and will never be charged for again. ``` { data, meta } with segment: "owned". This is the paged form of the free re-read - there is no charge and no limit on how often you call it. ### GET /v1_2/contacts/owned/facets The same facet buckets, computed over what you own. Billing class: free Parameters: - `name` (query; string; optional): First, last, or full name. - `first` (query; string; optional): Case-insensitive substring on the first name. Available on new and owned contacts. - `last` (query; string; optional): Case-insensitive substring on the last name. Available on new and owned contacts. - `job_title` (query; string; optional): Case-insensitive substring, e.g. Manager matches General Manager and Sales Manager. Comma-separated needles OR together. - `job_title_exact` (query; string; optional): Exact title match, for when substring matching is too broad. Use the by_job_title facet to see what exists. - `dealer_name` (query; string; optional): Case-insensitive substring on the employing rooftop. - `oem_franchise` (query; string; optional): Matches inside the rooftop's pipe-delimited franchise list. Comma-separated needles OR together. - `dealer_city` (query; string; optional): Case-insensitive substring. - `dealer_state` (query; string; optional): Exact state/province code. Comma-separated values OR together, e.g. TX,IL. - `dealer_zip` (query; string; optional): Prefix match, e.g. 787. - `dealer_country` (query; string; optional): US or CA. - `dealer_website_id` (query; string; optional): The rooftop's website id, e.g. examplechevrolet.com. - `dealer_id` (query; string; optional): Exact match on the employing rooftop. Pass dealer_id from a contact row, a dealer row, or a listing straight into contacts search as ?dealer_id= or purchase as filters.dealer_id. - `email_status` (query; string; optional): Verification state of the address, e.g. verified. Filterable without buying - has_email tells you an address exists, this tells you how good it is. - `min_inventory` (query; integer; optional): Inclusive lower bound on the employing rooftop's live inventory count. - `max_inventory` (query; integer; optional): Inclusive upper bound. - `has_email` (query; boolean; optional): true / false. - `has_phone` (query; boolean; optional): true / false. - `has_linkedin` (query; boolean; optional): true / false. - `has_dealer_group` (query; boolean; optional): Whether the employing rooftop rolls up to a parent group. - `is_dealer_group_contact` (query; boolean; optional): true selects people who sit at the GROUP level rather than at one store. - `recently_moved_dealership` (query; boolean; optional): Changed employer since a recent snapshot. Pair with the moved_from_dealer / moved_same_group fields on the row. - `recently_changed_job_title` (query; boolean; optional): Title changed since a recent snapshot. The row carries title_previous and moved_title_direction. - `new_decision_maker` (query; boolean; optional): First seen as a decision maker recently - the row flags it as newly_seen_decision_maker. ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/owned/facets' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "owned", "by_state": [ { "value": "TX", "count": 18 }, { "value": "OK", "count": 5 } ], "by_oem_franchise": [ { "value": "Chevrolet", "count": 9 }, { "value": "Ford", "count": 6 } ], "by_job_title": [ { "value": "Sales Manager", "count": 11 } ] } ``` Own nothing yet and every bucket list comes back empty - a 200, not an error. ### GET /v1_2/contacts/owned/ids Ids of what you own, for reconciling against your own store. Billing class: free Parameters: - `name` (query; string; optional): First, last, or full name. - `first` (query; string; optional): Case-insensitive substring on the first name. Available on new and owned contacts. - `last` (query; string; optional): Case-insensitive substring on the last name. Available on new and owned contacts. - `job_title` (query; string; optional): Case-insensitive substring, e.g. Manager matches General Manager and Sales Manager. Comma-separated needles OR together. - `job_title_exact` (query; string; optional): Exact title match, for when substring matching is too broad. Use the by_job_title facet to see what exists. - `dealer_name` (query; string; optional): Case-insensitive substring on the employing rooftop. - `oem_franchise` (query; string; optional): Matches inside the rooftop's pipe-delimited franchise list. Comma-separated needles OR together. - `dealer_city` (query; string; optional): Case-insensitive substring. - `dealer_state` (query; string; optional): Exact state/province code. Comma-separated values OR together, e.g. TX,IL. - `dealer_zip` (query; string; optional): Prefix match, e.g. 787. - `dealer_country` (query; string; optional): US or CA. - `dealer_website_id` (query; string; optional): The rooftop's website id, e.g. examplechevrolet.com. - `dealer_id` (query; string; optional): Exact match on the employing rooftop. Pass dealer_id from a contact row, a dealer row, or a listing straight into contacts search as ?dealer_id= or purchase as filters.dealer_id. - `email_status` (query; string; optional): Verification state of the address, e.g. verified. Filterable without buying - has_email tells you an address exists, this tells you how good it is. - `min_inventory` (query; integer; optional): Inclusive lower bound on the employing rooftop's live inventory count. - `max_inventory` (query; integer; optional): Inclusive upper bound. - `has_email` (query; boolean; optional): true / false. - `has_phone` (query; boolean; optional): true / false. - `has_linkedin` (query; boolean; optional): true / false. - `has_dealer_group` (query; boolean; optional): Whether the employing rooftop rolls up to a parent group. - `is_dealer_group_contact` (query; boolean; optional): true selects people who sit at the GROUP level rather than at one store. - `recently_moved_dealership` (query; boolean; optional): Changed employer since a recent snapshot. Pair with the moved_from_dealer / moved_same_group fields on the row. - `recently_changed_job_title` (query; boolean; optional): Title changed since a recent snapshot. The row carries title_previous and moved_title_direction. - `new_decision_maker` (query; boolean; optional): First seen as a decision maker recently - the row flags it as newly_seen_decision_maker. ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/owned/ids' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "owned", "ids": ["9d2f61a04b8c7e35", "9d2f61a14b8c7e42"], "total": 26, "capped": false } ``` Same shape as the new-segment ids route, with segment: "owned". ### POST /v1_2/contacts/owned/records Free re-fetch by id - up to 500 per call. The endpoint to wire into a nightly refresh of records you already bought. Billing class: free Parameters: - `ids` (body; string[]; required): 1–500 contact_ids. ```bash curl -X POST 'https://luxe.hermesdata.io/v1_2/contacts/owned/records' \ -H 'Authorization: Bearer hd_live_your_key_here' \ -H 'Content-Type: application/json' \ --data '{"ids": ["9d2f61a04b8c7e35", "9d2f61a14b8c7e42"]}' ``` Response example: ```json { "data": [ /* one full contact per id you own */ ], "meta": { "data_version": "full_export_20260828_060000_3d4a61c0", "segment": "owned", "requested": 2, "returned": 1, "not_owned": ["9d2f61a14b8c7e42"] } } // Ids you don't own and ids that don't exist come back in the same not_owned // list - deliberately indistinguishable. Nothing is silently dropped. ``` 400 batch_empty on an empty list, 400 batch_too_large over 500, 400 invalid_body if the body carries a field this endpoint doesn't know. ## Buy Quote first, then purchase. A contact costs 1 credit, once, and is yours permanently. ### POST /v1_2/contacts/purchase/quote What would this selection cost? Free, and it never debits or reserves anything. Billing class: free Parameters: - `ids` (body; string[]; optional): Explicit selection. Wins over filters when both are sent. - `filters` (body; object; optional): Filter selection, evaluated against the NEW segment. Same vocabulary as search. - `item_count` (body; integer; optional): Ceiling on how many net-new records to price. Applies in both modes. ```bash curl -X POST 'https://luxe.hermesdata.io/v1_2/contacts/purchase/quote' \ -H 'Authorization: Bearer hd_live_your_key_here' \ -H 'Content-Type: application/json' \ --data '{"filters": {"dealer_state": "TX", "job_title": "Sales Manager"}, "item_count": 100}' ``` Response example: ```json { "product": "contacts", "data_version": "full_export_20260828_060000_3d4a61c0", "credits_per_item": 1, "net_new": 1, "credits_required": 1, "credit_balance": 475, "balance_after": 474 } // net_new is the count AFTER removing what you already own, so quoting the same // filter twice in a row returns a smaller number the second time if you bought // in between. credits_required is net_new x credits_per_item. ``` 400 missing_selection if you send neither ids nor filters. Send one or the other - an empty body is not a quote for everything. ### POST /v1_2/contacts/purchase Buy contacts. Debits credits for net-new records only and returns the full rows inline. No file is produced. Billing class: credits Parameters: - `idempotency_key` (body; string; required): Required, here or as an Idempotency-Key header. A retry with the same key never charges twice. - `ids` (body; string[]; optional): Explicit selection. Wins over filters when both are sent. - `filters` (body; object; optional): Filter selection out of the NEW segment. Same vocabulary as search. - `item_count` (body; integer; optional): Ceiling on records bought, in either mode. The selection is ordered by id then truncated, so a retry buys the same records. - `page` (body; integer; optional): Paging for the inline delivery only. Default 1. - `page_size` (body; integer; optional): Rows delivered inline, max 500. Default 50. The rest is free from owned/search. ```bash curl -X POST 'https://luxe.hermesdata.io/v1_2/contacts/purchase' \ -H 'Authorization: Bearer hd_live_your_key_here' \ -H 'Content-Type: application/json' \ --data '{ "idempotency_key": "3f7c1a9e-2b64-4c17-9a0d-88c4e5b1f902", "filters": {"dealer_state": "TX", "job_title": "Sales Manager", "has_email": true}, "item_count": 100 }' ``` Response example: ```json { "order_id": "c18520c2-c50d-4112-957b-dfda534e37cf", "product": "contacts", "data_version": "full_export_20260828_060000_3d4a61c0", "credits_used": 1, "charged_items": 1, "replay": false, "owned_count_after": 26, "data": [ /* the full contact rows, same shape as the schema sample */ ], "meta": { "page": 1, "page_size": 50, "total_purchased": 1, "remaining_rows_at": "/v1_2/contacts/owned/search" } } // Buy something you already own and the call is a free no-op rather than an // error: order_id: null, credits_used: 0, data: [], and no remaining_rows_at. // // owned_count_after is your total owned-contact count once this order settled. // The portal sends it back as the x-owned-floor header to repair a stale cache; // on this API you can simply ignore it. ``` 402 insufficient_credits if the wallet can't cover it, 402 spend_frozen on a billing hold, 400 missing_idempotency_key if the key is missing. Ownership is recorded before the response is built, so collect large purchases from owned/search rather than paging them inline. ## Point lookup One record by id, as a bare object - full if you own it, redacted if you don't. ### GET /v1_2/contacts/{contact_id} One person. The landing point for a contact_id you already hold, or the last step of a listing → rooftop → people walk. Billing class: free Parameters: - `contact_id` (path; string; required): A contact_id, as returned on every row - redacted or full. ```bash curl -X GET 'https://luxe.hermesdata.io/v1_2/contacts/9d2f61a04b8c7e35' \ -H 'Authorization: Bearer hd_live_your_key_here' ``` Response example: ```json { "contact_id": "9d2f61a04b8c7e35", "dealer_id": "6a1c48d0e2f7b3915c0d4471", "first": "Dana", "last": "Whitfield", "names_visible": true, "dealer_name": "EXAMPLE CHEVROLET", "job_title": "Sales Manager", "roles": ["Sales Manager"], "multi_role": false, "dealer_state": "TX", "dealer_zip": "76087", "dealer_inventory_count": "706", "oem_franchises": "Chevrolet", "phone": "817***", "has_email": true, "has_phone": true, "has_dealer_group": true, "has_linkedin": true, "is_dealer_group_contact": false, "purchased": false, "recently_moved_dealership": false, "recently_changed_title": false, "moved_same_group": false, "newly_seen_decision_maker": false } // A bare object, no envelope. Own the contact and the same URL returns the full // row with purchased: true. ``` A bare object, no envelope. Read purchased to know which projection you got. 404 contact_not_found for an id we don't hold. ## Qualify a list completely, then buy only the verified ones The redacted row carries the title, the employer, the franchise and whether a verified address exists. Names are readable before purchase. Buying adds the contact details. ```python import requests, uuid BASE = "https://luxe.hermesdata.io/v1_2/contacts" H = {"Authorization": "Bearer hd_live_your_key_here"} # Sales managers at Texas Chevrolet stores who have a verified email on file. FILTERS = { "dealer_state": "TX", "oem_franchise": "Chevrolet", "job_title": "Sales Manager", "has_email": True, "email_status": "verified", } quote = requests.post(f"{BASE}/purchase/quote", headers=H, json={"filters": FILTERS}).json() print(f"{quote['net_new']} new contacts = {quote['credits_required']} credits") order = requests.post(f"{BASE}/purchase", headers=H, json={ "idempotency_key": str(uuid.uuid4()), "filters": FILTERS, "item_count": 100, }).json() for c in order["data"]: print(c["first"], c["last"], c["email"], "-", c["job_title"], "@", c["dealer_name"]) ``` ## Go from a vehicle listing to the people who can sell it to you dealer_id is the same value across all three products. A listing carries it, the Dealers API describes that rooftop, and this filter finds its decision makers - no name matching anywhere in the chain. ```python import requests H = {"Authorization": "Bearer hd_live_your_key_here"} LISTINGS = "https://luxe.hermesdata.io/v1_2/listings" CONTACTS = "https://luxe.hermesdata.io/v1_2/contacts" # A listing you care about -> the rooftop that has it. car = requests.get(f"{LISTINGS}/vehicles/{'{vehicle_id}'}", headers=H).json() dealer_id = car["dealer_id"] # That rooftop's people, free and redacted, newest signals first. people = requests.get(f"{CONTACTS}/search", headers=H, params={ "dealer_id": dealer_id, "has_email": "true", "page_size": 50, }).json() for p in people["data"]: flag = " (new in seat)" if p["recently_moved_dealership"] else "" print(p["job_title"], "-", p["first"], p["last"], flag) ``` ## Catch the people who just changed seats Filter on people who changed employer or title recently. The row carries where they came from - moved_from_dealer, title_previous - and these flags are free to filter and free to read. ```python import requests BASE = "https://luxe.hermesdata.io/v1_2/contacts" H = {"Authorization": "Bearer hd_live_your_key_here"} movers = requests.get(f"{BASE}/search", headers=H, params={ "recently_moved_dealership": "true", "dealer_state": "TX", "page_size": 100, }).json() for p in movers["data"]: same_group = " (same group)" if p["moved_same_group"] else "" print(f"{p['job_title']} at {p['dealer_name']}{same_group}") # Promotions are a separate flag, and the row carries the previous title. promoted = requests.get(f"{BASE}/search", headers=H, params={ "recently_changed_job_title": "true", "page_size": 100, }).json() ``` ## Refresh what you already bought, for free, on a schedule Re-reading a contact you own never costs anything, so a nightly sweep of your owned segment keeps your CRM current for free. ```python import requests BASE = "https://luxe.hermesdata.io/v1_2/contacts" H = {"Authorization": "Bearer hd_live_your_key_here"} # Walk the whole owned segment with a cursor - stable across pages, and free. cursor, seen = None, 0 while True: params = {"page_size": 500} if cursor: params["cursor"] = cursor page = requests.get(f"{BASE}/owned/search", headers=H, params=params).json() for c in page["data"]: seen += 1 # upsert into your CRM on contact_id cursor = page["meta"]["next_cursor"] if not cursor: break print(f"refreshed {seen} owned contacts, 0 credits spent") ``` ## Free API fields ```json [ "contact_id", "first", "last", "names_visible", "dealer_id", "job_title", "roles", "multi_role", "dealer_name", "dealer_state", "dealer_zip", "dealer_inventory_count", "oem_franchises", "has_email", "has_phone", "has_linkedin", "has_dealer_group", "is_dealer_group_contact", "purchased", "recently_moved_dealership", "recently_changed_title", "moved_from_dealer", "moved_same_group", "title_previous", "moved_title_direction", "newly_seen_decision_maker" ] ``` ## Paid API fields ```json [ "email", "phone", "linkedin", "dealer_street", "dealer_city", "dealer_country", "dealer_website_url" ] ``` ## Full API record example ```json { "contact_id": "9d2f61a04b8c7e35", "dealer_id": "6a1c48d0e2f7b3915c0d4471", "first": "Dana", "last": "Whitfield", "email": "dwhitfield@examplechevrolet.com", "phone": "8175550142", "job_title": "Sales Manager", "roles": ["Sales Manager"], "multi_role": false, "linkedin": "https://www.linkedin.com/in/dana-whitfield-example", "dealer_name": "EXAMPLE CHEVROLET", "dealer_street": "3118 FT WORTH HWY", "dealer_city": "WEATHERFORD", "dealer_state": "TX", "dealer_zip": "76087", "dealer_country": "US", "dealer_inventory_count": "706", "oem_franchises": "Chevrolet", "dealer_website_url": "www.examplechevrolet.com", "is_dealer_group_contact": false, "has_dealer_group": true, "purchased": true } // Purchase reveals contact channels: "817***" becomes the full number, // and email and linkedin appear as keys for the first time. // // roles is an array and job_title is the primary one; multi_role: true means the // person wears more than one hat and roles has the rest. Counts are strings here // exactly as they are on a dealer record. ``` ## CSV field reference Portal orders produce UTF-8 comma-separated files with a header row. These are portal CSV columns; API projections are documented separately above. Re-download owned records through My Orders. ### Person - `first` (free): First name. Visible in customer previews before purchase. - `last` (free): Last name. Visible in customer previews before purchase. - `email` (paid): Work email. Verified work email address. - `phone` (paid): Work phone. Direct or dealership line for this person. - `job_title` (free): Job title. Title as listed at the dealership. - `linkedin` (paid): LinkedIn URL. LinkedIn profile URL, where present. ### Dealership - `dealer_name` (free): Dealership. Employer's public-facing dealership name. - `dealer_street` (paid): Street. Dealership street address. - `dealer_city` (paid): City. Dealership city. - `dealer_state` (free): State / province. Two-letter state or province code. - `dealer_zip` (free): ZIP / postal code. Dealership ZIP or postal code. - `dealer_country` (paid): Country. Country — US or CA. - `dealer_inventory_count` (free): Inventory. Live vehicle inventory at the rooftop. - `oem_franchises` (free): OEM franchises. Pipe-delimited brands the rooftop sells. - `dealer_website_url` (paid): Website. Dealership website URL. - `dealer_id` (free): Rooftop ID. Stable Hermes rooftop id; matches Dealers dealer_id. Free, and the last CSV column. ## Contact orders, deduplication and guarantees CSV files import into Salesforce, HubSpot, Apollo, Outreach, Excel or Sheets. Download links stay live for 7 days; regenerate downloads free through My Orders. A contact already purchased is free to order again; a later job change or move to another store counts as a new lead. Orders are capped at 25,000 contacts. For hard-bounced emails or wrong-person rows, submit proof within 30 days; review is within two business days, with 5 credits returned per confirmed bad row. ## Record endpoint response headers ```json [ { "name": "X-Data-Version", "on": "every response", "note": "The export snapshot that served it - the same value as meta.data_version, and what your cursors are pinned to." }, { "name": "Retry-After", "on": "429", "note": "Seconds to wait before retrying. The X-RateLimit-* trio rides along on a 429 too." } ] ``` ## Errors ```json [ { "status": "400", "code": "invalid_cursor", "when": "Cursor malformed, minted in the other segment, or sent alongside page=2 or higher. An empty cursor= is fine - it just means no cursor" }, { "status": "400", "code": "snapshot_expired", "when": "Cursor was minted against an older data version - the nightly rebuild landed mid-walk. Restart the traversal" }, { "status": "400", "code": "invalid_query", "when": "page or page_size can't be parsed as a number. Filters are never rejected this way - see the note on filter parsing under Conventions" }, { "status": "400", "code": "invalid_body", "when": "Malformed JSON, or a field this endpoint doesn't know. Purchase and quote bodies reject unknown fields" }, { "status": "400", "code": "batch_empty", "when": "owned/records called with an empty ids list" }, { "status": "400", "code": "batch_too_large", "when": "More than 500 ids in one owned/records call" }, { "status": "400", "code": "missing_selection", "when": "A quote or purchase with neither ids nor filters" }, { "status": "400", "code": "missing_idempotency_key", "when": "A purchase with no idempotency_key, in the body or as an Idempotency-Key header" }, { "status": "401", "code": "invalid_api_key", "when": "Missing, malformed, unknown, or revoked bearer key" }, { "status": "402", "code": "insufficient_credits", "when": "The wallet can't cover the purchase - top up and retry with the same idempotency key" }, { "status": "402", "code": "spend_frozen", "when": "Spending is barred by an open dispute or a past-due subscription. Buying credits does not clear it" }, { "status": "403", "code": "product_not_entitled", "when": "The key isn't entitled to this product" }, { "status": "404", "code": "contact_not_found", "when": "Unknown id on a point lookup" }, { "status": "429", "code": "rate_limited", "when": "Over the per-key budget of 100 requests/second, shared with the Vehicle Listings API. Carries Retry-After" }, { "status": "503", "code": "auth_unavailable", "when": "The key resolver is unreachable. Fails closed - it never grants access" } ] ```