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

# Search a bounded public US Shop preview



## OpenAPI

````yaml https://api.vexqo.dev/openapi.json get /tiktok/shop/search
openapi: 3.1.0
info:
  title: Vexqo API
  description: >-
    Public Meta Ad Library, Reddit, Hacker News, Product Hunt, eBay, TikTok and
    Instagram data. Authenticate with X-API-Key. Follow response links for
    related resources and supported pagination; each collection request can use
    credits. Social lookups are fresh by default; max_age explicitly allows
    cached public data.
  version: 0.1.0
servers:
  - url: https://api.vexqo.dev
security: []
paths:
  /tiktok/shop/search:
    get:
      tags:
        - TikTok Shop (experimental, US only)
      summary: Search a bounded public US Shop preview
      operationId: search_tiktok_shop_search_get
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
            title: Q
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 15
            minimum: 1
            default: 15
            title: Limit
        - name: country
          in: query
          required: false
          schema:
            type: string
            pattern: ^(?:us|US|Us|uS)$
            default: us
            title: Country
        - name: max_age
          in: query
          required: false
          schema:
            type: integer
            maximum: 300
            minimum: 0
            description: 0 collects fresh. Cache hits cost the same as fresh results.
            default: 0
            title: Max Age
          description: 0 collects fresh. Cache hits cost the same as fresh results.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    SearchResponse:
      properties:
        query:
          type: string
          maxLength: 4000
          minLength: 1
          title: Query
        products:
          items:
            $ref: '#/components/schemas/SearchProduct'
          type: array
          maxItems: 15
          title: Products
        results_returned:
          type: integer
          maximum: 15
          minimum: 0
          title: Results Returned
        coverage:
          $ref: '#/components/schemas/Coverage'
        source:
          $ref: >-
            #/components/schemas/src__adapters__inbound__http__tiktok_shop_contract__Source
        links:
          additionalProperties:
            type: string
          type: object
          title: Links
      additionalProperties: false
      type: object
      required:
        - query
        - products
        - results_returned
        - coverage
        - source
      title: SearchResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SearchProduct:
      properties:
        id:
          type: string
          pattern: ^[0-9]{10,25}$
          title: Id
        url:
          type: string
          maxLength: 4000
          minLength: 1
          title: Url
        title:
          type: string
          maxLength: 4000
          minLength: 1
          title: Title
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
        price:
          anyOf:
            - $ref: '#/components/schemas/Price'
            - type: 'null'
        rating:
          anyOf:
            - type: string
            - type: 'null'
          title: Rating
        sold_count:
          anyOf:
            - type: string
            - type: 'null'
          title: Sold Count
        seller_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Seller Name
        links:
          additionalProperties:
            type: string
          type: object
          title: Links
      additionalProperties: false
      type: object
      required:
        - id
        - url
        - title
      title: SearchProduct
    Coverage:
      properties:
        kind:
          type: string
          const: preview
          title: Kind
          default: preview
        complete:
          type: boolean
          const: false
          title: Complete
          default: false
        sections:
          additionalProperties:
            type: string
            enum:
              - not_observed
              - collapsed
              - preview_only
              - observed
          type: object
          title: Sections
        reviews_returned:
          type: integer
          minimum: 0
          title: Reviews Returned
          default: 0
      additionalProperties: false
      type: object
      required:
        - sections
      title: Coverage
    src__adapters__inbound__http__tiktok_shop_contract__Source:
      properties:
        collector:
          type: string
          const: camoufox
          title: Collector
        country:
          type: string
          const: us
          title: Country
        observed_at:
          type: string
          title: Observed At
        cached:
          type: boolean
          title: Cached
        age_seconds:
          type: number
          maximum: 300
          minimum: 0
          title: Age Seconds
      additionalProperties: false
      type: object
      required:
        - collector
        - country
        - observed_at
        - cached
        - age_seconds
      title: Source
    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
    Price:
      properties:
        currency:
          type: string
          const: USD
          title: Currency
        current:
          type: string
          pattern: ^\d+\.\d{2}$
          title: Current
        original:
          anyOf:
            - type: string
              pattern: ^\d+\.\d{2}$
            - type: 'null'
          title: Original
        displayed_discount_percent:
          anyOf:
            - type: integer
              maximum: 100
              minimum: 0
            - type: 'null'
          title: Displayed Discount Percent
      additionalProperties: false
      type: object
      required:
        - currency
        - current
      title: Price
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.