Emails Detector

Extracts emails from text for validation and compliance.

The Detect Emails API is useful for processing and validating large datasets to identify email addresses or detecting emails in places where they're not supposed to be.

This API is ideal for developers working on data validation tools, form processing applications, or compliance monitoring systems. It automates the extraction of email addresses, ensuring accuracy and consistency. Use cases include cleaning and validating customer databases, monitoring for unauthorized email inclusion, and enhancing contact information management.

AI jobs involve two key steps:

  1. Submitting the AI job: Initiating the process by sending the job request.
  2. Monitoring and receiving results: Continuously checking the job status and obtaining the final output upon successful completion.


SharpAPI SOC 2 Type II

SharpAPI is now SOC 2 Type II compliant. You can check details at our Trust Center Portal.

Your data is your data. Learn how we protect it and comply with global privacy standards in our Data Handling and Compliance policy .

Step 1. Submit the AI Job request

Endpoints: POST - /api/v1/content/detect_emails

Attribute Type Mandatory Description
content String Yes Provide the content from where email addresses need to be detected.

REQUEST EXAMPLE:

{
  "content": "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Contact us at example@email.com or lorem.ipsum@email.com for more information."
}

RESPONSE EXAMPLE:

{
  "status_url": "https://sharpapi.com/api/v1/content/translate/job/status/5de4887a-0dfd-49b6-8edb-9280e468c210",
  "job_id": "5de4887a-0dfd-49b6-8edb-9280e468c210"
}

Step 2. Monitor & Fetch AI Job Results

Endpoints: GET - /api/v1/content/detect_emails/job/status/:uuid

An endpoint is used to check on the progress of the requested API job.

RESULT EXAMPLE:

{
  "data": {
    "type": "api_job_result",
    "id": "06f4a1ba-b6b1-48b3-b071-807e3d41db4d",
    "attributes": {
      "status": "success",
      "type": "content_detect_emails",
      "result": [
        "example@email.com",
        "lorem.ipsum@email.com"
      ]
    }
  }
}