---
title: "Facet stored DoorDash stores"
method: GET
path: "/datasets/doordash-stores/facets"
tags: ["Datasets"]
---

# Facet stored DoorDash stores

`GET /datasets/doordash-stores/facets`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/datasets/doordash-stores/facets`
- Auth: API key in header `x-api-key`

Returns terms aggregation counts for the DoorDash store directory. Facet enum: `country`, `state`, `city`, `tags`, `display_status`, `price_range`, `dash_pass_eligible`. Accepts the same filter parameters as search to scope the aggregation. Use `facet=tags` to discover the marketplace tag values accepted by the `tag` filter.

## Query parameters

- `facet` 'country' | 'state' | 'city' | 'tags' | 'display_status' | 'price_range' | 'dash_pass_eligible', required
- `q` string
- `country` string
- `state` string
- `city` string
- `tag` string
- `dash_pass_only` boolean

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsDoorDashStoresFacetResponseDoc
  - `code` integer
  - `data` DatasetsDoorDashStoreFacetResponse
    - `dataset` string
    - `facet` string
    - `items` EsDoorDashStoreDatasetFacetItem[]
      - `count` integer
      - `key` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
