{"openapi":"3.1.0","info":{"title":"DoorDash Restaurants Menus and Stores (x402 & MCP)","version":"0.1.0","description":"DoorDash restaurant listings, store details, menus, reviews and retail products across the US, Canada, Australia and New Zealand, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/doordash-com/v1/search":{"post":{"operationId":"doordash_com_search","summary":"DoorDash Restaurants Menus and Stores: Restaurants and stores by city, cuisine, query or location","description":"Restaurant and store rows across DoorDash US, Canada, Australia and New Zealand markets. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["doordash-com","Food"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"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","enum":["auto","city","cuisine","category","catering","nearMe","search","discoverCities","discoverCuisines","discoverDishes","discoverProducts"]},"country":{"type":"string","description":"Choose the DoorDash market: us, ca, au or nz. The discoverCities mode supports us only.","default":"us","enum":["us","ca","au","nz"]},"citySlug":{"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.","pattern":"^[A-Za-z0-9-]*$"},"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":{"type":"string","description":"Enter the cuisine name or path segment, such as pizza. Combine it with citySlug for a cuisine search in that city.","pattern":"^[A-Za-z0-9 _-]*$"},"categorySlug":{"type":"string","description":"Alternative name for cuisineSlug. Use one of these fields with citySlug for category search.","pattern":"^[A-Za-z0-9 _-]*$"},"address":{"type":"string","description":"Enter a delivery address or postal code for nearby-store results. Availability depends on the resolved location."},"enrichDetails":{"type":"boolean","description":"Fetch full store details (ratings breakdown, opening hours, availability status, featured items) for listing results, up to enrichLimit stores. Store mode already returns full details.","default":false},"includeMenuItems":{"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},"includeReviews":{"type":"boolean","description":"Add separate review rows for targeted stores. Each review row costs the same as a store row and shares the per-input row limit.","default":false},"maxReviewsPerStore":{"type":"integer","description":"Cap review rows per store when reviews mode or includeReviews is used. 0 uses the remaining maxResults budget.","default":0,"minimum":0,"maximum":500},"includeRetailProducts":{"type":"boolean","description":"In convenience mode, add separate retail-product rows across store categories. Each row costs the same as a store row and shares maxResults.","default":false},"retailSortBy":{"type":"string","description":"Optional sort order for convenience store category products.","default":"","enum":["","price_lh","price_hl"]},"maxResults":{"type":"integer","description":"Maximum delivered rows per input, shared by store, menu-item, review and retail-product rows; default 70, collected in parts of 70 for larger requests. If you choose an explicit mode without its required target, the Actor runs the example plan capped at 3 rows and explains this in INPUT_REPORT. 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":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"country":"us","citySlug":"houston-tx","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_doordash_com"},"example":{"jobId":"job_doordash_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","storeId":"example_storeId","name":"example_name","title":"example_title","aggregateRating":"example_aggregateRating"}],"meta":{"site":"doordash-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/doordash-com/v1/stores":{"post":{"operationId":"doordash_com_stores","summary":"DoorDash Restaurants Menus and Stores: One store's details, menu items or convenience catalog","description":"Store profile and menu or retail product rows for a DoorDash store URL, store ID or startUrls. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["doordash-com","Food"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"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":"store","enum":["store","convenience","startUrls"]},"country":{"type":"string","description":"Choose the DoorDash market: us, ca, au or nz. The discoverCities mode supports us only.","default":"us","enum":["us","ca","au","nz"]},"storeUrl":{"type":"string","description":"Paste a full DoorDash store or convenience-store URL. The URL should contain the numeric store ID.","pattern":"^(https?://([A-Za-z0-9-]+\\.)*doordash\\.com(/.*)?)?$"},"storeId":{"type":"string","description":"Enter the numeric store ID from a DoorDash store URL.","pattern":"^[0-9]*$"},"storeSlug":{"type":"string","description":"Optional store-name segment used when forming a URL from storeId."},"startUrls":{"type":"array","items":{"type":"string"},"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."},"includeMenuItems":{"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},"includeAllMenus":{"type":"boolean","description":"Fetch all available menus (such as breakfast, lunch and dinner) for targeted stores instead of only the active menu.","default":false},"includeItemOptions":{"type":"boolean","description":"Fetch option groups and modifier choices for menu items on targeted stores. Bounded per store to keep runs fast.","default":false},"includeReviews":{"type":"boolean","description":"Add separate review rows for targeted stores. Each review row costs the same as a store row and shares the per-input row limit.","default":false},"maxReviewsPerStore":{"type":"integer","description":"Cap review rows per store when reviews mode or includeReviews is used. 0 uses the remaining maxResults budget.","default":0,"minimum":0,"maximum":500},"includeRetailProducts":{"type":"boolean","description":"In convenience mode, add separate retail-product rows across store categories. Each row costs the same as a store row and shares maxResults.","default":false},"retailSortBy":{"type":"string","description":"Optional sort order for convenience store category products.","default":"","enum":["","price_lh","price_hl"]},"maxResults":{"type":"integer","description":"Maximum delivered rows per input, shared by store, menu-item, review and retail-product rows; default 70, collected in parts of 70 for larger requests. If you choose an explicit mode without its required target, the Actor runs the example plan capped at 3 rows and explains this in INPUT_REPORT. 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":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"country":"us","storeId":"55229","includeMenuItems":true,"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_doordash_com"},"example":{"jobId":"job_doordash_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","storeId":"example_storeId","name":"example_name","title":"example_title","aggregateRating":"example_aggregateRating"}],"meta":{"site":"doordash-com","endpoint":"stores","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/doordash-com/v1/reviews":{"post":{"operationId":"doordash_com_reviews","summary":"DoorDash Restaurants Menus and Stores: Store reviews","description":"Review rows for a DoorDash store URL, store ID or slug. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["doordash-com","Food"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"type":"string","description":"Choose the DoorDash market: us, ca, au or nz. The discoverCities mode supports us only.","default":"us","enum":["us","ca","au","nz"]},"storeUrl":{"type":"string","description":"Paste a full DoorDash store or convenience-store URL. The URL should contain the numeric store ID.","pattern":"^(https?://([A-Za-z0-9-]+\\.)*doordash\\.com(/.*)?)?$"},"storeId":{"type":"string","description":"Enter the numeric store ID from a DoorDash store URL.","pattern":"^[0-9]*$"},"storeSlug":{"type":"string","description":"Optional store-name segment used when forming a URL from storeId."},"maxReviewsPerStore":{"type":"integer","description":"Cap review rows per store when reviews mode or includeReviews is used. 0 uses the remaining maxResults budget.","default":0,"minimum":0,"maximum":500},"maxResults":{"type":"integer","description":"Maximum delivered rows per input, shared by store, menu-item, review and retail-product rows; default 70, collected in parts of 70 for larger requests. If you choose an explicit mode without its required target, the Actor runs the example plan capped at 3 rows and explains this in INPUT_REPORT. 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":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"country":"us","storeId":"55229","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_doordash_com"},"example":{"jobId":"job_doordash_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","storeId":"example_storeId","name":"example_name","title":"example_title","aggregateRating":"example_aggregateRating"}],"meta":{"site":"doordash-com","endpoint":"reviews","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/doordash-com/v1/health":{"get":{"operationId":"doordash_com_health","summary":"DoorDash Restaurants Menus and Stores: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["doordash-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}},"Row_doordash_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Row type"},"id":{"type":["string","null"],"title":"ID"},"storeId":{"type":["string","null"],"title":"Store ID"},"name":{"type":["string","null"],"title":"Name"},"title":{"type":["string","null"],"title":"Title"},"aggregateRating":{"type":["string","null"],"title":"Rating"},"deliveryFee":{"type":["string","null"],"title":"Delivery fee"},"etaText":{"type":["string","null"],"title":"ETA"},"asapMinutes":{"type":["string","null"],"title":"ETA (min)"},"distanceFromConsumer":{"type":["string","null"],"title":"Distance"},"cuisines":{"type":["string","null"],"title":"Cuisines"},"priceRange":{"type":["string","null"],"title":"Price"},"isCurrentlyAvailable":{"type":["string","null"],"title":"Open now"},"menuItemCount":{"type":["string","null"],"title":"Menu items"},"address":{"type":["string","null"],"title":"Address"},"phones":{"type":["string","null"],"title":"Phones"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"source":{"type":["string","null"],"title":"Source"},"scrapedAt":{"type":["string","null"],"title":"Scraped"}},"additionalProperties":true},"Response_doordash_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_doordash_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}