{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-v2/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Search and Enrich Contacts"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"search-and-enrich-contacts","__idx":0},"children":["Search and Enrich Contacts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Find decision makers and influencers at companies you care about, then enrich them with email and phone to reach out."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-it-works","__idx":1},"children":["How It Works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contacts follow a two-step workflow, similar to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v2/guides/find-companies"},"children":["Search or Match Companies"]},":"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Search"]}," — Find contacts by company, job function, seniority, location, or time in role. Returns contact IDs and firmographic/role details, but no email or phone."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enrich"]}," — Pass contact IDs from search to get email and phone."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Search doesn't consume credits. Enrich does, based on the fields you request."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"search-contacts","__idx":2},"children":["Search Contacts"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/contacts/search\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request","__idx":3},"children":["Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"filters\": {\n    \"companies\": {\n      \"ids\": [\"1698C53EBC888758570396E0334965C1\"]\n    },\n    \"contact_location\": {\n      \"countries\": [\"US\"]\n    },\n    \"job_functions\": [\"Engineering\"],\n    \"job_seniority\": [\"Director\"],\n    \"time_in_current_role\": [\"company_veteran\"]\n  },\n  \"limit\": 10,\n  \"offset\": 0\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Filter criteria (see below)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Max contacts to return (1-20, default 10)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contacts to skip for pagination (max 99, default 0)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"filters","__idx":4},"children":["Filters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All filters are inclusion-only and combine with AND logic."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Filter"},"children":["Filter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies.ids"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HG company IDs. Either ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["domains"]},", not both."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companies.domains"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Company domains. Either ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["domains"]},", not both."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["contact_location.countries"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 3166-1 alpha-2 country codes"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["job_functions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Job function names, e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Engineering"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Operations"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["job_seniority"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Job seniority names, e.g. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Director"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Founder"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time_in_current_role"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["One or more of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["new_change_maker"]}," (< 6 months), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rising_contributor"]}," (6mo-1yr), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["established_performer"]}," (1-2yr), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["stable_operator"]}," (3-5yr), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["company_veteran"]}," (5+ years)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response","__idx":5},"children":["Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"contacts\": [\n    {\n      \"id\": \"7a932d2ae5dab0ca88348198c9129c9167ff34f92c4abd47f291f5d1c35d237a\",\n      \"full_name\": \"John Doe\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"job_title\": \"Co-Founder\",\n      \"job_functions\": [\"Operations\"],\n      \"job_seniority\": \"Founder\",\n      \"company_id\": \"1488903ED478F8C51D09F2EC5F2DCDA2\",\n      \"company_name\": \"Acme\",\n      \"company_domain\": \"acme.com\",\n      \"contact_location_city\": \"Vancouver\",\n      \"contact_location_region\": \"British Columbia\",\n      \"contact_location_country\": \"Canada\",\n      \"linkedin_url\": \"https://www.linkedin.com/in/john-dow\"\n    }\n  ],\n  \"count\": 1\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["count"]}," is the total number of matching contacts before pagination. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," from each result to enrich the contact in the next step."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"enrich-contacts","__idx":6},"children":["Enrich Contacts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get email and phone for contacts by ID. Accepts up to 20 IDs per request."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/contacts/enrich\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"request-1","__idx":7},"children":["Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"ids\": [\n    \"820b11e9bff6183dbefdf3d29c16202f85fe366f7569d0ca0ddfc7e10d372451\",\n    \"5f09a1f4b151848e12aa9fbfa1884ea0e5b6a35a6bb280ca88049529c6ecfbd4\"\n  ],\n  \"fields\": [\"email\", \"phone\"]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ids"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contact IDs to enrich (max 20)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fields"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["email"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["phone"]},", or both"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"response-1","__idx":8},"children":["Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"contacts\": [\n    {\n      \"id\": \"820b11e9bff6183dbefdf3d29c16202f85fe366f7569d0ca0ddfc7e10d372451\",\n      \"full_name\": \"Jane Doe\",\n      \"first_name\": \"Jane\",\n      \"last_name\": \"Doe\",\n      \"email\": \"jane.doe@example.com\",\n      \"email_status\": \"Unverified\",\n      \"phone\": \"+15550000000\",\n      \"company_id\": \"02F00022696877390B077DE05D7918CA\",\n      \"company_name\": \"AppNexus\",\n      \"linkedin_url\": \"https://www.linkedin.com/in/jane-doe-820b11e9\",\n      \"status\": \"enriched\"\n    },\n    {\n      \"id\": \"5f09a1f4b151848e12aa9fbfa1884ea0e5b6a35a6bb280ca88049529c6ecfbd4\",\n      \"company_id\": \"02F00022696877390B077DE05D7918CA\",\n      \"company_name\": \"AppNexus\",\n      \"status\": \"not_found\"\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each result includes a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status"]},":"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Status"},"children":["Status"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Meaning"},"children":["Meaning"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["enriched"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contact found — email/phone included for the fields you requested"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["not_found"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contact ID doesn't exist"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["missing_pii"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contact exists but the requested PII isn't available"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only enriched contacts are charged credits — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["not_found"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["missing_pii"]}," results are free."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"preview-credit-cost","__idx":9},"children":["Preview Credit Cost"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before enriching, preview the cost with the same request body:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"POST /data-api/v2/contacts/enrich/estimate\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No credits are consumed and no data is returned — just the estimated cost. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/v2/guides/credits-and-usage#estimating-cost-before-you-call"},"children":["Credits and Usage"]}," for the general estimate response shape."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"common-workflow","__idx":10},"children":["Common Workflow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Find engineering directors at a target account, then get their contact info:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"// 1. Search for engineering directors at a company\n{\n  \"filters\": {\n    \"companies\": {\"ids\": [\"1698C53EBC888758570396E0334965C1\"]},\n    \"job_functions\": [\"Engineering\"],\n    \"job_seniority\": [\"Director\"]\n  },\n  \"limit\": 20\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"// 2. Enrich the returned contact IDs with email and phone\n{\n  \"ids\": [\"7a932d2ae5dab0ca88348198c9129c9167ff34f92c4abd47f291f5d1c35d237a\"],\n  \"fields\": [\"email\", \"phone\"]\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"Search and Enrich Contacts","id":"search-and-enrich-contacts","depth":1},{"value":"How It Works","id":"how-it-works","depth":2},{"value":"Search Contacts","id":"search-contacts","depth":2},{"value":"Request","id":"request","depth":3},{"value":"Filters","id":"filters","depth":3},{"value":"Response","id":"response","depth":3},{"value":"Enrich Contacts","id":"enrich-contacts","depth":2},{"value":"Request","id":"request-1","depth":3},{"value":"Response","id":"response-1","depth":3},{"value":"Preview Credit Cost","id":"preview-credit-cost","depth":2},{"value":"Common Workflow","id":"common-workflow","depth":2}],"frontmatter":{"seo":{"title":"Search and Enrich Contacts"}},"lastModified":"2026-09-24T20:33:24.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/v2/guides/contacts","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}