{
  "openapi": "3.0.1",
  "info": {
    "title": "DoorDash Scraper - Restaurants, Menus & Store Data",
    "description": "Extract DoorDash store details, restaurant listings and optional menu-item rows in the US, Canada, Australia and New Zealand. Pay per delivered row plus a start fee; discovery coverage varies by mode.",
    "version": "0.2",
    "x-build-id": "bCgU1aNYqvq4qkMcY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~doordash-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-doordash-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/lentic_clockss~doordash-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-doordash-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/lentic_clockss~doordash-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-doordash-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "auto",
              "city",
              "cuisine",
              "category",
              "catering",
              "store",
              "convenience",
              "nearMe",
              "search",
              "sitemap",
              "discoverCities",
              "discoverCuisines",
              "discoverDishes",
              "discoverProducts",
              "startUrls"
            ],
            "type": "string",
            "description": "Keep Auto to select a compatible mode from your target fields. If a chosen mode lacks its target, the Actor may infer another mode and explain the choice in INPUT_REPORT.",
            "default": "auto"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "List DoorDash store URLs containing numeric store IDs and select Start URLs mode. Other DoorDash page types are not guaranteed to work with the default settings.",
            "items": {
              "type": "string"
            }
          },
          "storeUrl": {
            "title": "Store URL",
            "pattern": "^(https?://([A-Za-z0-9-]+\\.)*doordash\\.com(/.*)?)?$",
            "type": "string",
            "description": "Paste a full DoorDash store or convenience-store URL. The URL should contain the numeric store ID."
          },
          "storeId": {
            "title": "Store ID",
            "pattern": "^[0-9]*$",
            "type": "string",
            "description": "Enter the numeric store ID from a DoorDash store URL."
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Enter store search words, such as pizza. Add a city to choose the area; cuisineSlug can supply the search term when query is empty."
          },
          "cuisineSlug": {
            "title": "Cuisine slug",
            "pattern": "^[A-Za-z0-9 _-]*$",
            "type": "string",
            "description": "Enter the cuisine name or path segment, such as pizza. Combine it with citySlug for a cuisine search in that city."
          },
          "categorySlug": {
            "title": "Category slug (alias)",
            "pattern": "^[A-Za-z0-9 _-]*$",
            "type": "string",
            "description": "Alternative name for cuisineSlug. Use one of these fields with citySlug for category search."
          },
          "citySlug": {
            "title": "City slug",
            "pattern": "^[A-Za-z0-9-]*$",
            "type": "string",
            "description": "Enter the city segment from a DoorDash city URL, such as houston-tx or toronto-on. Match country to the selected city."
          },
          "address": {
            "title": "Address (nearMe)",
            "type": "string",
            "description": "Enter a delivery address or postal code for nearby-store results. Availability depends on the resolved location."
          },
          "country": {
            "title": "Country",
            "enum": [
              "us",
              "ca",
              "au",
              "nz"
            ],
            "type": "string",
            "description": "Choose the DoorDash market: us, ca, au or nz. The discoverCities mode supports us only.",
            "default": "us"
          },
          "maxResults": {
            "title": "Maximum rows per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum delivered rows per input, shared by store and menu-item rows; default 70, collected in parts of 70 for larger requests. The run also respects your maximum total charge; free-plan users are limited to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "includeMenuItems": {
            "title": "Include menu items as rows",
            "type": "boolean",
            "description": "Add separate menuItem rows when menu items are available. Each costs the same as a store row and shares the input row limit; store rows do not embed the full menu list.",
            "default": false
          },
          "locale": {
            "title": "Locale (alias of country)",
            "enum": [
              "us",
              "ca",
              "au",
              "nz"
            ],
            "type": "string",
            "description": "Alternative name for country. Prefer country when choosing a market.",
            "default": "us"
          },
          "regionId": {
            "title": "Region ID",
            "type": "string",
            "description": "Optional region segment used when forming a store URL from its ID."
          },
          "storeSlug": {
            "title": "Store slug",
            "type": "string",
            "description": "Optional store-name segment used when forming a URL from storeId."
          },
          "provider": {
            "title": "Advanced compatibility option",
            "enum": [
              "cloakbrowser",
              "appApi"
            ],
            "type": "string",
            "description": "Leave unchanged for normal runs. This advanced option is not needed to select a market or mode.",
            "default": "appApi"
          },
          "enrichDetails": {
            "title": "Enrich store details",
            "type": "boolean",
            "description": "Request extra store details where supported. Off by default; use store mode to request a specific store directly.",
            "default": false
          },
          "enrichLimit": {
            "title": "Enrich limit",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "Limit stores considered for extra details when enrichDetails is enabled and supported. Leave unchanged for standard store collection.",
            "default": 0
          },
          "loadMore": {
            "title": "Request more listings",
            "type": "boolean",
            "description": "Request additional visible listings where supported. This does not guarantee a larger dataset or override maxResults.",
            "default": false
          },
          "useEnPrefix": {
            "title": "Use /en/ prefix",
            "type": "boolean",
            "description": "Use an /en/ prefix when forming a cuisine page URL. Leave off unless that URL form is needed.",
            "default": false
          },
          "sitemapKind": {
            "title": "Sitemap kind",
            "enum": [
              "store",
              "city",
              "cuisine",
              "dish",
              "products",
              "business"
            ],
            "type": "string",
            "description": "Legacy catalogue selection. The current sitemap mode returns store links rather than separate product or dish inventories.",
            "default": "store"
          },
          "sitemapLocale": {
            "title": "Sitemap locale",
            "type": "string",
            "description": "Legacy catalogue language and market tag, such as en-US or fr-CA. Use country to select the market for standard collection."
          },
          "sitemapShardUrl": {
            "title": "Sitemap shard URL",
            "type": "string",
            "description": "Legacy catalogue-part URL. Leave empty for standard discovery runs."
          },
          "maxShards": {
            "title": "Catalogue-part limit",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Legacy limit on catalogue parts to read. It does not expand the current store-link discovery coverage.",
            "default": 1
          },
          "proxyCountry": {
            "title": "Legacy country option",
            "type": "string",
            "description": "Leave empty. This value is ignored; country determines the selected market."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}