Advance Auto Parts · Capability

Advance Auto Parts Catalog API — Products

Advance Auto Parts Catalog API — Products. 2 operations. Lead operation: Advance Auto Parts Search Products. Self-contained Naftiko capability covering one Advance Auto Parts business surface.

Run with Naftiko Advance Auto PartsProducts

What You Can Do

GET
Searchproducts — Advance Auto Parts Search Products
/v1/products
GET
Getproduct — Advance Auto Parts Get Product Details
/v1/products/{productid}

MCP Tools

advance-auto-parts-search-products

Advance Auto Parts Search Products

read-only idempotent
advance-auto-parts-get-product

Advance Auto Parts Get Product Details

read-only idempotent

Capability Spec

catalog-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Advance Auto Parts Catalog API — Products
  description: 'Advance Auto Parts Catalog API — Products. 2 operations. Lead operation: Advance Auto Parts Search Products.
    Self-contained Naftiko capability covering one Advance Auto Parts business surface.'
  tags:
  - Advance Auto Parts
  - Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADVANCE_AUTO_PARTS_API_KEY: ADVANCE_AUTO_PARTS_API_KEY
capability:
  consumes:
  - type: http
    namespace: catalog-products
    baseUri: https://api.advanceautoparts.com/v1
    description: Advance Auto Parts Catalog API — Products business capability. Self-contained, no shared references.
    resources:
    - name: products
      path: /products
      operations:
      - name: searchproducts
        method: GET
        description: Advance Auto Parts Search Products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Keyword search query.
        - name: partNumber
          in: query
          type: string
          description: Specific part number to look up.
        - name: year
          in: query
          type: integer
          description: Vehicle model year for fitment filter.
        - name: makeId
          in: query
          type: string
          description: Vehicle make ID for fitment filter.
        - name: modelId
          in: query
          type: string
          description: Vehicle model ID for fitment filter.
        - name: categoryId
          in: query
          type: string
          description: Product category ID to filter results.
        - name: limit
          in: query
          type: integer
          description: Maximum number of products to return.
        - name: offset
          in: query
          type: integer
          description: Pagination offset.
    - name: products-productId
      path: /products/{productId}
      operations:
      - name: getproduct
        method: GET
        description: Advance Auto Parts Get Product Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: productId
          in: path
          type: string
          description: Product SKU or part number.
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.ADVANCE_AUTO_PARTS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: catalog-products-rest
    port: 8080
    description: REST adapter for Advance Auto Parts Catalog API — Products. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/products
      name: products
      description: REST surface for products.
      operations:
      - method: GET
        name: searchproducts
        description: Advance Auto Parts Search Products
        call: catalog-products.searchproducts
        with:
          q: rest.q
          partNumber: rest.partNumber
          year: rest.year
          makeId: rest.makeId
          modelId: rest.modelId
          categoryId: rest.categoryId
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/products/{productid}
      name: products-productid
      description: REST surface for products-productId.
      operations:
      - method: GET
        name: getproduct
        description: Advance Auto Parts Get Product Details
        call: catalog-products.getproduct
        with:
          productId: rest.productId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: catalog-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Advance Auto Parts Catalog API — Products. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: advance-auto-parts-search-products
      description: Advance Auto Parts Search Products
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-products.searchproducts
      with:
        q: tools.q
        partNumber: tools.partNumber
        year: tools.year
        makeId: tools.makeId
        modelId: tools.modelId
        categoryId: tools.categoryId
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: advance-auto-parts-get-product
      description: Advance Auto Parts Get Product Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-products.getproduct
      with:
        productId: tools.productId
      outputParameters:
      - type: object
        mapping: $.