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

# Load Pending Marketplace Trades

> Retrieve all pending marketplace trades where you are the buyer or seller

## Overview

Returns all pending marketplace trades (`type: "market"`) where the authenticated user is either buying from a seller's listing or selling to a buyer.

<Note>
  For buy order fulfillment trades, use [Load Pending Buy Order Trades](/api-reference/trades/load-pending-buy-orders) instead.
</Note>

## Authentication

<ParamField header="X-API-Key" type="string" required>
  Your site API key
</ParamField>

## Rate Limit

**1 request per minute**

## Response

<ResponseField name="array" type="array">
  Array of pending trade objects

  <Expandable title="Trade Object">
    <ResponseField name="user_id" type="string">
      Your Steam ID
    </ResponseField>

    <ResponseField name="trade_id" type="string">
      Steam trade offer ID
    </ResponseField>

    <ResponseField name="timestamp" type="integer">
      Unix timestamp when trade was created
    </ResponseField>

    <ResponseField name="status" type="string">
      Human-readable status:

      * `"Action Required"` - You are the seller and need to accept the trade
      * `"Waiting for seller"` - You are the buyer waiting for seller to accept
    </ResponseField>

    <ResponseField name="total" type="integer">
      Total price of all items in the trade (in cents)
    </ResponseField>

    <ResponseField name="trade_type" type="string">
      Always `"market"` for marketplace trades
    </ResponseField>

    <ResponseField name="raw_status" type="string">
      Raw trade status from database (e.g., `"SENT"`)
    </ResponseField>

    <ResponseField name="buyer_id" type="string">
      Steam ID of the buyer
    </ResponseField>

    <ResponseField name="supplier_id" type="string">
      Steam ID of the seller
    </ResponseField>

    <ResponseField name="buyer_steam_creation_time" type="integer">
      Unix timestamp of buyer's Steam account creation
    </ResponseField>

    <ResponseField name="supplier_steam_creation_time" type="integer">
      Unix timestamp of supplier's Steam account creation
    </ResponseField>

    <ResponseField name="partner_steam_creation_time" type="integer">
      Unix timestamp of actual trade partner's Steam account creation
    </ResponseField>

    <ResponseField name="name_tax_reduction" type="boolean">
      Whether name tag tax reduction was applied
    </ResponseField>

    <ResponseField name="verification_code" type="string">
      Trade verification code (if applicable)
    </ResponseField>

    <ResponseField name="items" type="array">
      Array of items in the trade

      <Expandable title="Item Object">
        <ResponseField name="name" type="string">
          Display name of the item
        </ResponseField>

        <ResponseField name="sku" type="string">
          Item SKU (e.g., `"5021;6"`)
        </ResponseField>

        <ResponseField name="quantity" type="integer">
          Number of this item in the trade
        </ResponseField>

        <ResponseField name="price" type="integer">
          Price per unit (in cents)
        </ResponseField>

        <ResponseField name="quality" type="string">
          Item quality (e.g., `"Unique"`, `"Strange"`, `"Unusual"`)
        </ResponseField>

        <ResponseField name="image_url" type="string">
          Steam class ID for item image
        </ResponseField>

        <ResponseField name="particle_url" type="string">
          Effect ID for unusual items (empty string if not unusual)
        </ResponseField>

        <ResponseField name="wear" type="string">
          War Paint wear level (only present for decorated items)
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.liquid.tf/api/dev/load_pending" \
    -H "X-API-Key: YOUR_SITE_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.liquid.tf/api/dev/load_pending', {
    headers: {
      'X-API-Key': 'YOUR_SITE_API_KEY'
    }
  });

  const trades = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.liquid.tf/api/dev/load_pending',
      headers={'X-API-Key': 'YOUR_SITE_API_KEY'}
  )

  trades = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  [
    {
      "user_id": "76561198000000000",
      "trade_id": "7234567890",
      "timestamp": 1704067200,
      "status": "Action Required",
      "total": 33000,
      "items": [
        {
          "name": "Mann Co. Supply Crate Key",
          "sku": "5021;6",
          "quantity": 2,
          "price": 16500,
          "quality": "Unique",
          "image_url": "563268321",
          "particle_url": ""
        }
      ],
      "trade_type": "market",
      "raw_status": "SENT",
      "buyer_id": "76561198111111111",
      "supplier_id": "76561198000000000",
      "buyer_steam_creation_time": 1234567890,
      "supplier_steam_creation_time": 1234567890,
      "partner_steam_creation_time": 1234567890,
      "name_tax_reduction": false,
      "verification_code": "ABC123"
    }
  ]
  ```
</ResponseExample>
