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

# Merchant Search

> Search merchants by free text. Matches the query against merchant name and host (case- and accent-insensitive partial match), ranking prefix matches first. Returns merchant identity plus per-method coverage statuses, so results can be used directly to scope a Product Search (filters.merchant) or gate checkout affordances.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/henry-sdk/openapi.documented.yml get /merchants/search
openapi: 3.1.0
info:
  title: Henry Labs API
  version: 1.5.0
  description: Playground for Henry Labs API endpoints
  contact:
    name: Henry Labs API Support
    email: support@henrylabs.ai
servers:
  - url: https://api.henrylabs.ai/v1
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Product
    description: Product search, details, and data enrichment
  - name: Cart
    description: Universal user shopping cart management
  - name: Orders
    description: Order management post purchase
  - name: Merchants
    description: Merchant information and status
  - name: Card
    description: Card tokenization and management
paths:
  /merchants/search:
    get:
      tags:
        - Merchants
      summary: Merchant Search
      description: >-
        Search merchants by free text. Matches the query against merchant name
        and host (case- and accent-insensitive partial match), ranking prefix
        matches first. Returns merchant identity plus per-method coverage
        statuses, so results can be used directly to scope a Product Search
        (filters.merchant) or gate checkout affordances.
      operationId: merchantsSearch
      parameters:
        - in: query
          name: q
          schema:
            type: string
            minLength: 1
            description: >-
              Free-text query matched against merchant name and host (case- and
              accent-insensitive partial match). Prefix matches rank ahead of
              substring matches.
            example: nike
          required: true
          description: >-
            Free-text query matched against merchant name and host (case- and
            accent-insensitive partial match). Prefix matches rank ahead of
            substring matches.
        - in: query
          name: limit
          schema:
            default: 10
            description: Limit the number of results
            example: 10
            type: number
            minimum: 1
            maximum: 50
          description: Limit the number of results
      responses:
        '200':
          description: Matching merchants, best match first
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/merchantsSearchResponse'
        '400':
          description: Bad request - Invalid parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  status:
                    type: string
                  message:
                    type: string
                required:
                  - success
                  - status
                  - message
                additionalProperties: false
        '401':
          description: Unauthorized - Invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  status:
                    type: string
                  message:
                    type: string
                required:
                  - success
                  - status
                  - message
                additionalProperties: false
      security:
        - ApiKeyAuth: []
components:
  schemas:
    merchantsSearchResponse:
      type: object
      properties:
        success:
          type: boolean
        status:
          type: string
        message:
          type: string
        data:
          type: array
          items:
            $ref: '#/components/schemas/merchantData'
      required:
        - success
        - status
        - message
        - data
      additionalProperties: false
    merchantData:
      type: object
      properties:
        host:
          type: string
        name:
          type: string
        description:
          type: string
        website:
          type: object
          properties:
            urls:
              type: array
              items:
                type: object
                properties:
                  value:
                    type: string
                  type:
                    type: string
                    enum:
                      - landing
                      - checkout
                required:
                  - value
                additionalProperties: false
          required:
            - urls
          additionalProperties: false
        logo:
          type: object
          properties:
            urls:
              type: array
              items:
                type: object
                properties:
                  value:
                    type: string
                required:
                  - value
                additionalProperties: false
          required:
            - urls
          additionalProperties: false
        categories:
          type: array
          items:
            type: string
            enum:
              - automotive
              - baby_and_kids
              - ecommerce
              - electronics_and_gadgets
              - fashion_and_accessories
              - finance
              - food
              - health_and_beauty
              - home_and_living
              - lifestyle_and_entertainment
              - other
              - sports_and_outdoor
              - travel
              - education
        coverageStatus:
          type: string
          enum:
            - supported
            - testing
            - unsupported
          deprecated: true
          description: >-
            Legacy alias of `coverage.checkout` (checkout purchase coverage).
            Prefer the per-method `coverage` object.
        coverage:
          $ref: '#/components/schemas/merchantCoverage'
      required:
        - host
        - name
        - description
        - website
        - logo
        - categories
        - coverageStatus
        - coverage
      additionalProperties: false
    merchantCoverage:
      type: object
      properties:
        checkout:
          type: string
          enum:
            - supported
            - testing
            - unsupported
        checkoutDetails:
          type: string
          enum:
            - supported
            - testing
            - unsupported
        productDetails:
          type: string
          enum:
            - supported
            - testing
            - unsupported
        productSearch:
          type: string
          enum:
            - supported
            - testing
            - unsupported
      required:
        - checkout
        - checkoutDetails
        - productDetails
        - productSearch
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````