{"id":20677018,"url":"https://github.com/ekohe/zoominfo-js-client","last_synced_at":"2026-04-27T05:32:59.161Z","repository":{"id":235739633,"uuid":"791131152","full_name":"ekohe/zoominfo-js-client","owner":"ekohe","description":"The ZoomInfo Client Library provides a streamlined way to interact with the ZoomInfo API for searching and enriching company and contact information. ","archived":false,"fork":false,"pushed_at":"2025-03-27T15:35:10.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-19T13:46:51.488Z","etag":null,"topics":["js","js-library","typescript","zoominfo","zoominfo-client"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ekohe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-24T06:40:58.000Z","updated_at":"2025-12-01T20:52:14.000Z","dependencies_parsed_at":"2024-04-24T13:26:14.746Z","dependency_job_id":"d326652e-29a4-433f-a3d5-9b3071477662","html_url":"https://github.com/ekohe/zoominfo-js-client","commit_stats":null,"previous_names":["ekohe/react-zoominfo"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ekohe/zoominfo-js-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fzoominfo-js-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fzoominfo-js-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fzoominfo-js-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fzoominfo-js-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekohe","download_url":"https://codeload.github.com/ekohe/zoominfo-js-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekohe%2Fzoominfo-js-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32324545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["js","js-library","typescript","zoominfo","zoominfo-client"],"created_at":"2024-11-16T21:14:16.401Z","updated_at":"2026-04-27T05:32:59.138Z","avatar_url":"https://github.com/ekohe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZoomInfo Client - JS Library\n\nThe ZoomInfo Client Library is a TypeScript/JavaScript library for interacting with the ZoomInfo API. This library facilitates operations for searching companies and contacts, as well as enriching contact information.\n\n## Features\n\n- **Company Search**: Search for companies using various parameters.\n- **Contact Search**: Search for contacts based on specific criteria.\n- **Contact Enrichment**: Enrich contact information with additional details.\n\n## Installation\n\nTo add the ZoomInfo Client Library to your project, run:\n\n```bash\nyarn add https://github.com/ekohe/zoominfo-js-client\n```\n\nor using npm:\n\n```bash\nnpm install https://github.com/ekohe/zoominfo-js-client\n```\n\n## Usage\n\n### Initialization\n\nImport and initialize the client:\n\n```typescript\nimport ZoomInfoClient from \"zoominfo-js-client\";\n\nconst client = ZoomInfoClient({\n  handleBaseURL: (baseURL) =\u003e `${baseURL}`, // Optional: customize the base URL\n});\n```\n\nBy default, the client uses `https://api.zoominfo.com` as the base URL. You can customize this using the `handleBaseURL` function.\n\n### Methods\n\n#### `companySearch(params, token)`\n\nSearch for companies based on provided parameters.\n\n- **Parameters:**\n  - `params` (CompanySearchParams): Search criteria for companies.\n  - `token` (string): The API token.\n- **Returns:** Promise with search results.\n\n```typescript\nconst searchParams = {\n  companyName: \"Example Corp\",\n  rpp: 10, // results per page\n  page: 1,\n};\n\nclient\n  .companySearch(searchParams, token)\n  .then((response) =\u003e console.log(response))\n  .catch((error) =\u003e console.error(error));\n```\n\n#### `contactSearch(params, token)`\n\nSearch for contacts based on provided parameters.\n\n- **Parameters:**\n  - `params` (ContactSearchParams): Search criteria for contacts.\n  - `token` (string): The API token.\n- **Returns:** Promise with search results.\n\n```typescript\nconst searchParams = {\n  companyName: \"Example Corp\",\n  jobTitle: \"Software Engineer\",\n  rpp: 10,\n  page: 1,\n};\n\nclient\n  .contactSearch(searchParams, token)\n  .then((response) =\u003e console.log(response))\n  .catch((error) =\u003e console.error(error));\n```\n\n#### `contactEnrich(params, token)`\n\nEnrich contact information with additional details.\n\n- **Parameters:**\n  - `params` (ContactEnrichParams): Data to enrich a contact.\n  - `token` (string): The API token.\n- **Returns:** Promise with enriched contact data.\n\n```typescript\nconst enrichParams = {\n  matchPersonInput: [\n    {\n      emailAddress: \"example@company.com\",\n    },\n  ],\n  outputFields: [\"id\", \"firstName\", \"lastName\", \"email\"],\n};\n\nclient\n  .contactEnrich(enrichParams, token)\n  .then((response) =\u003e console.log(response))\n  .catch((error) =\u003e console.error(error));\n```\n\n## Available Parameters\n\n### Company Search Parameters\n\n```typescript\ninterface CompanySearchParams {\n  rpp?: number; // Results per page\n  page?: number; // Page number\n  sortOrder?: \"asc\" | \"desc\"; // Sort order\n  sortBy?: \"name\" | \"employeeCount\" | \"revenue\"; // Sort field\n  companyId?: string; // ZoomInfo company ID\n  companyName?: string; // Company name\n  companyWebsite?: string; // Company website\n  companyDescription?: string; // Company description\n  parentId?: string; // Parent company ID\n  ultimateParentId?: string; // Ultimate parent company ID\n}\n```\n\n### Contact Search Parameters\n\n```typescript\ninterface ContactSearchParams {\n  rpp?: number; // Results per page\n  page?: number; // Page number\n  sortOrder?: \"asc\" | \"desc\"; // Sort order\n  sortBy?:\n    | \"contactAccuracyScore\"\n    | \"lastName\"\n    | \"companyName\"\n    | \"hierarchy\"\n    | \"sourceCount\"\n    | \"lastMentioned\"\n    | \"relevance\"; // Sort field\n  personId?: string; // ZoomInfo person ID (can be comma-separated)\n  emailAddress?: string; // Email address\n  supplementalEmail?: string[]; // Supplemental emails\n  hashedEmail?: string; // Hashed email\n  phone?: string[]; // Phone numbers\n  companyId?: string; // ZoomInfo company ID\n  companyName?: string; // Company name\n  managementLevel?: string; // Management level\n  fullName?: string; // Full name\n  jobTitle?: string; // Job title\n}\n```\n\n### Contact Enrich Parameters\n\n```typescript\ninterface ContactEnrichParams {\n  matchPersonInput: Array\u003c{\n    // Array of contact inputs to match\n    personId?: number | string; // ZoomInfo person ID\n    fullName?: string; // Full name\n    firstName?: string; // First name\n    lastName?: string; // Last name\n    emailAddress?: string; // Email address\n    phone?: string; // Phone number\n    jobTitle?: string; // Job title\n    hashedEmail?: string; // Hashed email\n    externalURL?: string; // External URL\n    lastUpdatedDateAfter?: string; // Last updated date (after)\n    validDateAfter?: string; // Valid date (after)\n    companyId?: number | string; // ZoomInfo company ID\n    companyName?: string; // Company name\n    contactAccuracyScoreMin?: number; // Minimum contact accuracy score\n  }\u003e;\n  outputFields: string[]; // Fields to include in the response\n}\n```\n\n## Documentation\n\nFor detailed information on request and response formats, refer to the [types](./src/types.ts) file and the [ZoomInfo API documentation](https://api-docs.zoominfo.com/).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekohe%2Fzoominfo-js-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekohe%2Fzoominfo-js-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekohe%2Fzoominfo-js-client/lists"}