> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /linkedin/email/sql/user

> Get fresh LinkedIn user data by email address (DB lookup)

**Price:** 1 credit

**⚠️ Common errors:** 412: No LinkedIn profile found for the given email address.



## OpenAPI

````yaml /openapi/professional-network.json post /api/linkedin/email/sql/user
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/linkedin/email/sql/user:
    post:
      tags:
        - LinkedIn Email Finder
      summary: /linkedin/email/sql/user
      description: >-
        Get fresh LinkedIn user data by email address (DB lookup)


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No LinkedIn profile found for the given email
        address.
      operationId: __api_linkedin_email_sql_user_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  anyOf:
                    - $ref: '#/components/schemas/LinkedinUser'
                    - $ref: '#/components/schemas/UserEmail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EmailPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        email:
          type: string
      type: object
      required:
        - email
    LinkedinUser:
      properties:
        '@type':
          type: string
          default: LinkedinUser
        internal_id:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
        name:
          type: string
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          type: string
        url:
          type: string
        headline:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        background_image:
          anyOf:
            - type: string
            - type: 'null'
        connection_count:
          anyOf:
            - type: integer
            - type: 'null'
        top_skills:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
        frame:
          anyOf:
            - $ref: '#/components/schemas/LinkedinProfileStatus'
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        pronouns:
          anyOf:
            - type: string
            - type: 'null'
        custom_pronouns:
          anyOf:
            - type: string
            - type: 'null'
        experience:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserExperience'
              type: array
            - type: 'null'
        education:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserEducation'
              type: array
            - type: 'null'
        languages:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserLanguage'
              type: array
            - type: 'null'
        certificates:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserCertificate'
              type: array
            - type: 'null'
        honors:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserHonor'
              type: array
            - type: 'null'
        patents:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserPatent'
              type: array
            - type: 'null'
        skills:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserSkill'
              type: array
            - type: 'null'
        verified:
          type: boolean
          default: false
        is_premium:
          type: boolean
          default: false
        is_top_voice:
          type: boolean
          default: false
      type: object
      required:
        - name
        - alias
        - url
    UserEmail:
      properties:
        '@type':
          type: string
          default: UserEmail
        id:
          type: string
          format: uuid
        email:
          type: string
        alias:
          type: string
        name:
          type: string
        internal_id:
          type: string
        found:
          type: boolean
          default: true
      type: object
      required:
        - id
        - email
        - alias
        - name
        - internal_id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    LinkedinURN:
      properties:
        type:
          $ref: '#/components/schemas/LinkedinURNPrefix'
        value:
          type: string
      type: object
      required:
        - type
        - value
    LinkedinProfileStatus:
      type: string
      enum:
        - open_to_work
        - hiring
    LinkedinUserExperience:
      properties:
        '@type':
          type: string
          default: LinkedinUserExperience
        company:
          $ref: '#/components/schemas/LinkedinUserExperienceCompany'
        position:
          anyOf:
            - type: string
            - type: 'null'
        work_type:
          anyOf:
            - $ref: '#/components/schemas/LinkedinWorkType'
            - type: 'null'
        employment:
          anyOf:
            - $ref: '#/components/schemas/LinkedinUserExperienceEmployment'
            - type: 'null'
        interval:
          anyOf:
            - type: string
            - type: 'null'
        period:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
        medias:
          anyOf:
            - items:
                $ref: '#/components/schemas/LinkedinUserExperienceMedia'
              type: array
            - type: 'null'
      type: object
      required:
        - company
    LinkedinUserEducation:
      properties:
        '@type':
          type: string
          default: LinkedinUserEducation
        company:
          $ref: '#/components/schemas/LinkedinUserEducationCompany'
        major:
          anyOf:
            - type: string
            - type: 'null'
        interval:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - company
    LinkedinUserLanguage:
      properties:
        '@type':
          type: string
          default: LinkedinUserLanguage
        name:
          type: string
        level:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserCertificate:
      properties:
        '@type':
          type: string
          default: LinkedinUserCertificate
        name:
          type: string
        company:
          anyOf:
            - $ref: '#/components/schemas/LinkedinUserCertificateCompany'
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        label:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserHonor:
      properties:
        '@type':
          type: string
          default: LinkedinUserHonor
        name:
          type: string
        issued_by:
          anyOf:
            - type: string
            - type: 'null'
        issued_at:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserPatent:
      properties:
        '@type':
          type: string
          default: LinkedinUserPatent
        name:
          type: string
        id:
          anyOf:
            - type: string
            - type: 'null'
        issued_at:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        inventor_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserSkill:
      properties:
        '@type':
          type: string
          default: LinkedinUserSkill
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
      type: object
      required:
        - name
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    LinkedinURNPrefix:
      type: string
      enum:
        - fsd_company
        - fsd_group
        - fsd_profile
        - fsd_skill
        - activity
        - comment
        - company
        - group
        - geo
        - pulse
        - member
        - industry
        - ugcPost
        - job
        - message
        - conversation
        - media
        - share
        - linkedInArticle
    LinkedinUserExperienceCompany:
      properties:
        '@type':
          type: string
          default: LinkedinUserExperienceCompany
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        industry:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN_Literal_industry__'
            - type: 'null'
        industry_full:
          anyOf:
            - $ref: '#/components/schemas/LinkedinIndustry'
            - type: 'null'
        employee_range:
          anyOf:
            - type: string
            - type: 'null'
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinWorkType:
      type: string
      enum:
        - on-site
        - hybrid
        - remote
    LinkedinUserExperienceEmployment:
      type: string
      enum:
        - full-time
        - part-time
        - permanent
        - self-employed
        - freelance
        - contract
        - internship
        - apprenticeship
        - indirect contract
    LinkedinUserExperienceMedia:
      properties:
        '@type':
          type: string
          default: LinkedinUserExperienceMedia
        id:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - title
    LinkedinUserEducationCompany:
      properties:
        '@type':
          type: string
          default: LinkedinUserEducationCompany
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN'
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        industry:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN_Literal_industry__'
            - type: 'null'
        industry_full:
          anyOf:
            - $ref: '#/components/schemas/LinkedinIndustry'
            - type: 'null'
        employee_range:
          anyOf:
            - type: string
            - type: 'null'
        logo_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinUserCertificateCompany:
      properties:
        '@type':
          type: string
          default: LinkedinUserCertificateCompany
        name:
          type: string
        urn:
          anyOf:
            - $ref: '#/components/schemas/LinkedinURN_Literal_fsd_company_company__'
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    LinkedinURN_Literal_industry__:
      properties:
        type:
          type: string
          const: industry
        value:
          type: string
      type: object
      required:
        - type
        - value
    LinkedinIndustry:
      properties:
        '@type':
          type: string
          default: LinkedinIndustry
        urn:
          $ref: '#/components/schemas/LinkedinURN_Literal_industry__'
        name:
          type: string
        hierarchy:
          type: string
      type: object
      required:
        - urn
        - name
        - hierarchy
        - description
    LinkedinURN_Literal_fsd_company_company__:
      properties:
        type:
          type: string
          enum:
            - fsd_company
            - company
        value:
          type: string
      type: object
      required:
        - type
        - value
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````