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

# Fetch all company attributes

> Fetch all attributes (Contacts, UCC Records, Google Reviews, Better Business Bureau) for companies matching the given criteria.

At least one of `url`, `phone`, or `company_id` is required. Optionally exclude certain collections from the results.

The response includes a `records` array of matching companies, each with detailed fields.



## OpenAPI

````yaml post /v1/all-attributes
openapi: 3.1.0
info:
  title: LeadX API
  version: 0.1.0
servers: []
security: []
tags:
  - name: All Attributes
    description: Aggregate and correlate data about companies and their associated records.
  - name: Better Business Bureau
    description: >-
      Retrieve Better Business Bureau (BBB) ratings and accreditation status for
      businesses.
  - name: Companies
    description: Enrich company data by URL, name, address, or phone.
  - name: Contacts
    description: Enrich data about contacts.
  - name: email
    description: Validate company email addresses.
  - name: Google Reviews
    description: Retrieve Google Reviews and ratings for businesses.
  - name: Mobile Number
    description: Enrich mobile phone numbers.
  - name: UCC
    description: Search across to the U.S. Uniform Commercial Code (UCC) lien filings.
paths:
  /v1/all-attributes:
    post:
      tags:
        - All Attributes
      summary: Fetch all company attributes
      description: >-
        Fetch all attributes (Contacts, UCC Records, Google Reviews, Better
        Business Bureau) for companies matching the given criteria.


        At least one of `url`, `phone`, or `company_id` is required. Optionally
        exclude certain collections from the results.


        The response includes a `records` array of matching companies, each with
        detailed fields.
      operationId: fetch_all_attributes_v1_all_attributes_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AllAttributesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
              example:
                success: true
                records:
                  companies:
                    found: 1
                    hits:
                      - about_link: https://exampleco.io/about
                        address: 456 Liberty Avenue
                        address_full: >-
                          456 Liberty Avenue, Pittsburgh, PA, 15222, United
                          States
                        addresses_all:
                          - address: 456 Liberty Avenue
                            city: Pittsburgh
                            county: Allegheny County
                            region: Northeast
                            state: PA
                            zip_code: '15222'
                            zip_lat: 40.4425
                            zip_long: -79.9959
                        city: Pittsburgh
                        city_state_country: Pittsburgh, PA, United States
                        classification: End User
                        company_id: '987654321'
                        company_name: ExampleCo Solutions
                        company_type: Privately Held
                        contact_link: https://exampleco.io/contact
                        country: United States
                        county: Allegheny County
                        do_you_offer_financing: false
                        eight_digit_sic_code: '12345678'
                        eight_digit_sic_description: Custom software development
                        employees_six_month_growth_rate: 4.1
                        estimated_number_employees: 42
                        estimated_number_employees_bin: 11-50
                        facebook_url: facebook.com/exampleco
                        financing_partners: []
                        followers_six_month_growth_rate: 2.4
                        four_digit_sic_code: '7371'
                        four_digit_sic_description: Computer programming services
                        generic_emails: []
                        industry: Software
                        invalid_website: false
                        keywords:
                          - software development
                          - cloud services
                          - SaaS
                          - API integrations
                        linkedin_description: >-
                          ExampleCo Solutions provides cloud software and API
                          services for small businesses.
                        linkedin_follower_count: 1289
                        linkedin_hashtags: '#cloudcomputing: 12000, #api: 8000'
                        linkedin_locations_other: >-
                          Philadelphia, PA, United States | Harrisburg, PA,
                          United States
                        linkedin_tagline: Simplifying business software since 2010.
                        linkedin_url: linkedin.com/company/exampleco
                        logo_url: https://placehold.co/200x200.png
                        manufacturer: false
                        menu_navigation: About, Services, Contact
                        naics_code: '541511'
                        naics_description: Custom Computer Programming Services
                        name_based_emails:
                          - info@exampleco.io
                        number_of_locations: 2
                        phone:
                          - '4125550199'
                        prediction_probability: 0.8421
                        region: Northeast
                        state: PA
                        state_name: Pennsylvania
                        technology_names: AWS, Google Analytics, Stripe, WordPress
                        timezone: Eastern
                        two_digit_sic_code: '73'
                        two_digit_sic_description: Business Services
                        url: exampleco.io
                        yelp_url: yelp.com/biz/exampleco-solutions-pittsburgh
                        zip_code: '15222'
                        zip_lat: 40.4425
                        zip_lat_long:
                          - 40.4425
                          - -79.9959
                        zip_long: -79.9959
                        contacts:
                          - city: Pittsburgh
                            company: ExampleCo Solutions
                            company_id: '987654321'
                            contact_id: CONTACT001
                            country: United States
                            department: Executive
                            first_name: Michael
                            gender: Male
                            last_name: Johnson
                            linkedin: linkedin.com/in/michaeljohnson123
                            linkedin_description: CEO
                            location: Pittsburgh, PA, United States
                            name: Michael Johnson
                            seniority: C Level Executive
                            start_date: '2015-01-01T00:00:00.000000'
                            state: PA
                            state_name: Pennsylvania
                            title: Chief Executive Officer
                            title_priority: 1
                            url: exampleco.io
                            years_in_role: 10.5
                            zip_code: '15222'
                        ucc_records:
                          - amendments: []
                            base_url: exampleco.io
                            city: Pittsburgh
                            company_id: '987654321'
                            company_name: EXAMPLECO SOLUTIONS
                            continuation_count: 0
                            date_expired: '2026-06-30 00:00:00.000000'
                            date_expired_unix: 1782768000000
                            date_filed: '2021-06-30 00:00:00.000000'
                            date_filed_unix: 1625011200000
                            has_amendments: false
                            has_continuation: false
                            naics_code: '541511'
                            naics_description: Custom Computer Programming Services
                            phones:
                              - '4125550199'
                            record_id: UCC123456
                            secured_party_class: Other
                            state: PA
                            state_db: PA
                            ucc_id: PA-987654321
                            ucc_number: '987654321'
                            ucc_type: UCC1
                        google_reviews: []
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    AllAttributesRequest:
      properties:
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: Company URL (with or without http)
          example: company.com
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
          description: Company phone
          example: 123-456-7890
        company_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Id
          description: LeadX Company ID
          example: '123456789'
        exclude:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Exclude
          description: >-
            List of collections to exclude. Options: ['contacts', 'ucc_records',
            'google_reviews']
          example:
            - contacts
            - google_reviews
      type: object
      title: AllAttributesRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer

````