SigParser Email API

The Email API from SigParser — 1 operation(s) for email.

GitHub OpenAPI

Operations 2

POST /api/Email Parse an email for contacts from the signatures or remove signatures from an… #
GET /api/Email A testing method to validate connectivity to the API. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sigparser-com:sigparser-com-email-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sigparser-com-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SigParser Stateless Parsing Email API
  description: 'How to use? You can either invoke the APIs directly from your preferred language. Or you can use one of the connectors like Zapier or Integromat which makes integration much easier.


    Authentication: Add a header for ''x-api-key'' to each request for parsing emails with the value of your SigParser key. You can create a free key for a few uses each day at https://sigparser.com.


    You can test your API key and calls with this page. Click the ''Authorize'' button on the right to set your key for requests. Then click on one of the requests you want to make and set the JSON if required.


    If you have any questions email support@sigparser.com.'
  version: v1
security:
- api_key: []
tags:
- name: Email
paths:
  /api/Email:
    post:
      tags:
      - Email
      summary: Parse an email for contacts from the signatures or remove signatures from an…
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/EmailParsingAPI.EmailInputModel'
          application/json:
            schema:
              $ref: '#/components/schemas/EmailParsingAPI.EmailInputModel'
          text/json:
            schema:
              $ref: '#/components/schemas/EmailParsingAPI.EmailInputModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/EmailParsingAPI.EmailInputModel'
      responses:
        '200':
          description: Returns JSON for the contact data.
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/EmailParsingAPI.Models.Email.FullAPIOutputModel_LegacyCase'
            application/json:
              schema:
                $ref: '#/components/schemas/EmailParsingAPI.Models.Email.FullAPIOutputModel_LegacyCase'
            text/json:
              schema:
                $ref: '#/components/schemas/EmailParsingAPI.Models.Email.FullAPIOutputModel_LegacyCase'
        '403':
          description: Some sort of API key error.
        '500':
          description: There was an error while processing this email. Most likely you didn't provide a value we needed. This isn't an API Key error.
      operationId: postApiEmail
      x-operation-id-source: derived
    get:
      tags:
      - Email
      summary: A testing method to validate connectivity to the API.
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/EmailParsingAPI.Controllers.EmailController_GetResponseModel'
            application/json:
              schema:
                $ref: '#/components/schemas/EmailParsingAPI.Controllers.EmailController_GetResponseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/EmailParsingAPI.Controllers.EmailController_GetResponseModel'
      operationId: getApiEmail
      x-operation-id-source: derived
components:
  schemas:
    EmailParsingAPI.EmailInputModel:
      required:
      - from_address
      type: object
      properties:
        subject:
          type:
          - string
          - 'null'
          description: Email subject. Not required but should be provided in order to have the "subject" field populated in the response for the "emails" collection.
        from_address:
          type: string
          description: The sender of the email. Required for us to match the contact data we find in the root email's signature with an email address.
        from_name:
          type:
          - string
          - 'null'
          description: The sender of the email. Important to provide as it helps to identify where the signature starts although sometimes we can find the signature without it.
        htmlbody:
          type:
          - string
          - 'null'
          description: Either provide this or the PlainBody or both. This will be used for the email content over the plain body as the HTML is how we can get LinkedIn URLs and Twitter URLs for example.
        plainbody:
          type:
          - string
          - 'null'
          description: If there isn't an HTML body we'll fallback to this value. If all you can provide is a text body then we can still find phone numbers, titles and addresses but features like LinkedIn URLs and Twitter URLs embedded in HTML won't be discoverable.
        date:
          type:
          - string
          - 'null'
          description: 'A Date string. For example: 2017-01-01T00:00:00 OR Mon, 28 May 2018 23:33:40 +0000 (UTC)

            If either of the two above formats don''t match what you''re providing, we fallback to using the standard .NET parsing to parse this date so you can test that your date works with DotNetFiddle. https://dotnetfiddle.net/sJyTJW'
        to:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EmailParsingAPI.EmailRecipient'
        cc:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EmailParsingAPI.EmailRecipient'
        options:
          $ref: '#/components/schemas/EmailParsingAPI.OutputOptions'
      additionalProperties: false
      description: Input model for an email to parse content from.
    EmailParsingAPI.EmailRecipient:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
          description: The displayname for the recipient. Should come from the email headers with each email address.
        emailAddress:
          type:
          - string
          - 'null'
          description: Email address of the recipient
      additionalProperties: false
    EmailParsingAPI.Models.Email.FullAPIOutputModel_LegacyCase:
      type: object
      properties:
        error:
          type:
          - string
          - 'null'
        isSpammyLookingEmailMessage:
          type: boolean
          description: Does this message looks like it was likely some sort of automated email. For example, does it have an "unsubscribe" link in it?
        isSpammyLookingSender:
          type: boolean
          description: Does the "From" email address look like it is a non-human type sender.
        isSpam:
          type: boolean
          description: Are either IsSpammyLookingSender or IsSpammyLookingEmailMessage true.
        contacts:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EmailParsingAPI.Models.Email.ContactModel'
          description: All the contacts we found in the email and any data we found with them. Most of the time these will be from reply chains where we find a signature for someone deep in a reply chain.
        from_LastName:
          type:
          - string
          - 'null'
          description: Last name of the sender.
        from_FirstName:
          type:
          - string
          - 'null'
          description: First name of the sender.
        from_Fax:
          type:
          - string
          - 'null'
        from_Phone:
          type:
          - string
          - 'null'
        from_Address:
          type:
          - string
          - 'null'
          description: Whatever address SigParser found for the contact.
        from_AddressParts:
          $ref: '#/components/schemas/EmailParsingAPI.Models.Email.AddressParts'
        from_Title:
          type:
          - string
          - 'null'
        from_MobilePhone:
          type:
          - string
          - 'null'
        from_OfficePhone:
          type:
          - string
          - 'null'
        from_LinkedInUrl:
          type:
          - string
          - 'null'
        from_TwitterUrl:
          type:
          - string
          - 'null'
        from_TwitterHandle:
          type:
          - string
          - 'null'
        from_EmailAddress:
          type:
          - string
          - 'null'
        from_EmailAddressDomain:
          type:
          - string
          - 'null'
          description: 'The domain part of the email address. For example, for the email address "john@example.com" then this would be

            set to "example.com".'
        from_EmailAddressDomainWithoutTLD:
          type:
          - string
          - 'null'
          description: 'The email address domain without the TLD. Sometimes this is okay to use as the name of an organization or account in a CRM.

            If the emailAddress is "john@example.co.uk" then this will be "example".

            If the emailAddress is "john@mail.example.com" then this will be "mail.example".'
        from_LinkedInHandle:
          type:
          - string
          - 'null'
        from_CompanyName:
          type:
          - string
          - 'null'
          description: 'Company name found in either the signature or looked up from a database of companies based on the domain name.

            Most of the time we get this from the signature.'
        from_Website:
          type:
          - string
          - 'null'
          description: 'The website from the email signature''s text. This does not include the URLs in the HTML links because those are often link tracked and so they don''t point to the correct domain.

            The values in this field often formatted with captialization but there is no formatting guarantee.

            For example, you could get "https://www.example.com" or "Example.com" or "WWW.EXAMPLE.COM" are all possible.'
        emails:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EmailParsingAPI.Models.Email.SubEmail'
        duration:
          type: number
          description: Duration of email processing in milliseconds.
          format: double
        cleanedemailbody:
          type:
          - string
          - 'null'
          description: 'The body text of the root email without the email signature or any of the email chains that might have been in the original email body.

            Useful for cleaning up an email for display in application UIs.'
        cleanedemailbody_ishtml:
          type: boolean
          description: Is the cleanedemailbody HTML or Text only.
        cleanedemailbody_plain:
          type:
          - string
          - 'null'
          description: The email body as plain text. Will always be populated. If the original HTML was email then this is that email converted to plain text with all HTML removed.
        emailTypes:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 'We can add new types of emails at any time. So be prepared to handle that.

            NormalEmail - A normal email.

            MeetingNotification - A meeting invite type email. Generally auto generatee by Google. We don''t parse these.

            BouncedNotification - Response from an email server indicating the email was bounced.

            ZenDeskSupportChain - Discovered a ZenDesk support email chain. SigParser can''t parse these because their headers aren''t well formed.'
      additionalProperties: false
      description: This exists in order to keep the legacy casing behavior working and get the Swagger documentation casing to be right.
    EmailParsingAPI.Controllers.EmailController_GetResponseModel:
      type: object
      properties:
        apiKeyPrefix:
          type:
          - string
          - 'null'
          description: The prefix for the API key. Just a nice util method for apps like Zapier to confirm connectivity and get an ID of some sort back.
      additionalProperties: false
    EmailParsingAPI.Models.Email.ContactModel:
      type: object
      properties:
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        emailAddress:
          type:
          - string
          - 'null'
          description: The email address for the contact.
        emailAddressDomain:
          type:
          - string
          - 'null'
          description: The domain part of the email address for a contact.
        emailAddressDomainWithoutTLD:
          type:
          - string
          - 'null'
          description: 'The email address domain without the TLD. Sometimes this is okay to use as the name of an organization or account in a CRM.

            If the emailAddress is "john@example.co.uk" then this will be "example".

            If the emailAddress is "john@mail.example.com" then this will be "mail.example".'
        phoneNumber:
          type:
          - string
          - 'null'
        mobilePhone:
          type:
          - string
          - 'null'
        voipPhone:
          type:
          - string
          - 'null'
          description: Any Voice over IP or Whatsapp type number is placed here.
        officePhone:
          type:
          - string
          - 'null'
        fax:
          type:
          - string
          - 'null'
        address:
          type:
          - string
          - 'null'
        addressParts:
          $ref: '#/components/schemas/EmailParsingAPI.Models.Email.AddressParts'
        title:
          type:
          - string
          - 'null'
        twitterUrl:
          type:
          - string
          - 'null'
        twitterHandle:
          type:
          - string
          - 'null'
        linkedInUrl:
          type:
          - string
          - 'null'
        linkedInHandle:
          type:
          - string
          - 'null'
        companyName:
          type:
          - string
          - 'null'
          description: 'Company name found in either the signature or looked up from a database of companies based on the domain name.

            Most of the time we get this from the signature.'
        website:
          type:
          - string
          - 'null'
          description: 'The website from the email signature''s text. This does not include the URLs in the HTML links because those are often link tracked and so they don''t point to the correct domain.

            The values in this field often formatted with captialization but there is no formatting guarantee.

            For example, you could get "https://www.example.com" or "Example.com" or "WWW.EXAMPLE.COM" are all possible.'
        nameSource:
          type:
          - string
          - 'null'
          description: "How did SigParser determine the name for this contact?  \nRootHeader - Came from the header of the email. This is as good as it gets generally.\nInlineHeader - From: John Smith (jsmith@example.com)\nSignature - We extracted it from the signature in the body of the email. This is a bit iffy.\nEmailAddressDerived - Only when the name was derived by splitting the email address from \"john.smith@example.com\" for example to get John Smith\nEmailAddress - The name is literally just the left section of the email address before the @ symbol."
        nameQuality:
          type: integer
          description: "A numeric representation of the NameSource property. The lower the value, the better the name in our opinion.\nIf you're trying to build a contact database with SigParser's results, if in one email you get a name with a quality \nof 10 but then later you get a quality of 0, you should use that name. But if it was the opposite, you shouldn't overwrite\na 0 quality name with a 10 quality name."
          format: int32
        isSpammy:
          type: boolean
          description: Is the email address spammy looking like no-reply@example.com or info@example.com or orders@example.com
      additionalProperties: false
    EmailParsingAPI.Models.Email.AddressParts:
      type: object
      properties:
        street:
          type:
          - string
          - 'null'
          description: Best guess at the street part of the address
        city:
          type:
          - string
          - 'null'
          description: Best guess at the city part of the address
        state:
          type:
          - string
          - 'null'
          description: Best guess at the state/region part of the address
        postalCode:
          type:
          - string
          - 'null'
          description: Best guess at the potal code part of the address.
        country:
          type:
          - string
          - 'null'
          description: Best guess at the country part of the address.
      additionalProperties: false
    EmailParsingAPI.Models.Email.Recipient:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
          description: Display name of the person. If not on the root email, then this was parsed from the inline email headers.
        emailAddress:
          type:
          - string
          - 'null'
          description: Email address of the person. If not on the root email, then this was parsed from the inline email headers.
      additionalProperties: false
    EmailParsingAPI.OutputOptions:
      type: object
      properties:
        outputCleanedEmailHtmlDepth:
          type: integer
          description: "Performance setting (default 1): Control to what depth the fields cleanedemailbody, emails.cleanedBodyHTML are generated with HTML.\n            \nGenerating these fields can be expensive so this is meant to help improve performance for some customers that don't need these fields.\n            \n0 would mean no HTML output. 1 would mean only the root email gets a cleaned version. 2 means the root email and the next previous email in the chain.\n            \nThe plain text versions will still be set.\n            \nIf you don't ever need the data in these fields then set to 0 to get a slightly faster average response."
          format: int32
      additionalProperties: false
    EmailParsingAPI.Models.Email.SubEmail:
      type: object
      properties:
        from_EmailAddress:
          type:
          - string
          - 'null'
          description: Email address of the sender of this email section.
        from_Name:
          type:
          - string
          - 'null'
          description: Name of the sender.
        textBody:
          type:
          - string
          - 'null'
          description: The email lines of this email without headers. Will always be populated. If the original email was HTML then this will have that HTML converted to plain text.
        htmlLines:
          type:
          - array
          - 'null'
          items:
            type: string
          description: The lines of the email as HTML. You won't find all the HTML of the email here but just the HTML for the line. This helps find images and text. If you want our best approximation of the orignal email HTML, use the htmlBody field.
        date:
          type:
          - string
          - 'null'
          description: The first email's date is whatever was passed into the API. All the other emails are parsed from the email headers but aren't always parsed correctly due to the many variations in formatting clients use.
          format: date-time
        didParseCorrectly:
          type: boolean
          description: "Does SigParser think this email was parsed correctly? Sometimes the email headers get messed up and so if SigParser detects something weird \nwith what it found this will be set to false."
        to:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EmailParsingAPI.Models.Email.Recipient'
        cc:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/EmailParsingAPI.Models.Email.Recipient'
        htmlBody:
          type:
          - string
          - 'null'
          description: 'SigParser''s attempt at producing an HTML email body for just this email or reply chain email. Only produced if the original email was HTML.

            Will not include the reply headers like "From" and "To" or "Email sent from...". Email signature is not stripped out. Cannot handle emails with

            namespaces in the HTML which is rare but can happen. In cases where the email can''t be parsed, the original full HTML will be included in the first section.'
        spammyLookingEmail:
          type: boolean
        subject:
          type:
          - string
          - 'null'
          description: 'The subject of the email or nested email. This isn''t always available for every nested email.

            For example, Gmail will format replies like "On 1/1/2019 John Smith wrote:" so there isn''t a subject. But when Gmail forwards an email or

            Outlook replies it will have a Subject injected so you can see at each level of the reply chain what it was. Will be null if no subject is available.'
        cleanedBodyHtml:
          type:
          - string
          - 'null'
          description: HTML section of the email with the signature lines removed. The Head tag may still be present so you can format the email properly.
        cleanedBodyPlain:
          type:
          - string
          - 'null'
          description: Plain text section of the email with the signature lines removed. Links are removed. If you need links, you should convert the HTML version to text and figure out how to preserve the links or HTML as needed.
        emailTypes:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 'We can add new types of emails at any time. So be prepared to handle that.

            NormalEmail - A normal email.

            MeetingNotification - A meeting invite type email. Generally auto generatee by Google. We don''t parse these.

            BouncedNotification - Response from an email server indicating the email was bounced.

            ZenDeskSupportChain - Discovered a ZenDesk support email chain. SigParser can''t parse these because their headers aren''t well formed.'
      additionalProperties: false
  securitySchemes:
    api_key:
      type: apiKey
      description: Get this key by creating an account at <a href="https://www.sigparser.com/dashboard" target="_blank">www.sigparser.com/dashboard</a>.
      name: x-api-key
      in: header