{
  "openapi": "3.0.1",
  "info": {
    "title": "SoldRadar — eBay Sold Prices & Market Intel (8 Markets)",
    "description": "Real eBay sold prices across 8 marketplaces — not asking prices. Get median/avg price stats, sold & watch counts, promoted-listing bid data, sponsored & best-offer flags, and auto-discovered category IDs. Thousands of sold comps per keyword in seconds. No login, no captcha.",
    "version": "1.0",
    "x-build-id": "sl6GcCABDjU7z3HtW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yumitori~soldradar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yumitori-soldradar",
        "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/yumitori~soldradar/runs": {
      "post": {
        "operationId": "runs-sync-yumitori-soldradar",
        "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/yumitori~soldradar/run-sync": {
      "post": {
        "operationId": "run-sync-yumitori-soldradar",
        "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",
        "required": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Search keywords",
            "minItems": 1,
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "One or more eBay search terms. Add a single term for a focused run, or paste many for bulk research — each keyword runs independently and its rows are tagged with `sourceQuery`.",
            "items": {
              "type": "string"
            }
          },
          "listingStatus": {
            "title": "Listing status",
            "enum": [
              "sold",
              "active",
              "completed"
            ],
            "type": "string",
            "description": "\"sold\" = confirmed completed sales with final prices (the default — for comps & pricing). \"active\" = current live listings. \"completed\" = all ended listings incl. unsold.",
            "default": "sold"
          },
          "marketplace": {
            "title": "Marketplace",
            "enum": [
              "EBAY-US",
              "EBAY-GB",
              "EBAY-DE",
              "EBAY-FR",
              "EBAY-IT",
              "EBAY-ES",
              "EBAY-CA",
              "EBAY-AU"
            ],
            "type": "string",
            "description": "Which eBay site to search. Prices return in that market's local currency.",
            "default": "EBAY-US"
          },
          "maxItemsPerQuery": {
            "title": "Max results per keyword",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard cap on listings returned per keyword. Fetched 200 at a time, so 1000 = 5 requests, 5000 = 25 requests. eBay's mobile API serves 12,000+ per query (far past the website's 10k cap).",
            "default": 200
          },
          "sortOrder": {
            "title": "Sort",
            "enum": [
              "endedRecently",
              "newlyListed",
              "priceLowToHigh",
              "priceHighToLow",
              "bestMatch"
            ],
            "type": "string",
            "description": "How to rank results. For sold comps, \"Ended recently\" is most useful.",
            "default": "endedRecently"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or above this price (local currency)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings at or below this price."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "new",
              "used",
              "certified_refurbished",
              "open_box"
            ],
            "type": "string",
            "description": "Filter by item condition.",
            "default": "any"
          },
          "buyingFormat": {
            "title": "Buying format",
            "enum": [
              "all",
              "auction",
              "buy_it_now"
            ],
            "type": "string",
            "description": "Restrict to a buying format.",
            "default": "all"
          },
          "categoryId": {
            "title": "Category ID",
            "type": "string",
            "description": "Optional eBay category id to scope the search (e.g. 58058 = Computers/Tablets & Networking). Leave blank for all categories. Don't know the ID? Just run once — every run lists the category IDs relevant to your keyword in the run summary (key-value store → SUMMARY → perQuery[].categories). No external lookup needed."
          },
          "freeShippingOnly": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Only return listings that ship free.",
            "default": false
          },
          "soldWithinDays": {
            "title": "Sold within (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "For sold/completed runs: only keep listings that sold within the last N days. With the default 'Ended recently' sort, the actor stops paging as soon as it's past the window — fast, precise recent comps. Leave blank for no date limit."
          },
          "expandKeywords": {
            "title": "Expand keywords (auto-suggest)",
            "type": "boolean",
            "description": "Before searching, expand each seed keyword into related terms eBay shoppers actually search, and scrape those too. Great for broad market research.",
            "default": false
          },
          "expansionLimit": {
            "title": "Expansions per keyword",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "When keyword expansion is on, how many related terms to add per seed.",
            "default": 5
          },
          "includeAdIntelligence": {
            "title": "Include promoted-listing bid intel",
            "type": "boolean",
            "description": "Capture eBay Promoted Listings auction data per keyword (advertiser bid + actual clearing CPC + promoted items) into a separate `promoted-ads` dataset. Populated for ~80% of commercial keywords; a point-in-time snapshot. (Per-listing `isSponsored` flags are always included regardless.)",
            "default": true
          },
          "dedupeAcrossQueries": {
            "title": "Dedupe across keywords",
            "type": "boolean",
            "description": "When running multiple keywords, drop a listing on later keywords if its `itemId` was already seen. The first row keeps its `sourceQuery`.",
            "default": true
          },
          "concurrentQueries": {
            "title": "Concurrent keywords",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many keywords to scrape in parallel. 1 = sequential. Higher = faster but risks rate-limiting.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional — leave OFF for US (works great with no proxy). Turn ON Apify Residential only for non-US marketplaces, where it auto-routes through an in-country IP and surfaces more local inventory (see the README chart). For US bulk runs, Datacenter is a cheap alternative.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}