bulk_enrich_organizations
Enrich multiple company profiles simultaneously using domain names to obtain comprehensive organization data for sales and marketing activities.
Instructions
Bulk enrich multiple organizations at once.
This tool enriches multiple companies simultaneously based on their domains. Up to 10 domains can be processed in a single request.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | Yes |
Implementation Reference
- src/apollo_mcp_server.py:257-278 (handler)The primary handler function for the 'bulk_enrich_organizations' MCP tool. It is decorated with @mcp.tool() for automatic registration with FastMCP. The function performs bulk organization enrichment by sending a POST request to Apollo.io's bulk_enrich endpoint with a list of up to 10 domains, handling validation and errors.@mcp.tool() async def bulk_enrich_organizations(domains: List[str]) -> Dict[str, Any]: """ Bulk enrich multiple organizations at once. This tool enriches multiple companies simultaneously based on their domains. Up to 10 domains can be processed in a single request. """ if len(domains) > 10: return {"error": "Maximum 10 domains allowed per bulk enrichment request"} endpoint = "/api/v1/organizations/bulk_enrich" data = {"domains": domains} try: result = await apollo_client.make_request("POST", endpoint, data=data) return result except httpx.HTTPStatusError as e: return {"error": f"API request failed: {e.response.status_code} {e.response.text}"} except Exception as e: return {"error": f"Request failed: {str(e)}"}