# Autocomplete

## Fetches an abbreviated list of breweries that match the search term.

<mark style="color:blue;">`GET`</mark> `https://api.openbrewerydb.org/breweries/autocomplete?query={search}`

#### Path Parameters

| Name                                    | Type   | Description                                                                              |
| --------------------------------------- | ------ | ---------------------------------------------------------------------------------------- |
| query<mark style="color:red;">\*</mark> | String | The search term to return breweries. You can use underscores or URL encoding for spaces. |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

<details>

<summary>Sample Request &#x26; Response</summary>

`GET https://api.openbrewerydb.org/breweries/autocomplete?query=dog`

```json
[
    {
        "id": "barrel-dog-brewing-evergreen",
        "name": "Barrel Dog Brewing"
    },
    {
        "id": "boss-dog-brewing-cleveland",
        "name": "Boss Dog Brewing"
    },
    {
        "id": "diving-dog-brewhouse-oakland",
        "name": "Diving Dog Brewhouse"
    },
    {
        "id": "dog-days-brewing-bremerton",
        "name": "Dog Days Brewing"
    },
    {
        "id": "dog-money-restaurant-leesburg",
        "name": "Dog Money Restaurant"
    },
    {
        "id": "dog-tag-brewing-bozeman",
        "name": "Dog Tag Brewing"
    },
    {
        "id": "dreaming-dog-brewery-elk-grove",
        "name": "Dreaming Dog Brewery"
    },
    {
        "id": "flying-dog-brewery-frederick",
        "name": "Flying Dog Brewery"
    },
    {
        "id": "island-dog-brewing-south-portland",
        "name": "Island Dog Brewing"
    },
    {
        "id": "laughing-dog-brewing-ponderay",
        "name": "Laughing Dog Brewing"
    },
    {
        "id": "lead-dog-brewing-reno",
        "name": "Lead Dog Brewing"
    },
    {
        "id": "running-dogs-brewery-saint-helens",
        "name": "Running Dogs Brewery"
    },
    {
        "id": "sea-dog-brewing-camden",
        "name": "Sea Dog Brewing"
    },
    {
        "id": "spotted-dog-brewery-las-cruces",
        "name": "Spotted Dog Brewery"
    },
    {
        "id": "tin-dog-brewing-seattle",
        "name": "Tin Dog Brewing"
    },
    {
        "id": "alpine-dog-brewing-co-denver",
        "name": "Alpine Dog Brewing Co"
    },
    {
        "id": "big-dogs-brewing-co-las-vegas",
        "name": "Big Dog's Brewing Co"
    },
    {
        "id": "bike-dog-brewing-co-west-sacramento",
        "name": "Bike Dog Brewing Co"
    },
    {
        "id": "dingo-dog-brewing-co-carrboro",
        "name": "Dingo Dog Brewing Co"
    },
    {
        "id": "dog-rose-brewing-company-saint-augustine",
        "name": "Dog Rose Brewing Company"
    },
    {
        "id": "dueling-dogs-brewing-company-lincoln",
        "name": "Dueling Dogs Brewing Company"
    },
    {
        "id": "little-dog-brewing-co-neptune-city",
        "name": "Little Dog Brewing Co."
    },
    {
        "id": "pub-dog-brewing-company-westminster",
        "name": "Pub Dog Brewing Company"
    },
    {
        "id": "river-dog-brewing-co-ridgeland",
        "name": "River Dog Brewing Co"
    },
    {
        "id": "sea-dog-brewing-co-conway",
        "name": "Sea Dog Brewing Co"
    },
    {
        "id": "sleepy-dog-brewing-co-tempe",
        "name": "Sleepy Dog Brewing Co"
    },
    {
        "id": "thirsty-dog-brewing-company-akron",
        "name": "Thirsty Dog Brewing Company"
    },
    {
        "id": "trail-dog-brewing-co-novato",
        "name": "Trail Dog Brewing Co."
    },
    {
        "id": "triple-dog-brewing-company-havre",
        "name": "Triple Dog Brewing Company"
    },
    {
        "id": "white-dog-brewing-boise-boise",
        "name": "White Dog Brewing Boise"
    },
    {
        "id": "white-dog-brewing-company-bozeman",
        "name": "White Dog Brewing Company"
    },
    {
        "id": "old-dog-alehouse-and-brewery-delaware",
        "name": "Old Dog Alehouse & Brewery"
    },
    {
        "id": "sea-dog-brewing-co-bangor-bangor",
        "name": "Sea Dog Brewing Co - Bangor"
    },
    {
        "id": "sea-dog-brewing-co-clearwater-clearwater",
        "name": "Sea Dog Brewing Co - Clearwater"
    },
    {
        "id": "wet-dog-cafe-and-brewery-astoria",
        "name": "Wet Dog Cafe & Brewery"
    },
    {
        "id": "dog-and-pony-alehouse-and-grill-renton",
        "name": "Dog & Pony Alehouse and Grill"
    },
    {
        "id": "hair-of-the-dog-brewing-co-portland",
        "name": "Hair of the Dog Brewing Co"
    },
    {
        "id": "sea-dog-brewing-co-s-portland-s-portland",
        "name": "Sea Dog Brewing Co - S. Portland"
    },
    {
        "id": "foy-enterprises-llc-dba-dog-river-brewery-barre",
        "name": "Foy Enterprises LLC DBA Dog River Brewery"
    }
]
```

</details>
