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

# Get Walmart Fees for a Product

> This endpoint returns the various fees associated with selling a specific Walmart product.

<Warning>
  **🚧 Coming Soon**: This endpoint is currently in development and will be available soon. Stay tuned for updates!
</Warning>

<Note>
  **Rate Limit**: This endpoint has a default rate limit of **10 products/second** per account. Need higher limits? [Contact our support team](https://cal.com/rivin-ai/30min) - we can accommodate any rate limit requirements on request.
</Note>

<Note>
  **Credit Cost**: This endpoint costs **3 credits** per successful request. Credits are only deducted when the API call succeeds and returns product data. Failed requests (errors, rate limits, etc.) do not consume credits.
</Note>

<RequestExample>
  ```bash Example request theme={null}
  curl -X GET "http://rivin.ai/api/walmart/product/fees?walmart_product_code=1370971228" \
    -H "Content-Type: application/json" \
    -H "x-api-key: (YOUR_API_KEY_HERE)"
  ```
</RequestExample>

<ResponseExample>
  ```json API Response theme={null}
  {
    "walmart_product_code": "1370971228",
    "referral_fee": 15.0,
    "closing_fee": 0.99,
    "shipping_fee": 4.99,
    "total_fees": 20.98
  }
  ```
</ResponseExample>

<Note>
  **Fee Structure**: Fees may vary based on product category, seller type, and current promotions. All fees are in USD and represent the total cost to sell the product on Walmart's marketplace.
</Note>


## OpenAPI

````yaml GET /walmart/product/fees
openapi: 3.1.0
info:
  title: Rivin.ai Walmart API
  description: >-
    API for retrieving Walmart product information, price history, and managing
    oversight tracking
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://rivin.ai/api
    description: Production API server
security: []
paths:
  /walmart/product/fees:
    get:
      tags:
        - Walmart Products
      summary: Get Walmart Fees for a Product
      description: >-
        This endpoint returns the various fees associated with selling a
        specific Walmart product.
      operationId: getWalmartProductFees
      parameters:
        - name: x-api-key
          in: header
          description: >-
            Your unique API key for authentication. This key is required in the
            header of all API requests, to authenticate your account and access
            Rivin.ai's services. Get your API key through the
            [Settings](https://rivin.ai/settings) page.
          required: true
          schema:
            type: string
        - name: walmart_product_code
          in: query
          description: The Walmart product code to get fee information for.
          required: true
          schema:
            type: string
          example: '1370971228'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductFees'
        '400':
          description: Bad request - Invalid product code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ProductFees:
      type: object
      properties:
        walmart_product_code:
          description: The Walmart product code.
          type: string
        referral_fee:
          type: number
          format: float
          description: Referral fee percentage
        closing_fee:
          type: number
          format: float
          description: Closing fee amount
        shipping_fee:
          type: number
          format: float
          description: Shipping fee amount
        total_fees:
          type: number
          format: float
          description: Total fees for the product
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string

````