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

# Search stores

> Searches Shopify stores by focused ICP filters with stable sorting, cursor pagination, broad-search guardrails, monthly search-row quotas, and a unique-store export allowance for returned stores.



## OpenAPI

````yaml /openapi.json post /stores/search
openapi: 3.1.0
info:
  title: StoreInspect API
  version: 1.0.0
  description: >-
    Database-backed Shopify store and contact intelligence API. Store and
    contact data require a paid StoreInspect plan; existing keys can still
    access billing recovery endpoints after paid access lapses.
servers:
  - url: https://storeinspect.com/api/v1
security: []
tags:
  - name: usage
    x-displayName: Usage
    x-group: Usage
    description: >-
      API access state, request quotas, search-row quota, and shared
      contact-credit usage.
  - name: billing
    x-displayName: Billing
    x-group: Billing
    description: >-
      Read subscription state and create short-lived Stripe-hosted subscription
      or management links.
  - name: taxonomy
    x-displayName: Taxonomy
    x-group: Taxonomy
    description: >-
      Filter values, labels, and metadata used by store and contact search
      requests.
  - name: stores
    x-displayName: Stores
    x-group: Stores
    description: >-
      Store lookup, store search, and batch domain enrichment for Shopify
      accounts.
  - name: contacts
    x-displayName: Contacts
    x-group: Contacts
    description: Contact preview search and credit-based contact reveal workflows.
paths:
  /stores/search:
    post:
      tags:
        - stores
      summary: Search stores
      description: >-
        Searches Shopify stores by focused ICP filters with stable sorting,
        cursor pagination, broad-search guardrails, monthly search-row quotas,
        and a unique-store export allowance for returned stores.
      operationId: searchStores
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreSearchRequest'
      responses:
        '200':
          description: A cursor-paginated list of stores matching the supplied filters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoreListResponse'
        '400':
          description: Invalid filters, limit, or cursor.
        '401':
          description: Missing or invalid API key.
        '403':
          description: The account does not have API access.
      security:
        - bearerAuth: []
components:
  schemas:
    StoreSearchRequest:
      type: object
      additionalProperties: false
      properties:
        filters:
          $ref: '#/components/schemas/StoreSearchFilters'
        limit:
          type: integer
          minimum: 1
          maximum: 100
          default: 25
        cursor:
          type:
            - string
            - 'null'
          pattern: ^cur_[A-Za-z0-9_-]+$
          default: null
        include_catch_all:
          type: boolean
          default: true
          description: >-
            Include catch-all emails, labelled status catch_all. Set false for
            verified emails only.
      required:
        - filters
    StoreListResponse:
      type: object
      properties:
        object:
          type: string
          const: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Store'
        has_more:
          type: boolean
        next_cursor:
          type:
            - string
            - 'null'
        request_id:
          type: string
      required:
        - object
        - data
        - has_more
        - next_cursor
        - request_id
    StoreSearchFilters:
      type: object
      additionalProperties: false
      properties:
        categories:
          type: array
          items:
            type: string
          maxItems: 50
        countries:
          type: array
          items:
            type: string
          maxItems: 50
        traffic_tiers:
          type: array
          items:
            type: string
          maxItems: 50
        revenue_tiers:
          type: array
          items:
            type: string
          maxItems: 50
        shopify_plus:
          type: boolean
        apps:
          $ref: '#/components/schemas/StoreTechnologyFilter'
        pixels:
          $ref: '#/components/schemas/StoreTechnologyFilter'
        themes:
          type: object
          additionalProperties: false
          properties:
            types:
              type: array
              items:
                type: string
                enum:
                  - free
                  - paid
                  - custom
              maxItems: 50
            outdated:
              type: boolean
              const: true
              description: >-
                Only stores on a vintage Shopify theme, or a Dawn-family theme
                two or more major versions behind the latest.
        has_ios_app:
          type: boolean
          description: >-
            true: only stores whose homepage shows their own iOS app. false:
            only stores with no iOS app detected. Detection needs an App Store
            link on the homepage, so many stores with an app match false. false
            alone does not count as a meaningful filter, because it matches
            nearly every store.
        checkout:
          type: object
          additionalProperties: false
          properties:
            offers_shop_pay_installments:
              type: boolean
              const: true
              description: Only stores whose /meta.json offers Shop Pay Installments.
            ships_to_any:
              type: array
              items:
                type: string
                pattern: ^[A-Za-z]{2}$
              minItems: 1
              maxItems: 50
              description: >-
                ISO 3166-1 alpha-2 codes. Matches listed countries and stores
                with Shopify's rest-of-world shipping zone.
        meta_ads:
          type: object
          additionalProperties: false
          properties:
            active_ads_min:
              type: integer
              minimum: 0
              maximum: 100000
        store_created_at:
          $ref: '#/components/schemas/DateRangeFilter'
        first_discovered_at:
          $ref: '#/components/schemas/DateRangeFilter'
        contacts:
          type: object
          additionalProperties: false
          properties:
            has_revealable_contacts:
              type: boolean
            roles_any:
              type: array
              items:
                type: string
              maxItems: 50
    Store:
      type: object
      properties:
        id:
          type: string
          pattern: ^st_[A-Za-z]+_[A-Za-z]{16}$
        object:
          type: string
          const: store
        domain:
          type: string
        name:
          type: string
        description:
          type:
            - string
            - 'null'
          description: Short summary of what the store sells.
        logo_url:
          type:
            - string
            - 'null'
          format: uri
        category:
          type:
            - string
            - 'null'
        country:
          type:
            - string
            - 'null'
        headquarters_city:
          type:
            - string
            - 'null'
        traffic_tier:
          type:
            - string
            - 'null'
        revenue_tier:
          type:
            - string
            - 'null'
        shopify_plus:
          type: boolean
        lead_fit_score:
          type:
            - number
            - 'null'
        store_created_at:
          oneOf:
            - type: object
              properties:
                estimate:
                  type:
                    - string
                    - 'null'
                  format: date-time
                resolution:
                  type:
                    - string
                    - 'null'
                  enum:
                    - exact
                    - month
                    - year
                    - null
                source:
                  type:
                    - string
                    - 'null'
                confidence:
                  type:
                    - string
                    - 'null'
                  enum:
                    - high
                    - medium
                    - low
                    - null
            - type: 'null'
        first_discovered_at:
          type:
            - string
            - 'null'
          format: date-time
        last_scanned_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When StoreInspect last scanned the storefront.
        catalog:
          type: object
          properties:
            product_count:
              type:
                - integer
                - 'null'
            collection_count:
              type:
                - integer
                - 'null'
        employee_count:
          type:
            - integer
            - 'null'
        social:
          type: object
          properties:
            instagram:
              oneOf:
                - type: object
                  properties:
                    handle:
                      type: string
                    followers:
                      type:
                        - integer
                        - 'null'
                - type: 'null'
            tiktok:
              oneOf:
                - type: object
                  properties:
                    handle:
                      type: string
                    followers:
                      type:
                        - integer
                        - 'null'
                - type: 'null'
            facebook:
              oneOf:
                - type: object
                  properties:
                    url:
                      type: string
                      format: uri
                    followers:
                      type:
                        - integer
                        - 'null'
                    likes:
                      type:
                        - integer
                        - 'null'
                - type: 'null'
        meta_ads:
          type: object
          properties:
            active_ad_count:
              type:
                - integer
                - 'null'
              description: Active ads in the Meta Ad Library; null when not checked.
        technologies:
          type: object
          properties:
            apps:
              type: array
              items:
                type: string
            pixels:
              type: array
              items:
                type: string
            theme:
              type: object
              properties:
                name:
                  type:
                    - string
                    - 'null'
                type:
                  type:
                    - string
                    - 'null'
                version:
                  type:
                    - string
                    - 'null'
                  description: Shopify.theme schema_version, as published by the theme.
                theme_store_id:
                  type:
                    - integer
                    - 'null'
                  description: Shopify Theme Store id; null for custom themes.
                outdated:
                  type:
                    - boolean
                    - 'null'
                  description: >-
                    true for vintage Shopify themes or Dawn-family themes two or
                    more major versions behind; false for current Dawn-family
                    themes; null when no rule applies.
        ios_app:
          oneOf:
            - type: object
              properties:
                app_id:
                  type: string
                url:
                  type: string
                  format: uri
            - type: 'null'
          description: >-
            The store's own iOS app, from its Smart App Banner or a single App
            Store link on the homepage.
        checkout:
          type: object
          description: From the store's public /meta.json. null means not checked yet.
          properties:
            ships_to_countries:
              type:
                - array
                - 'null'
              items:
                type: string
              description: >-
                ISO 3166-1 alpha-2 codes; "*" is Shopify's rest-of-world
                shipping zone.
            offers_shop_pay_installments:
              type:
                - boolean
                - 'null'
            shopify_pay_enabled_card_brands:
              type:
                - array
                - 'null'
              items:
                type: string
        contacts_summary:
          type: object
          properties:
            total:
              type: integer
            has_revealable_contacts:
              type: boolean
            verified_email_count:
              type: integer
            catch_all_email_count:
              type: integer
              description: >-
                Contacts whose only email is catch-all. 0 when include_catch_all
                is false.
            roles:
              type: array
              items:
                type: string
    StoreTechnologyFilter:
      type: object
      additionalProperties: false
      properties:
        any:
          type: array
          items:
            type: string
          maxItems: 50
        all:
          type: array
          items:
            type: string
          maxItems: 50
        none:
          type: array
          items:
            type: string
          maxItems: 50
    DateRangeFilter:
      type: object
      description: >-
        from and to take an ISO 8601 date-time or a date such as 2026-11-01. A
        date covers the whole UTC day: from starts at 00:00:00, to ends at
        23:59:59.999.
      additionalProperties: false
      minProperties: 1
      properties:
        from:
          type: string
        to:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: StoreInspect API key

````

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