openapi: 3.0.3 info: title: 6sense Firmographics Company API version: '3' description: 'Returns company firmographics based on email or domain. Includes industry, employee/revenue ranges, SIC/NAICS codes, and 6sense segment membership when applicable. ' contact: name: 6sense API Support url: https://api.6sense.com/docs/ servers: - url: https://api.6sense.com description: 6sense API Production security: - TokenAuth: [] tags: - name: Company paths: /v3/company/details: get: summary: Get Company Details By IP description: Identify a company from an IP address. Returns firmographics, scoring, buying stage, profile fit, and segment membership. operationId: getCompanyDetails parameters: - name: ip in: query description: Visitor IP address (IPv4 or IPv6). required: true schema: type: string - name: EpsilonCookie in: header description: 6sense visitor tracking cookie. required: false schema: type: string - name: X-6s-CustomID in: header description: Custom client-supplied identifier for tracking. required: false schema: type: string responses: '200': description: Company identified. content: application/json: schema: $ref: '#/components/schemas/CompanyDetailsResponse' '401': description: Unauthorized. '404': description: No company match. '429': description: Rate limit exceeded. tags: - Company components: schemas: Segments: type: object properties: ids: type: array items: type: integer names: type: array items: type: string list: type: array items: type: object properties: id: type: integer name: type: string Company: type: object properties: company_match: type: string enum: - Match - Non-actionable Match - No Match additional_comment: type: string companyId: type: string domain: type: string name: type: string region: type: string country: type: string country_iso_code: type: string state: type: string state_code: type: string city: type: string address: type: string zip: type: string phone: type: string industry: type: string industry_v2: type: array items: type: object properties: industry: type: string subindustry: type: string employee_range: type: string employee_count: type: integer revenue_range: type: string annual_revenue: type: number is_blacklisted: type: boolean is_6qa: type: boolean geoIP_country: type: string geoIP_state: type: string geoIP_city: type: string sic: type: string sic_description: type: string naics: type: string naics_description: type: string ProductScore: type: object properties: product: type: string product_display_name: type: string is_6qa: type: boolean intent_score: type: integer buying_stage: type: string enum: - Purchase - Decision - Consideration - Awareness - Target profile_score: type: integer profile_fit: type: string enum: - Strong - Moderate - Weak CompanyDetailsResponse: type: object properties: company: $ref: '#/components/schemas/Company' scores: type: array items: $ref: '#/components/schemas/ProductScore' segments: $ref: '#/components/schemas/Segments' confidence: type: string enum: - Very High - High - Moderate - Low securitySchemes: TokenAuth: type: apiKey in: header name: Authorization description: 'Token-based auth. Format: `Token `.'