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

# Agent Product Search

> Per-retailer product search for agents, paid per call via MPP.

`GET /agent/products/search` searches a single retailer (`amazon` or `walmart`) and is the agent-native, MPP-paid counterpart to the authenticated [Search Products](/v2/api-reference/products/search) endpoint. Use it when you want to search one retailer at a time; use [Agent Search](/v2/api-reference/agent/search) when you want breadth across every retailer in one call.

No Zinc account is required. Each call is paid per request via the [Machine Payments Protocol (MPP)](/v2/mpp).

## Pricing

|             |                                          |
| ----------- | ---------------------------------------- |
| **Price**   | \$0.01 per call (fixed)                  |
| **Payment** | MPP (HTTP 402 challenge-credential flow) |
| **Account** | Not required                             |

## 402 Payment Required

If no valid payment credential is provided, the API returns `402 Payment Required` with one `WWW-Authenticate` header per payable method (per RFC 9110 §11.6.1). Your MPP client uses these to complete payment and resubmit the request. See the [MPP guide](/v2/mpp) for details.


## OpenAPI

````yaml versions/latest.json GET /agent/products/search
openapi: 3.1.0
info:
  title: Zinc
  summary: >-
    Zinc lets you search, buy, and return items from top online retailers with a
    single API.
  description: >-
    Search, buy, and return items from top online retailers with a single API.
    Supports AI agent ordering via MPP (HTTP 402) — no account required.
    Supported retailers include 1-800-Flowers, Ace Hardware, Amazon, Amazon DE,
    Best Buy, Lowe's, Partstown, Pokémon Center, Target, The Home Depot,
    Walmart, Wayfair, and 2 more. Ships to the US and 1 other country (DE).
  version: '2026-07-10'
  x-logo:
    url: https://mintlify.s3.us-west-1.amazonaws.com/zinc/logo/light.png
  contact:
    name: Zinc API Support
    email: support@zinc.com
    url: https://zinc.com/docs
  x-guidance: >-
    Zinc lets AI agents buy products from online retailers via a single API. Use
    POST /agent/orders to place an order — no Zinc account needed, payment is
    handled via MPP (HTTP 402 flow). Provide a product URL from a supported
    retailer, a shipping address, and max_price in cents. The API charges
    max_price + $1 API fee upfront and refunds the difference on completion. To
    find products first, the /agent/* data endpoints (search, products/search,
    products/offers, products/details) are MPP-paid at $0.01 per call;
    /agent/search returns orderable URLs to feed straight into /agent/orders.
    GET /retailers lists supported retailers for free (no payment or account).
    Authenticated equivalents (orders, products, managed-accounts) require a
    Bearer token (API key prefixed zn_). Docs: https://zinc.com/docs Supported
    retailers include 1-800-Flowers, Ace Hardware, Amazon, Amazon DE, Best Buy,
    Lowe's, Partstown, Pokémon Center, Target, The Home Depot, Walmart, Wayfair,
    and 2 more, shipping to the US and 1 other country (DE).
  x-supported-retailers:
    - 1-800-Flowers
    - Ace Hardware
    - Amazon
    - Amazon DE
    - Best Buy
    - Lowe's
    - Partstown
    - Pokémon Center
    - Target
    - The Home Depot
    - Walmart
    - Wayfair
    - Zinc
    - eBay
  x-supported-countries:
    - US
    - DE
servers:
  - url: https://api.zinc.com
    description: Production
security:
  - BearerAuth: []
paths:
  /agent/products/search:
    get:
      tags:
        - agent
      summary: Agent Product Search
      description: Per-retailer product search for agents (amazon | walmart).
      operationId: agent_product_search_agent_products_search_get
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            description: Search term
            title: Query
          description: Search term
        - name: retailer
          in: query
          required: true
          schema:
            type: string
            enum:
              - amazon
              - walmart
          description: 'Retailer: amazon or walmart'
        - name: page
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Page number for pagination
            title: Page
          description: Page number for pagination
        - name: free_shipping
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Only return items that ship for free (Walmart: ship price of 0).
              Currently a no-op for Amazon: the upstream search data
              under-reports Prime, so Amazon results are returned unfiltered.
              Applied per-page after pagination; use `next_page` in the response
              to keep paging — an empty page with a non-null `next_page` is not
              the end of results.
            default: false
            title: Free Shipping
          description: >-
            Only return items that ship for free (Walmart: ship price of 0).
            Currently a no-op for Amazon: the upstream search data under-reports
            Prime, so Amazon results are returned unfiltered. Applied per-page
            after pagination; use `next_page` in the response to keep paging —
            an empty page with a non-null `next_page` is not the end of results.
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductSearchResponse'
        '402':
          description: Payment required — returns an MPP challenge for each payable method
          headers:
            WWW-Authenticate:
              description: >-
                One header per payable method with challenge parameters (per RFC
                9110 §11.6.1)
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
components:
  schemas:
    ProductSearchResponse:
      properties:
        status:
          type: string
          title: Status
        results:
          items:
            $ref: '#/components/schemas/ProductSearchResult'
          type: array
          title: Results
          default: []
        next_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Page
          description: >-
            Only set on free_shipping searches: the page to request to keep
            paging. An empty `results` with a non-null next_page is NOT the end
            of results — request next_page to continue. None means results are
            exhausted (or the search was unfiltered).
      type: object
      required:
        - status
      title: ProductSearchResponse
      description: Response from the product search endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProductSearchResult:
      properties:
        product_id:
          type: string
          title: Product Id
        title:
          type: string
          title: Title
        image:
          anyOf:
            - type: string
            - type: 'null'
          title: Image
        brand:
          anyOf:
            - type: string
            - type: 'null'
          title: Brand
        price:
          anyOf:
            - type: integer
            - type: 'null'
          title: Price
        stars:
          anyOf:
            - type: number
            - type: 'null'
          title: Stars
        num_reviews:
          anyOf:
            - type: integer
            - type: 'null'
          title: Num Reviews
        num_offers_estimate:
          anyOf:
            - type: integer
            - type: 'null'
          title: Num Offers Estimate
        num_sales:
          anyOf:
            - type: integer
            - type: 'null'
          title: Num Sales
        product_details:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Product Details
        fresh:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Fresh
        prime:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Prime
        pantry:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Pantry
        addon:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Addon
        ship_price:
          anyOf:
            - type: integer
            - type: 'null'
          title: Ship Price
        upc:
          anyOf:
            - type: string
            - type: 'null'
          title: Upc
        mpn:
          anyOf:
            - type: string
            - type: 'null'
          title: Mpn
        available:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Available
        available_online:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Available Online
        available_instore:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Available Instore
        freight_shipping:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Freight Shipping
        preorder:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Preorder
        first_party_seller:
          anyOf:
            - type: boolean
            - type: 'null'
          title: First Party Seller
        buyapi_hint:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Buyapi Hint
      type: object
      required:
        - product_id
        - title
      title: ProductSearchResult
      description: >-
        Normalized product search result across retailers.


        Common fields are required or have defaults; retailer-specific fields
        are optional.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Zinc API key (Bearer zn_...)

````