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

# Technology market share API

> Get market share data for all technologies within a specific category. Technologies ranked by domain count with percentage share. Useful for competitive analysis and market sizing.

## Frequently asked questions

<AccordionGroup>
  <Accordion title="How is market share calculated?">
    Market share is the percentage of total domains in a category that use each technology. The formula is `(technology_domain_count / total_category_domains) * 100`. Technologies are ranked by domain count from highest to lowest.
  </Accordion>

  <Accordion title="How do I find a category's ID?">
    Use `GET /v1/technology/{id}/info` on any technology in the category — the response includes `primary_category_id` and `category_name`. You can also use the technology search endpoint to browse categories and find the right ID.
  </Accordion>

  <Accordion title="How many technologies does this endpoint return?">
    Up to 100 per request using the `limit` query parameter (default is 50). The response also includes `total_technologies` to show how many exist in the category and `total_domains` for the aggregate domain count across all technologies.
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml GET /v1/category/{id}/market-share
openapi: 3.1.0
info:
  title: TechnologyChecker API
  description: >-
    Discover technology stacks, track market trends, and enrich data with
    company intelligence.
  version: 1.0.0
  contact:
    name: TechnologyChecker Support
    email: support@technologychecker.io
    url: https://technologychecker.io
servers:
  - url: https://api.technologychecker.io
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Domain technologies
    description: Look up technologies detected on any domain
  - name: Technology data
    description: Search, look up, and get details on tracked technologies
  - name: Market intelligence
    description: Technology stats, trends, and market share
  - name: Company data
    description: Firmographic and company intelligence
  - name: Live detection
    description: Real-time technology detection with browser rendering
paths:
  /v1/category/{id}/market-share:
    get:
      tags:
        - Market intelligence
      summary: Technology market share API
      description: >-
        Get market share data for all technologies within a specific category.
        Technologies are ranked by domain count with percentage share.
      operationId: getCategoryMarketShare
      parameters:
        - name: id
          in: path
          required: true
          description: Category ID
          schema:
            type: integer
            example: 203
        - name: limit
          in: query
          description: Number of technologies to return (max 100)
          schema:
            type: integer
            default: 50
            maximum: 100
      responses:
        '200':
          description: Market share data
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      category:
                        $ref: '#/components/schemas/Category'
                      technologies:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: integer
                              example: 86
                            name:
                              type: string
                              example: DoubleClick.Net
                            domain_count:
                              type: integer
                              example: 5750120
                            market_share:
                              type: number
                              format: float
                              example: 29.67
                      total_technologies:
                        type: integer
                        example: 5
                      total_domains:
                        type: integer
                        example: 19382458
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Category:
      type: object
      properties:
        id:
          type: integer
          example: 203
        name:
          type: string
          example: Advertising Networks
        slug:
          type: string
          example: advertising-networks
        priority:
          type: integer
          example: 1
        tech_count:
          type: integer
          example: 2318
    ApiError:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              example: UNAUTHORIZED
            message:
              type: string
              example: Missing or invalid API key
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key in format `tapi_live_[32-char]` (live) or `tapi_test_[32-char]`
        (test)

````