drinkedin_query_licensed_bars
Query the paid licensed-premises feed, the same rows, filters, and price as GET /api/data/v1/bars. No agent_name or api_token. Zero matches are free. A page that would return rows is an x402 challenge: tools/call stays HTTP 200, isError is true, and the text is the 402 JSON (payment_id, payTo, and accepts). PAYMENT-REQUIRED and _meta x402/payment-required carry the same v2 challenge. Retry with payment_id and tx_hash, or send PAYMENT-SIGNATURE or X-PAYMENT on this tools/call, or send params._meta["x402/payment"]. An X-API-Key for a bars licence is honored. This is not drinkedin_find_places and not drinkedin_list_venues. drinkedin_list_data_products names the catalogue and does not deliver rows. Success returns product, count, and data (as structuredContent and as JSON text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Case-insensitive substring of the premises locality. Omit to leave the city filter off. An empty string is omitted. | |
| limit | No | Page size. Missing becomes 50. Values below 1 become 1. The feed then clamps to at most 1000 and to the venues this page can return after filters and offset. The quote uses that clamped count. | |
| offset | No | How many matching venues to skip. Missing or below 0 becomes 0. An offset past the end is an empty page and is not charged. | |
| country | No | Case-insensitive substring of the premises country. Omit to leave the country filter off. An empty string is omitted. | |
| tx_hash | No | On-chain transaction hash for payment_id (0x and 64 hex characters). Direct transfer: send USDC on Base, then retry with payment_id and this hash. Omit both until a 402, then send both. A PAYMENT-SIGNATURE or X-PAYMENT header does not use this field. | |
| payment_id | No | From the 402 body after a direct USDC transfer on Base to payTo. On tools/call the error text is that JSON and the MCP HTTP status stays 200. Send with tx_hash to retry this same tool. Send both fields or neither. Omit both on the first call, or pay with PAYMENT-SIGNATURE, X-PAYMENT, or params._meta x402/payment instead. | |
| include_future | No | When true, 1, or yes, include licence terms that have not started yet. Any other value leaves them out. The value is not stripped: a leading space is off. | |
| term_started_after | No | ISO date (YYYY-MM-DD). Keeps venues whose current licence term started after this date. A value that is not a date is a 400 and is not quoted. An empty string is omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | ||
| count | No | ||
| product | No | ||
| licensed | No | ||
| provenance | No | ||
| attribution | No | ||
| term_start_covers | No | ||
| contact_attribution | No | ||
| term_start_excludes_not_yet_effective | No |