### cURL Request to Search Email Leads by Domain Source: https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEdgUOiXFyXEYkYBNUsaRMs-ylTBBhVaaOJ2TrYkqGsZK6kG37dbMmlqqcwSVI-KfatM2agGK46uliBi29JZpKPptLVizU5PAnQDnYxrGgShhIL9KdPa4NNyltaje97MLt01YnoxwpF_edgp1KtXC1uMC5hqG33aw== Use this cURL command to send a GET request to the SmartLead API to retrieve email leads for a given domain. Ensure you replace YOUR_API_KEY with your actual API key. ```bash curl -X GET "https://prospect-api.smartlead.ai/api/v1/search-email-leads/domain?api_key=YOUR_API_KEY" ``` -------------------------------- ### Search Email Leads by Domain Source: https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEdgUOiXFyXEYkYBNUsaRMs-ylTBBhVaaOJ2TrYkqGsZK6kG37dbMmlqqcwSVI-KfatM2agGK46uliBi29JZpKPptLVizU5PAnQDnYxrGgShhIL9KdPa4NNyltaje97MLt01YnoxwpF_edgp1KtXC1uMC5hqG33aw== Retrieves a list of email leads associated with a given domain. Authentication is required using an API key. ```APIDOC ## GET /api/v1/search-email-leads/domain ### Description Retrieves a list of email leads based on domain name. ### Method GET ### Endpoint https://prospect-api.smartlead.ai/api/v1/search-email-leads/domain ### Parameters #### Query Parameters - **api_key** (string) - Required - Your SmartLead API key for authentication - **limit** (string) - Optional - Number of domains to return. Default: 100. - **offset** (string) - Optional - Number of domains to skip for pagination. Default: 0. - **search** (string) - Optional - Search string to filter domains by name. ### Response #### Success Response (200) - **success** (boolean) - Indicates if the request was successful. - **message** (string) - A message describing the outcome of the request. - **data** (array) - An array of objects, where each object contains a 'domain_name' field. - **domain_name** (string) - The name of the domain. #### Response Example ```json { "success": true, "message": "Data retrieved successfully", "data": [ { "domain_name": "acme.com" }, { "domain_name": "techinc.com" } ] } ``` ### Response Codes - **200** - Success: Request successful - **401** - Unauthorized: Unauthorized - **500** - Internal Server Error: Internal Server Error ``` -------------------------------- ### Successful API Response for Domain Search Source: https://vertexaisearch.cloud.google.com/grounding-api-redirect/AUZIYQEdgUOiXFyXEYkYBNUsaRMs-ylTBBhVaaOJ2TrYkqGsZK6kG37dbMmlqqcwSVI-KfatM2agGK46uliBi29JZpKPptLVizU5PAnQDnYxrGgShhIL9KdPa4NNyltaje97MLt01YnoxwpF_edgp1KtXC1uMC5hqG33aw== This JSON structure represents a successful response from the API when searching for email leads by domain. It includes a success flag, a message, and an array of data containing domain names. ```json { "success": true, "message": "Data retrieved successfully", "data": [ { "domain_name": "acme.com" }, { "domain_name": "techinc.com" } ] } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.