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

# Look up a Catalog product by Attribute value

> Returns the first active product whose stored Attribute value exactly matches the supplied value.

## Usage notes

`key` is an Attribute storage key and `value` is an exact stored value. The endpoint searches active products and returns the first match.

Use this endpoint only when the selected Attribute is unique in your data model. For general filtering or text search, use `GET /catalog`.


## OpenAPI

````yaml openapi.yaml GET /catalog/lookup
openapi: 3.1.0
info:
  title: Lasso API
  description: AI-powered product data extraction and enhancement API
  version: 1.0.0
  contact:
    name: Lasso Support
    url: https://lasso.ai
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://app.productlasso.com/api/v1
    description: Production
security:
  - BearerAuth: []
paths:
  /catalog/lookup:
    get:
      tags:
        - Catalog
      summary: Look up a Catalog product by Attribute value
      description: >-
        Returns the first active product whose stored Attribute value exactly
        matches the supplied value.
      operationId: lookupCatalogProduct
      parameters:
        - name: key
          in: query
          required: true
          description: >-
            Attribute storage key. Letters, digits, underscores, and slashes are
            accepted.
          schema:
            type: string
        - name: value
          in: query
          required: true
          description: Exact Attribute value to match.
          schema:
            type: string
      responses:
        '200':
          description: Matching Catalog product.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CatalogProduct'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    CatalogProduct:
      type: object
      additionalProperties: false
      required:
        - id
        - company_id
        - schema_id
        - source
        - external_id
        - status
        - attributes
        - attribute_extensions
        - created_at
        - updated_at
        - deleted_at
      properties:
        id:
          type: string
          format: uuid
        company_id:
          type: string
          format: uuid
        schema_id:
          type: string
          format: uuid
        source:
          type: string
          enum:
            - manual
            - product_extraction
            - shopify
        external_id:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - draft
            - active
            - archived
        attributes:
          type: object
          additionalProperties: true
          description: >-
            Values backed by active Shared Attributes from the base schema or
            attribute_extensions.
        attribute_extensions:
          type: array
          maxItems: 2000
          items:
            $ref: '#/components/schemas/CatalogAttributeExtension'
        relations:
          type: object
          additionalProperties: true
          description: >-
            Hydrated relation values. Present on the single-product GET
            response.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
      examples:
        - id: 13adf145-d9a0-4c28-9235-3f7e17af4cf1
          company_id: 81e2b625-e6e8-4dd5-a50f-22803806cc10
          schema_id: 9e1c77dd-8f10-41ca-bfe8-e672b89692d1
          source: manual
          external_id: null
          status: draft
          attributes:
            sku: A-100
            product_name: Alpine bottle
            price: 24.9
          attribute_extensions:
            - attribute_id: e683267d-2450-4ea8-a977-462d46a8f610
              key: supplier_note
          created_at: '2026-08-31T09:30:00.000Z'
          updated_at: '2026-08-31T09:30:00.000Z'
          deleted_at: null
    CatalogAttributeExtension:
      type: object
      additionalProperties: false
      required:
        - attribute_id
        - key
      description: >-
        An active Shared Attribute attached only to this Catalog product,
        without changing its Product Schema.
      properties:
        attribute_id:
          type: string
          format: uuid
        key:
          type: string
          description: Current canonical Attribute key.
    Error:
      type: object
      required:
        - status_code
        - error_type
        - message
        - request_id
      properties:
        status_code:
          type: integer
        error_type:
          type: string
          enum:
            - invalid_request
            - unauthenticated
            - forbidden
            - not_found
            - conflict
            - validation_error
            - rate_limited
            - service_unavailable
            - internal_error
        message:
          type: string
        request_id:
          type: string
        code:
          type: string
          description: >-
            Stable machine-readable detail code for validation, conflict, and
            retryable availability errors.
        retryable:
          type: boolean
          description: Whether the request can be retried without changing its payload.
        attribute_id:
          type: string
          format: uuid
          description: Stable Attribute identity when the error is scoped to one Attribute.
        attribute_key:
          type: string
          description: Attribute key when the error is scoped to one Attribute.
        details:
          type: object
          additionalProperties: true
        current_updated_at:
          type: string
          format: date-time
          description: >-
            Current resource revision supplied for client-directed refetch after
            a stale write.
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Authentication error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````

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