{
  "openapi": "3.0.1",
  "info": {
    "title": "CS2 Skin Prices - Steam vs Skinport Spread, No API Key",
    "description": "Price CS2 skins on the Steam Market and Skinport side by side: price, volume, spread after fees and a fee-adjusted flag. Throttled for Steam's ~20 req/min limit, no API key, min-spread filter. Failed lookups are never charged.",
    "version": "1.0",
    "x-build-id": "bZngi945TWIrXer2u"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/that_red_bird~cs2-skin-price-spread/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-that_red_bird-cs2-skin-price-spread",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/that_red_bird~cs2-skin-price-spread/runs": {
      "post": {
        "operationId": "runs-sync-that_red_bird-cs2-skin-price-spread",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/that_red_bird~cs2-skin-price-spread/run-sync": {
      "post": {
        "operationId": "run-sync-that_red_bird-cs2-skin-price-spread",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "items": {
            "title": "Items (exact Steam names)",
            "type": "array",
            "description": "Exact Steam Market names, e.g. 'AK-47 | Redline (Field-Tested)'. Leave empty to auto-pick liquid weapon skins from Skinport (see Max items and the price band below).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP"
            ],
            "type": "string",
            "description": "Currency for both Steam and Skinport prices.",
            "default": "USD"
          },
          "maxItems": {
            "title": "Max items (auto-pick)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many items to price when you give no item list. Steam allows only about 20 lookups per minute, so every item costs about 3 seconds of run time.",
            "default": 12
          },
          "minItemPrice": {
            "title": "Min Skinport price (auto-pick)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Auto-pick only items whose cheapest Skinport listing is at least this many whole currency units.",
            "default": 5
          },
          "maxItemPrice": {
            "title": "Max Skinport price (auto-pick)",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Auto-pick only items whose cheapest Skinport listing is at most this many whole currency units.",
            "default": 300
          },
          "minSpreadPct": {
            "title": "Min net spread after fees (%)",
            "minimum": -100,
            "maximum": 10000,
            "type": "integer",
            "description": "Return only items whose best direction nets at least this percent after fees. -100 returns everything. Use 5 to see only worthwhile gaps.",
            "default": -100
          },
          "minSteamVolume": {
            "title": "Min Steam 24h volume",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Skip items that sold fewer than this many units on the Steam Market in the last 24 hours (thin markets are hard to trade).",
            "default": 0
          },
          "skinportFeePct": {
            "title": "Skinport seller fee (%)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Fee Skinport takes when you sell. 12 is the standard rate; lower for high-volume sellers.",
            "default": 12
          },
          "steamFeePct": {
            "title": "Steam total fee (%)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Combined Steam + game fee added on top of what the seller receives. 15 matches the standard 5% + 10% (a buyer paying $1.15 leaves the seller $1.00).",
            "default": 15
          },
          "steamDelayMs": {
            "title": "Delay between Steam lookups (ms)",
            "minimum": 1500,
            "maximum": 20000,
            "type": "integer",
            "description": "Pause between Steam Market requests. Steam rate-limits near 20 requests per minute; do not go below 3000 unless you use a proxy.",
            "default": 3200
          },
          "includeSkinportSales": {
            "title": "Add Skinport sales volume",
            "type": "boolean",
            "description": "Also fetch 7-day and 30-day sold volume and median sold price from Skinport's sales history.",
            "default": true
          },
          "maxRuntimeMinutes": {
            "title": "Max run time (minutes)",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Stop looking up Steam prices after this many minutes; remaining items come back as uncharged Skinport-only rows.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Used only for Steam Market requests. Leave off normally; turn on Apify Proxy if Steam rate-limits your runs.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}