Documentation menu
Docs / Reference / Search liquor licenses

Search liquor licenses

GET/liquor_license

Parameters

ParameterTypeDescription
qstringoptionalFull-text search across data fields. Space-separated words require all terms (e.g. "wood panel"). Use OR to match any term ("wood OR panel OR acoustic"), quotes for exact phrases ("supply arrangement"), and a leading minus to exclude ("software -hardware").
license_typestringoptionalLiquor: filter by license type, substring match (e.g. Restaurant, Retail, Brewery). See /liquor_license/stats for values.
license_statusstringoptionalLiquor: filter by license status (e.g. Active). Exact, case-insensitive.
citystringoptionalFilter by city. For the US liquor/healthcare datasets this is a distinct filter (exact, case-insensitive). For all other datasets it is an alias for municipality.
countystringoptionalFilter by county. Exact, case-insensitive (liquor, healthcare).
statestringoptionalFilter by 2-letter US state code, e.g. FL, CA, TX (healthcare, liquor).
issued_afterstringoptionalFilter by issue date >= YYYY-MM-DD (issued_date). Aliases: date_from, date_after
issued_beforestringoptionalFilter by date <= YYYY-MM-DD. Aliases: date_to, date_before
sort_bystringoptionalSort field: published (publication_date for tenders, award_date for contracts), date (event date), value (contract/agreement value), closing (closing_date for tenders)
sort_orderstringoptionalSort order: asc or desc
limitintegeroptional
offsetintegeroptional
cursorstringoptionalPagination cursor from next_cursor in a previous response. Use instead of offset for deep pagination.

Request

curl --request GET \
  --url 'https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license' \
  --header 'x-rapidapi-host: newliquorlicenses-us-liquor-license-data.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'
import requests

url = "https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license"
headers = {"x-rapidapi-host": "newliquorlicenses-us-liquor-license-data.p.rapidapi.com", "x-rapidapi-key": "YOUR_RAPIDAPI_KEY"}
resp = requests.get(url, headers=headers)
print(resp.json())
const res = await fetch("https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license", {
  headers: {
    "x-rapidapi-host": "newliquorlicenses-us-liquor-license-data.p.rapidapi.com",
    "x-rapidapi-key": "YOUR_RAPIDAPI_KEY",
  },
});
const data = await res.json();
console.log(data);
<?php
$ch = curl_init("https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "x-rapidapi-host: newliquorlicenses-us-liquor-license-data.p.rapidapi.com",
    "x-rapidapi-key: YOUR_RAPIDAPI_KEY",
]);
echo curl_exec($ch);
require "net/http"
require "uri"

uri = URI("https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license")
req = Net::HTTP::Get.new(uri)
req["x-rapidapi-host"] = "newliquorlicenses-us-liquor-license-data.p.rapidapi.com"
req["x-rapidapi-key"] = "YOUR_RAPIDAPI_KEY"
res = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) { |h| h.request(req) }
puts res.body
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    req, _ := http.NewRequest("GET", "https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license", nil)
    req.Header.Add("x-rapidapi-host", "newliquorlicenses-us-liquor-license-data.p.rapidapi.com")
    req.Header.Add("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
    res, _ := http.DefaultClient.Do(req)
    defer res.Body.Close()
    body, _ := io.ReadAll(res.Body)
    fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.*;

HttpRequest req = HttpRequest.newBuilder()
    .uri(URI.create("https://newliquorlicenses-us-liquor-license-data.p.rapidapi.com/liquor_license"))
    .header("x-rapidapi-host", "newliquorlicenses-us-liquor-license-data.p.rapidapi.com")
    .header("x-rapidapi-key", "YOUR_RAPIDAPI_KEY")
    .build();
HttpResponse<String> res = HttpClient.newHttpClient()
    .send(req, HttpResponse.BodyHandlers.ofString());
System.out.println(res.body());
Ready to build?Subscribe on RapidAPI to get your key and start calling NewLiquorLicenses in minutes.
Get your API key →