{
  "openapi": "3.0.1",
  "info": {
    "title": "Taobao Detail Scraper",
    "description": "Taobao Detail Scraper from taobao. Thin competition — only 2 actor(s) with real usage | Fix the top complaint: feature requests | Demand growing (2.81× vs 90-day avg)",
    "version": "0.1",
    "x-build-id": "bWeA6O6MjdApHotZY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cold_email_master~taobao-detail-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cold_email_master-taobao-detail-scraper",
        "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/cold_email_master~taobao-detail-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cold_email_master-taobao-detail-scraper",
        "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/cold_email_master~taobao-detail-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cold_email_master-taobao-detail-scraper",
        "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": {
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Keywords, handles, URLs, or emails, depending on the actor.",
            "items": {
              "type": "string"
            }
          },
          "directUrls": {
            "title": "Direct URLs",
            "type": "array",
            "description": "Direct target URLs. These take precedence over search terms.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of dataset items to produce.",
            "default": 100
          },
          "maxPages": {
            "title": "Max pages per target",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Pagination cap. Lower values reduce proxy cost.",
            "default": 5
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code used for localized results.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Two-letter language code used for localized results.",
            "default": "en"
          },
          "proxySessionId": {
            "title": "Proxy session ID",
            "type": "string",
            "description": "Optional sticky proxy session id. Use the same value that created the session cookies so the exit IP matches."
          },
          "instagramAccessToken": {
            "title": "Instagram access token",
            "type": "string",
            "description": "Optional Instagram Graph API access token for hashtag/post actors. Falls back to the public browser flow."
          },
          "naverClientId": {
            "title": "Naver Client ID",
            "type": "string",
            "description": "Client ID from developers.naver.com with Search enabled."
          },
          "mercadolibreAccessToken": {
            "title": "MercadoLibre access token",
            "type": "string",
            "description": "OAuth access token from a MercadoLibre app."
          },
          "vpsUrl": {
            "title": "VPS actor URL",
            "type": "string",
            "description": "Internal VPS endpoint, e.g. http://103.111.228.201:8790."
          },
          "vpsToken": {
            "title": "VPS actor token",
            "type": "string",
            "description": "Shared secret for the VPS actor API."
          },
          "naverCookie": {
            "title": "Naver cookie",
            "type": "string",
            "description": "Cookie header or Netscape cookie file from brand.naver.com."
          },
          "naverClientSecret": {
            "title": "Naver Client Secret",
            "type": "string",
            "description": "Client Secret from developers.naver.com."
          },
          "requireEmail": {
            "title": "Require email",
            "type": "boolean",
            "description": "Only emit leads that have an email address.",
            "default": false
          },
          "verifierApiKey": {
            "title": "Email verifier API key",
            "type": "string",
            "description": "ZeroBounce or MillionVerifier API key used to validate lead emails."
          },
          "anyapiKey": {
            "title": "AnyAPI key",
            "type": "string",
            "description": "AnyAPI key for managed provider routing. When set, supported actors fetch data from AnyAPI instead of scraping directly."
          },
          "youtubeApiKey": {
            "title": "YouTube API key",
            "type": "string",
            "description": "YouTube Data API v3 key. Enables reliable public comment scraping without a session."
          },
          "facebookAccessToken": {
            "title": "Facebook access token",
            "type": "string",
            "description": "User token with pages_read_engagement. Used to mint a Page token for Facebook actors."
          },
          "facebookPageId": {
            "title": "Facebook Page ID",
            "type": "string",
            "description": "Page ID used by Facebook Graph API actors."
          },
          "instagramAppId": {
            "title": "Instagram app ID",
            "type": "string",
            "description": "Meta app ID used for app-only Graph access. No Instagram login is performed."
          },
          "instagramAppSecret": {
            "title": "Instagram app secret",
            "type": "string",
            "description": "Meta app secret used to mint an app access token."
          },
          "instagramGraphHost": {
            "title": "Instagram Graph host",
            "type": "string",
            "description": "Graph host: graph.facebook.com for Facebook-linked accounts, or graph.instagram.com for Instagram Login tokens."
          },
          "instagramUserId": {
            "title": "Instagram business user ID",
            "type": "string",
            "description": "Instagram Business/Creator account ID used with the Graph API token."
          },
          "redditClientId": {
            "title": "Reddit client ID",
            "type": "string",
            "description": "Optional Reddit OAuth app client id. Enables authenticated JSON access for Reddit actors."
          },
          "redditClientSecret": {
            "title": "Reddit client secret",
            "type": "string",
            "description": "Optional Reddit OAuth app client secret."
          },
          "sessionCookies": {
            "title": "Session cookies (required)",
            "type": "string",
            "description": "Cookie header or session token for the authenticated endpoints. Stored as a secret."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies are strongly recommended.",
            "properties": {
              "useApifyProxy": {
                "title": "Use Apify Proxy",
                "type": "boolean",
                "description": "Route requests through Apify Proxy."
              },
              "apifyProxyGroups": {
                "title": "Apify Proxy groups",
                "type": "array",
                "description": "Apify Proxy groups. RESIDENTIAL is recommended.",
                "items": {
                  "type": "string"
                }
              },
              "apifyProxyCountry": {
                "title": "Proxy country",
                "type": "string",
                "description": "Two-letter country code."
              },
              "proxyUrls": {
                "title": "Custom proxy URLs",
                "type": "array",
                "description": "Custom proxy URLs, one per entry.",
                "items": {
                  "type": "string"
                }
              }
            }
          },
          "maxCostUsd": {
            "title": "Max cost (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional per-run spending limit."
          },
          "debug": {
            "title": "Debug logging",
            "type": "boolean",
            "description": "Enable verbose diagnostic logging.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}