const result = await agent.tool('lookup/business-liquor-license', { state: 'NY', license_id: '0138-21-123999'});console.log(result.result);console.log(result.evidence);
{ "success": true, "data": { "request_id": "uuid", "receipt_id": "rcpt_...", "status": "completed", "tool": "business_liquor_license", "result": { "state": "NY", "total": 1, "licenses": [ { "license_id": "0138-21-123999", "legal_name": "MC SORLEYS OLD ALE HOUSE INC", "trade_name": "MC SORLEYS OLD ALE HOUSE", "description": "Food & Beverage Business", "class": "0138", "address": "15 E 7TH STREET", "city": "NEW YORK", "county": "New York", "zipcode": "10003", "original_issue_date": "2025-04-03", "last_issue_date": "2025-04-03", "effective_date": "2024-07-01", "expiration_date": "2027-06-30", "latitude": 40.72868, "longitude": -73.98976 } ] }, "evidence": { "source": "New York State Liquor Authority", "source_kind": "public", "retrieved_at": "2026-10-20T00:00:00.000Z", "calls": [ { "retrieved_at": "2026-10-20T00:00:00.000Z" } ], "as_of": null } }}
Returns active liquor licenses from the register of the New York State Liquor Authority, refreshed daily, by license id or part of a trade or legal name: class, premises, issue dates and expiration date. Pending and inactive licenses are not searched, so an empty list is not evidence that the location never held one.
true when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), false when the source was asked for this call
const result = await agent.tool('lookup/business-liquor-license', { state: 'NY', license_id: '0138-21-123999'});console.log(result.result);console.log(result.evidence);
{ "success": true, "data": { "request_id": "uuid", "receipt_id": "rcpt_...", "status": "completed", "tool": "business_liquor_license", "result": { "state": "NY", "total": 1, "licenses": [ { "license_id": "0138-21-123999", "legal_name": "MC SORLEYS OLD ALE HOUSE INC", "trade_name": "MC SORLEYS OLD ALE HOUSE", "description": "Food & Beverage Business", "class": "0138", "address": "15 E 7TH STREET", "city": "NEW YORK", "county": "New York", "zipcode": "10003", "original_issue_date": "2025-04-03", "last_issue_date": "2025-04-03", "effective_date": "2024-07-01", "expiration_date": "2027-06-30", "latitude": 40.72868, "longitude": -73.98976 } ] }, "evidence": { "source": "New York State Liquor Authority", "source_kind": "public", "retrieved_at": "2026-10-20T00:00:00.000Z", "calls": [ { "retrieved_at": "2026-10-20T00:00:00.000Z" } ], "as_of": null } }}
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.
state is required and must be NY. Give at least one of license_id and name; the id takes precedence when both are given.
Names are matched as stored, ignoring case, as a substring of the trade or legal name. Try a short distinctive fragment: SORLEY matches MC SORLEYS, but McSorley’s does not.
zipcode narrows either search.
Returns at most limit licenses, newest last issue date first.
Missing values are null; dates are YYYY-MM-DD.
An empty licenses list is a completed result: no active license was found under that name or id.
Results return inline. The finished job stays available at /v1/requests/{request_id}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneShot","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/light.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=72428dae0201cd91a3041443d2963096","dark":"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/dark.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=907ce345784fcc6d335e3eb76243d67b"},"favicon":"https://mintcdn.com/freebutter/iT_x5apMd2XzdoGo/favicon.svg?fit=max\u0026auto=format\u0026n=iT_x5apMd2XzdoGo\u0026q=85\u0026s=af15dfc50b92ef314849364d5408de8e","navbar":{"links":[{"href":"https://oneshotagent.com","label":"Website"},{"href":"https://oneshotagent.com/trust","label":"Trust Center"},{"href":"https://oneshotagent.com/security","label":"Security"}],"primary":{"type":"button","label":"Start for free","href":"https://oneshotagent.com/console"}},"footer":{"socials":{"github":"https://github.com/oneshot-agent/sdk","twitter":"https://twitter.com/oneshotAIagent","linkedin":"https://www.linkedin.com/company/oneshot-agent","discord":"https://discord.gg/NnPt3DTmXR"}},"seo":{},"styling":{"latex":false},"metadata":{"timestamp":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"freebutter","hasAudioNarration":false,"actualSubdomain":"freebutter","customDomains":["docs.oneshotagent.com"],"gitSource":{"type":"github","owner":"tormine","repo":"oneshot","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec988625c041b78608b164","collectionId":"3ad954d9-669f-40be-bcce-549fb7e068e2","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec988625c041b78608b164"},"entitlements":{},"buildId":"6aee5f0a66fddc61fa356355","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":219},{"language":"default","tag":"Data","count":107},{"language":"default","tag":"Get Started","count":36},{"language":"default","tag":"Messaging","count":34},{"language":"default","tag":"Compute","count":24},{"language":"default","tag":"Companies \u0026 finance","count":24},{"language":"default","tag":"Life sciences","count":22},{"language":"default","tag":"Health","count":19},{"language":"default","tag":"OneShot GTM","count":18},{"language":"default","tag":"Places \u0026 hazards","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".docs-object{display:block;width:220px;max-width:55%;height:auto;margin:-0.5rem 0 0 -2rem;pointer-events:none}"}],"page":{"pagePath":"api-reference/lookup/business-liquor-license","slug":"/api-reference/lookup/business-liquor-license","pageMetadata":{"title":"Liquor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license","description":"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.","href":"/api-reference/lookup/business-liquor-license"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Info,ParamField,ResponseField}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns active liquor licenses from the register of the New York State Liquor Authority, refreshed daily, by license id or part of a trade or legal name: class, premises, issue dates and expiration date. Pending and inactive licenses are not searched, so an empty list is not evidence that the location never held one.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Requires x402 payment in the `,_jsx(_components.code,{children:`payment-signature`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`state`,type:`string`,required:true,id:`param-state`,children:_jsxs(_components.p,{children:[`State issuing the licence. One of `,_jsx(_components.code,{children:`NY`}),`.`]})}),`\n`,_jsx(ParamField,{body:`license_id`,type:`string`,id:`param-license-id`,children:_jsx(_components.p,{children:`The source licence identifier; takes precedence over name.`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`A distinctive fragment of the trade or legal name, matched ignoring case. 2 to 100 characters.`})}),`\n`,_jsx(ParamField,{body:`zipcode`,type:`string`,id:`param-zipcode`,children:_jsx(_components.p,{children:`ZIP code to narrow the search.`})}),`\n`,_jsx(ParamField,{body:`limit`,type:`integer`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Most licences to return. From 1 to 25. Defaults to `,_jsx(_components.code,{children:`10`}),`.`]})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-200-ok`,children:`Response (200 OK)`}),`\n`,_jsxs(_components.p,{children:[`Top-level envelope: `,_jsx(_components.code,{children:`success`}),` (boolean) and `,_jsx(_components.code,{children:`data`}),` (object). All fields below are nested under `,_jsx(_components.code,{children:`data`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data.request_id`,type:`string`,id:`param-data-request-id`,children:_jsx(_components.p,{children:`Durable job ID for audit and lookup`})}),`\n`,_jsx(ResponseField,{name:`data.status`,type:`string`,id:`param-data-status`,children:_jsxs(_components.p,{children:[`Job status: `,_jsx(_components.code,{children:`completed`})]})}),`\n`,_jsx(ResponseField,{name:`data.tool`,type:`string`,id:`param-data-tool`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`business_liquor_license`})]})}),`\n`,_jsx(ResponseField,{name:`data.result`,type:`object`,id:`param-data-result`,children:_jsx(_components.p,{children:`The answer, described under Result below`})}),`\n`,_jsx(ResponseField,{name:`data.evidence`,type:`object`,id:`param-data-evidence`,children:_jsx(_components.p,{children:`Where the answer came from and when`})}),`\n`,_jsx(ResponseField,{name:`data.cached`,type:`boolean`,id:`param-data-cached`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), `,_jsx(_components.code,{children:`false`}),` when the source was asked for this call`]})}),`\n`,_jsx(ResponseField,{name:`data.fetched_at`,type:`string`,id:`param-data-fetched-at`,children:_jsxs(_components.p,{children:[`When the record was obtained from its source, as an ISO 8601 UTC time; equals `,_jsx(_components.code,{children:`evidence.retrieved_at`})]})}),`\n`,_jsx(ResponseField,{name:`data.evidence.source`,type:`string`,id:`param-data-evidence-source`,children:_jsxs(_components.p,{children:[`The public body the data comes from. Always `,_jsx(_components.code,{children:`New York State Liquor Authority`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.evidence.source_kind`,type:`string`,id:`param-data-evidence-source-kind`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`public`}),` when the data comes from a public body, `,_jsx(_components.code,{children:`commercial`}),` otherwise`]})}),`\n`,_jsx(ResponseField,{name:`data.evidence.retrieved_at`,type:`string`,id:`param-data-evidence-retrieved-at`,children:_jsx(_components.p,{children:`When the lookup was made, as an ISO 8601 UTC time`})}),`\n`,_jsx(ResponseField,{name:`data.evidence.as_of`,type:`string | null`,id:`param-data-evidence-as-of`,children:_jsx(_components.p,{children:`The rows have no update timestamp; null. retrieved_at dates the answer.`})}),`\n`,_jsx(Heading,{level:`2`,id:`result`,children:`Result`}),`\n`,_jsxs(_components.p,{children:[`Nested under `,_jsx(_components.code,{children:`data.result`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data.result.state`,type:`string`,id:`param-data-result-state`,children:_jsx(_components.p,{children:`The state asked for.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses`,type:`object[]`,id:`param-data-result-licenses`,children:_jsx(_components.p,{children:`Matching active licences, newest last issue date first; empty when none matched.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].license_id`,type:`string`,id:`param-data-result-licenses-license-id`,children:_jsx(_components.p,{children:`The source licence identifier.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].legal_name`,type:`string | null`,id:`param-data-result-licenses-legal-name`,children:_jsxs(_components.p,{children:[`The legal name on the licence. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].trade_name`,type:`string | null`,id:`param-data-result-licenses-trade-name`,children:_jsx(_components.p,{children:`The trade name (DBA), or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].description`,type:`string | null`,id:`param-data-result-licenses-description`,children:_jsxs(_components.p,{children:[`The licence type in the authority’s words. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].class`,type:`string | null`,id:`param-data-result-licenses-class`,children:_jsxs(_components.p,{children:[`The licence class code, retaining leading zeros. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].address`,type:`string | null`,id:`param-data-result-licenses-address`,children:_jsx(_components.p,{children:`The actual address of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].city`,type:`string | null`,id:`param-data-result-licenses-city`,children:_jsx(_components.p,{children:`The city of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].county`,type:`string | null`,id:`param-data-result-licenses-county`,children:_jsxs(_components.p,{children:[`The county of the premises. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].zipcode`,type:`string | null`,id:`param-data-result-licenses-zipcode`,children:_jsxs(_components.p,{children:[`The ZIP code of the premises. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].original_issue_date`,type:`string | null`,id:`param-data-result-licenses-original-issue-date`,children:_jsx(_components.p,{children:`Original issue date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].last_issue_date`,type:`string | null`,id:`param-data-result-licenses-last-issue-date`,children:_jsx(_components.p,{children:`Most recent issue date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].effective_date`,type:`string | null`,id:`param-data-result-licenses-effective-date`,children:_jsx(_components.p,{children:`Effective date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].expiration_date`,type:`string | null`,id:`param-data-result-licenses-expiration-date`,children:_jsx(_components.p,{children:`Expiration date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].latitude`,type:`number | null`,id:`param-data-result-licenses-latitude`,children:_jsx(_components.p,{children:`Latitude of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].longitude`,type:`number | null`,id:`param-data-result-licenses-longitude`,children:_jsx(_components.p,{children:`Longitude of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.total`,type:`integer`,id:`param-data-result-total`,children:_jsx(_components.p,{children:`Rows returned, not a count of all matches; the source does not send a count.`})}),`\n`,`\n`,`\n`,_jsxs(Info,{children:[`See `,_jsx(_components.a,{href:`/pricing`,children:`Pricing`}),` for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers `,_jsx(_components.code,{children:`200`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state`}),` is required and must be NY. Give at least one of `,_jsx(_components.code,{children:`license_id`}),` and `,_jsx(_components.code,{children:`name`}),`; the id takes precedence when both are given.`]}),`\n`,_jsx(_components.li,{children:`Names are matched as stored, ignoring case, as a substring of the trade or legal name. Try a short distinctive fragment: SORLEY matches MC SORLEYS, but McSorley’s does not.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zipcode`}),` narrows either search.`]}),`\n`,_jsxs(_components.li,{children:[`Returns at most `,_jsx(_components.code,{children:`limit`}),` licenses, newest last issue date first.`]}),`\n`,_jsx(_components.li,{children:`Missing values are null; dates are YYYY-MM-DD.`}),`\n`,_jsx(_components.li,{children:`An empty licenses list is a completed result: no active license was found under that name or id.`}),`\n`,_jsxs(_components.li,{children:[`Results return inline. The finished job stays available at `,_jsx(_components.code,{children:`/v1/requests/{request_id}`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Liquor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license","description":"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.","href":"/api-reference/lookup/business-liquor-license"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Returns active liquor licenses from the register of the New York State Liquor Authority, refreshed daily, by license id or part of a trade or legal name: class, premises, issue dates and expiration date. Pending and inactive licenses are not searched, so an empty list is not evidence that the location never held one.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`Requires x402 payment in the `,_jsx(_components.code,{children:`payment-signature`}),` header.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`state`,type:`string`,required:true,id:`param-state`,children:_jsxs(_components.p,{children:[`State issuing the licence. One of `,_jsx(_components.code,{children:`NY`}),`.`]})}),`\n`,_jsx(ParamField,{body:`license_id`,type:`string`,id:`param-license-id`,children:_jsx(_components.p,{children:`The source licence identifier; takes precedence over name.`})}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`A distinctive fragment of the trade or legal name, matched ignoring case. 2 to 100 characters.`})}),`\n`,_jsx(ParamField,{body:`zipcode`,type:`string`,id:`param-zipcode`,children:_jsx(_components.p,{children:`ZIP code to narrow the search.`})}),`\n`,_jsx(ParamField,{body:`limit`,type:`integer`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Most licences to return. From 1 to 25. Defaults to `,_jsx(_components.code,{children:`10`}),`.`]})}),`\n`,`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response-200-ok`,children:`Response (200 OK)`}),`\n`,_jsxs(_components.p,{children:[`Top-level envelope: `,_jsx(_components.code,{children:`success`}),` (boolean) and `,_jsx(_components.code,{children:`data`}),` (object). All fields below are nested under `,_jsx(_components.code,{children:`data`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data.request_id`,type:`string`,id:`param-data-request-id`,children:_jsx(_components.p,{children:`Durable job ID for audit and lookup`})}),`\n`,_jsx(ResponseField,{name:`data.status`,type:`string`,id:`param-data-status`,children:_jsxs(_components.p,{children:[`Job status: `,_jsx(_components.code,{children:`completed`})]})}),`\n`,_jsx(ResponseField,{name:`data.tool`,type:`string`,id:`param-data-tool`,children:_jsxs(_components.p,{children:[`Always `,_jsx(_components.code,{children:`business_liquor_license`})]})}),`\n`,_jsx(ResponseField,{name:`data.result`,type:`object`,id:`param-data-result`,children:_jsx(_components.p,{children:`The answer, described under Result below`})}),`\n`,_jsx(ResponseField,{name:`data.evidence`,type:`object`,id:`param-data-evidence`,children:_jsx(_components.p,{children:`Where the answer came from and when`})}),`\n`,_jsx(ResponseField,{name:`data.cached`,type:`boolean`,id:`param-data-cached`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), `,_jsx(_components.code,{children:`false`}),` when the source was asked for this call`]})}),`\n`,_jsx(ResponseField,{name:`data.fetched_at`,type:`string`,id:`param-data-fetched-at`,children:_jsxs(_components.p,{children:[`When the record was obtained from its source, as an ISO 8601 UTC time; equals `,_jsx(_components.code,{children:`evidence.retrieved_at`})]})}),`\n`,_jsx(ResponseField,{name:`data.evidence.source`,type:`string`,id:`param-data-evidence-source`,children:_jsxs(_components.p,{children:[`The public body the data comes from. Always `,_jsx(_components.code,{children:`New York State Liquor Authority`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.evidence.source_kind`,type:`string`,id:`param-data-evidence-source-kind`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`public`}),` when the data comes from a public body, `,_jsx(_components.code,{children:`commercial`}),` otherwise`]})}),`\n`,_jsx(ResponseField,{name:`data.evidence.retrieved_at`,type:`string`,id:`param-data-evidence-retrieved-at`,children:_jsx(_components.p,{children:`When the lookup was made, as an ISO 8601 UTC time`})}),`\n`,_jsx(ResponseField,{name:`data.evidence.as_of`,type:`string | null`,id:`param-data-evidence-as-of`,children:_jsx(_components.p,{children:`The rows have no update timestamp; null. retrieved_at dates the answer.`})}),`\n`,_jsx(Heading,{level:`2`,id:`result`,children:`Result`}),`\n`,_jsxs(_components.p,{children:[`Nested under `,_jsx(_components.code,{children:`data.result`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data.result.state`,type:`string`,id:`param-data-result-state`,children:_jsx(_components.p,{children:`The state asked for.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses`,type:`object[]`,id:`param-data-result-licenses`,children:_jsx(_components.p,{children:`Matching active licences, newest last issue date first; empty when none matched.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].license_id`,type:`string`,id:`param-data-result-licenses-license-id`,children:_jsx(_components.p,{children:`The source licence identifier.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].legal_name`,type:`string | null`,id:`param-data-result-licenses-legal-name`,children:_jsxs(_components.p,{children:[`The legal name on the licence. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].trade_name`,type:`string | null`,id:`param-data-result-licenses-trade-name`,children:_jsx(_components.p,{children:`The trade name (DBA), or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].description`,type:`string | null`,id:`param-data-result-licenses-description`,children:_jsxs(_components.p,{children:[`The licence type in the authority’s words. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].class`,type:`string | null`,id:`param-data-result-licenses-class`,children:_jsxs(_components.p,{children:[`The licence class code, retaining leading zeros. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].address`,type:`string | null`,id:`param-data-result-licenses-address`,children:_jsx(_components.p,{children:`The actual address of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].city`,type:`string | null`,id:`param-data-result-licenses-city`,children:_jsx(_components.p,{children:`The city of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].county`,type:`string | null`,id:`param-data-result-licenses-county`,children:_jsxs(_components.p,{children:[`The county of the premises. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].zipcode`,type:`string | null`,id:`param-data-result-licenses-zipcode`,children:_jsxs(_components.p,{children:[`The ZIP code of the premises. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].original_issue_date`,type:`string | null`,id:`param-data-result-licenses-original-issue-date`,children:_jsx(_components.p,{children:`Original issue date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].last_issue_date`,type:`string | null`,id:`param-data-result-licenses-last-issue-date`,children:_jsx(_components.p,{children:`Most recent issue date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].effective_date`,type:`string | null`,id:`param-data-result-licenses-effective-date`,children:_jsx(_components.p,{children:`Effective date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].expiration_date`,type:`string | null`,id:`param-data-result-licenses-expiration-date`,children:_jsx(_components.p,{children:`Expiration date, YYYY-MM-DD or null.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].latitude`,type:`number | null`,id:`param-data-result-licenses-latitude`,children:_jsx(_components.p,{children:`Latitude of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.licenses[].longitude`,type:`number | null`,id:`param-data-result-licenses-longitude`,children:_jsx(_components.p,{children:`Longitude of the premises, or null when absent.`})}),`\n`,_jsx(ResponseField,{name:`data.result.total`,type:`integer`,id:`param-data-result-total`,children:_jsx(_components.p,{children:`Rows returned, not a count of all matches; the source does not send a count.`})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"payment-signature: \u003cbase64 x402 payment>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"state\": \"NY\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"license_id\": \"0138-21-123999\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`11`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"payment-signature\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` paymentProof`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"NY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"license_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0138-21-123999\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`SDK`,numberOfLines:`6`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` result`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`tool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'lookup/business-liquor-license'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` state:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'NY'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` license_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '0138-21-123999'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`evidence`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response (200)`,numberOfLines:`43`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`43`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"request_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"uuid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"receipt_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rcpt_...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"business_liquor_license\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"result\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"licenses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"license_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0138-21-123999\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"legal_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MC SORLEYS OLD ALE HOUSE INC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trade_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MC SORLEYS OLD ALE HOUSE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Food \u0026 Beverage Business\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"class\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0138\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"15 E 7TH STREET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NEW YORK\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"county\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"New York\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"zipcode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"10003\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"original_issue_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-03\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_issue_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-04-03\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"effective_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-07-01\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiration_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2027-06-30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"latitude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40.72868`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"longitude\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-73.98976`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"evidence\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"New York State Liquor Authority\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"source_kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"public\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"retrieved_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-20T00:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"retrieved_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-20T00:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"as_of\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(Info,{children:[`See `,_jsx(_components.a,{href:`/pricing`,children:`Pricing`}),` for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers `,_jsx(_components.code,{children:`200`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`state`}),` is required and must be NY. Give at least one of `,_jsx(_components.code,{children:`license_id`}),` and `,_jsx(_components.code,{children:`name`}),`; the id takes precedence when both are given.`]}),`\n`,_jsx(_components.li,{children:`Names are matched as stored, ignoring case, as a substring of the trade or legal name. Try a short distinctive fragment: SORLEY matches MC SORLEYS, but McSorley’s does not.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`zipcode`}),` narrows either search.`]}),`\n`,_jsxs(_components.li,{children:[`Returns at most `,_jsx(_components.code,{children:`limit`}),` licenses, newest last issue date first.`]}),`\n`,_jsx(_components.li,{children:`Missing values are null; dates are YYYY-MM-DD.`}),`\n`,_jsx(_components.li,{children:`An empty licenses list is a completed result: no active license was found under that name or id.`}),`\n`,_jsxs(_components.li,{children:[`Results return inline. The finished job stays available at `,_jsx(_components.code,{children:`/v1/requests/{request_id}`})]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Liquor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license","description":"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.","href":"/api-reference/lookup/business-liquor-license"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response (200 OK)","slug":"response-200-ok","depth":2,"children":[]},{"title":"Result","slug":"result","depth":2,"children":[]},{"title":"Notes","slug":"notes","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"payment-signature: \u0026#x3C;base64 x402 payment>\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"state\": \"NY\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"license_id\": \"0138-21-123999\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"JavaScript","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\"> fetch\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> method:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"POST\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> headers:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"application/json\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"payment-signature\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> paymentProof\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> body:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> JSON\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">stringify\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"NY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"license_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"0138-21-123999\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"SDK","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> result\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> agent\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">tool\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">'lookup/business-liquor-license'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> state:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'NY'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> license_id:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '0138-21-123999'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">console\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">log\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">result\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">evidence\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response (200)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"43\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"request_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"uuid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"receipt_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"rcpt_...\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"completed\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tool\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"business_liquor_license\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"result\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NY\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"licenses\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"license_id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0138-21-123999\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"legal_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MC SORLEYS OLD ALE HOUSE INC\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"trade_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MC SORLEYS OLD ALE HOUSE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Food \u0026#x26; Beverage Business\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"class\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"0138\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"15 E 7TH STREET\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"city\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"NEW YORK\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"county\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"New York\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"zipcode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"10003\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"original_issue_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-04-03\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"last_issue_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-04-03\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"effective_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-07-01\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"expiration_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2027-06-30\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"latitude\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">40.72868\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"longitude\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">-73.98976\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"evidence\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"New York State Liquor Authority\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"source_kind\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"public\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"retrieved_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-20T00:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"calls\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"retrieved_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-10-20T00:00:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"as_of\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Liquor License","path":"/v1/tools/lookup/business-liquor-license","servers":[{"url":"https://win.oneshotagent.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"state":[{"type":"string","description":"State issuing the licence. One of `NY` .","required":true}],"license_id":[{"type":"string","description":"The source licence identifier; takes precedence over name."}],"name":[{"type":"string","description":"A distinctive fragment of the trade or legal name, matched ignoring case. 2 to 100 characters."}],"zipcode":[{"type":"string","description":"ZIP code to narrow the search."}],"limit":[{"type":"integer","description":"Most licences to return. From 1 to 25. Defaults to `10` ."}]}}],"examples":{"example":{"value":{"state":"\u003cstring>","license_id":"\u003cstring>","name":"\u003cstring>","zipcode":"\u003cstring>","limit":123}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data.request_id":[{"type":"string","description":"Durable job ID for audit and lookup"}],"data.status":[{"type":"string","description":"Job status: `completed`"}],"data.tool":[{"type":"string","description":"Always `business_liquor_license`"}],"data.result":[{"type":"object","properties":{},"description":"The answer, described under Result below"}],"data.evidence":[{"type":"object","properties":{},"description":"Where the answer came from and when"}],"data.cached":[{"type":"boolean","description":"`true` when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), `false` when the source was asked for this call"}],"data.fetched_at":[{"type":"string","description":"When the record was obtained from its source, as an ISO 8601 UTC time; equals `evidence.retrieved_at`"}],"data.evidence.source":[{"type":"string","description":"The public body the data comes from. Always `New York State Liquor Authority` ."}],"data.evidence.source_kind":[{"type":"string","description":"`public` when the data comes from a public body, `commercial` otherwise"}],"data.evidence.retrieved_at":[{"type":"string","description":"When the lookup was made, as an ISO 8601 UTC time"}],"data.evidence.as_of":[{"type":"object","properties":{},"description":"The rows have no update timestamp; null. retrieved_at dates the answer."}],"data.result.state":[{"type":"string","description":"The state asked for."}],"data.result.licenses":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Matching active licences, newest last issue date first; empty when none matched."}],"data.result.licenses[].license_id":[{"type":"string","description":"The source licence identifier."}],"data.result.licenses[].legal_name":[{"type":"object","properties":{},"description":"The legal name on the licence. `null` when the source gives no value."}],"data.result.licenses[].trade_name":[{"type":"object","properties":{},"description":"The trade name (DBA), or null when absent."}],"data.result.licenses[].description":[{"type":"object","properties":{},"description":"The licence type in the authority’s words. `null` when the source gives no value."}],"data.result.licenses[].class":[{"type":"object","properties":{},"description":"The licence class code, retaining leading zeros. `null` when the source gives no value."}],"data.result.licenses[].address":[{"type":"object","properties":{},"description":"The actual address of the premises, or null when absent."}],"data.result.licenses[].city":[{"type":"object","properties":{},"description":"The city of the premises, or null when absent."}],"data.result.licenses[].county":[{"type":"object","properties":{},"description":"The county of the premises. `null` when the source gives no value."}],"data.result.licenses[].zipcode":[{"type":"object","properties":{},"description":"The ZIP code of the premises. `null` when the source gives no value."}],"data.result.licenses[].original_issue_date":[{"type":"object","properties":{},"description":"Original issue date, YYYY-MM-DD or null."}],"data.result.licenses[].last_issue_date":[{"type":"object","properties":{},"description":"Most recent issue date, YYYY-MM-DD or null."}],"data.result.licenses[].effective_date":[{"type":"object","properties":{},"description":"Effective date, YYYY-MM-DD or null."}],"data.result.licenses[].expiration_date":[{"type":"object","properties":{},"description":"Expiration date, YYYY-MM-DD or null."}],"data.result.licenses[].latitude":[{"type":"object","properties":{},"description":"Latitude of the premises, or null when absent."}],"data.result.licenses[].longitude":[{"type":"object","properties":{},"description":"Longitude of the premises, or null when absent."}],"data.result.total":[{"type":"integer","description":"Rows returned, not a count of all matches; the source does not send a count."}]}}],"examples":{"example":{"value":{"data.request_id":"\u003cstring>","data.status":"\u003cstring>","data.tool":"\u003cstring>","data.result":{},"data.evidence":{},"data.cached":true,"data.fetched_at":"\u003cstring>","data.evidence.source":"\u003cstring>","data.evidence.source_kind":"\u003cstring>","data.evidence.retrieved_at":"\u003cstring>","data.evidence.as_of":{},"data.result.state":"\u003cstring>","data.result.licenses":[{}],"data.result.licenses[].license_id":"\u003cstring>","data.result.licenses[].legal_name":{},"data.result.licenses[].trade_name":{},"data.result.licenses[].description":{},"data.result.licenses[].class":{},"data.result.licenses[].address":{},"data.result.licenses[].city":{},"data.result.licenses[].county":{},"data.result.licenses[].zipcode":{},"data.result.licenses[].original_issue_date":{},"data.result.licenses[].last_issue_date":{},"data.result.licenses[].effective_date":{},"data.result.licenses[].expiration_date":{},"data.result.licenses[].latitude":{},"data.result.licenses[].longitude":{},"data.result.total":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"freebutter","siteName":"OneShot","title":"Liquor License - OneShot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T01:54:34.190Z","originalFileLocation":"api-reference/lookup/business-liquor-license.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneShot\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Liquor License - OneShot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneShot\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=Government+%26+legal\u0026amp;title=Liquor+License\u0026amp;description=Look+up+active+New+York+liquor+licences+by+licence+id+or+business+name%2C+with+classes%2C+premises+and+expiration+dates.\u0026amp;theme=6b005a85919ef293b21db27a\u0026amp;signature=131b201a30d7149f4798a4a193d9ed30623317f0b962509f0d575a961cd0401a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Liquor License - OneShot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=Government+%26+legal\u0026amp;title=Liquor+License\u0026amp;description=Look+up+active+New+York+liquor+licences+by+licence+id+or+business+name%2C+with+classes%2C+premises+and+expiration+dates.\u0026amp;theme=6b005a85919ef293b21db27a\u0026amp;signature=131b201a30d7149f4798a4a193d9ed30623317f0b962509f0d575a961cd0401a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/freebutter/Hs16x93Q_iOT-ism/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneShot\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/lookup/business-liquor-license.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.oneshotagent.com/#organization\",\"name\":\"OneShot\",\"url\":\"https://docs.oneshotagent.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/freebutter/UWfg9gt1IfuWbDDt/logo/light.svg?fit=max\u0026auto=format\u0026n=UWfg9gt1IfuWbDDt\u0026q=85\u0026s=72428dae0201cd91a3041443d2963096\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.oneshotagent.com#website\",\"name\":\"OneShot\",\"url\":\"https://docs.oneshotagent.com\",\"publisher\":{\"@id\":\"https://docs.oneshotagent.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license#webpage\",\"url\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license\",\"name\":\"Liquor License\",\"description\":\"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.\",\"dateModified\":\"2026-10-26T01:54:34.190Z\",\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data\",\"item\":\"https://docs.oneshotagent.com/api-reference/lookup/company-adviser-registration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Government \u0026 legal\",\"item\":\"https://docs.oneshotagent.com/api-reference/lookup/company-contractor-license\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Liquor License\",\"item\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license#apireference\",\"headline\":\"Liquor License\",\"name\":\"Liquor License\",\"description\":\"Look up active New York liquor licences by licence id or business name, with classes, premises and expiration dates.\",\"url\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/business-liquor-license#webpage\"},\"dateModified\":\"2026-10-26T01:54:34.190Z\",\"publisher\":{\"@id\":\"https://docs.oneshotagent.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneShot\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OneShot","nav":{"global":null,"tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"OpenAPI Specification","sidebarTitle":"OpenAPI Spec","icon":"file-code","href":"/api-reference/openapi"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Compute","pages":[{"group":"Goals","pages":[{"title":"Compute","sidebarTitle":"Create a goal","api":"POST https://win.oneshotagent.com/v1/compute","href":"/api-reference/compute/create"},{"title":"Goal Status","sidebarTitle":"Status","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}","href":"/api-reference/compute/status"},{"title":"Goal Tasks","sidebarTitle":"Tasks","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/tasks","href":"/api-reference/compute/tasks"},{"title":"Goal Cases","sidebarTitle":"Cases","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/cases","href":"/api-reference/compute/cases"},{"title":"Goal Outcomes","sidebarTitle":"Outcomes","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/outcomes","href":"/api-reference/compute/outcomes"},{"title":"Goal Outputs","sidebarTitle":"Outputs","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/outputs","href":"/api-reference/compute/outputs"}]},{"group":"Goal types","pages":[{"group":"Document Extraction","root":{"title":"Document Extraction","sidebarTitle":"Document Extraction","href":"/api-reference/compute/document-extraction"},"pages":[{"title":"Upload a document","sidebarTitle":"Upload a document","api":"POST https://win.oneshotagent.com/v1/compute/documents","href":"/api-reference/compute/documents-upload"},{"title":"Delete a document","sidebarTitle":"Delete a document","api":"DELETE https://win.oneshotagent.com/v1/compute/documents/{id}","href":"/api-reference/compute/documents-delete"}]}]},{"group":"Tools","pages":[{"title":"Solve","sidebarTitle":"Solve","api":"POST https://win.oneshotagent.com/v1/tools/solve","href":"/api-reference/solve"},{"title":"Predict","sidebarTitle":"Predict","api":"POST https://win.oneshotagent.com/v1/tools/predict","href":"/api-reference/predict"},{"title":"Predict: Alignment","sidebarTitle":"Predict: Alignment","api":"POST https://win.oneshotagent.com/v1/tools/predict","href":"/api-reference/predict-alignment"}]},{"group":"Working with a goal","pages":[{"title":"Events, Questions and Results","sidebarTitle":"Events, questions and results","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/events","href":"/api-reference/compute/events"},{"title":"Send events in bulk","sidebarTitle":"Send events in bulk","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/events/bulk","href":"/api-reference/compute/events-bulk"},{"title":"My Cases","sidebarTitle":"My cases","api":"GET https://win.oneshotagent.com/v1/org/cases/mine","href":"/api-reference/compute/cases-mine"},{"title":"Post to a Case","sidebarTitle":"Post to a case","api":"POST https://win.oneshotagent.com/v1/org/goals/{goalId}/cases/{key}/events","href":"/api-reference/compute/case-events"},{"title":"Upload a list","sidebarTitle":"Upload a list","api":"POST https://win.oneshotagent.com/v1/compute/lists","href":"/api-reference/compute/lists-upload"},{"title":"Respond to a Goal","sidebarTitle":"Respond","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/respond","href":"/api-reference/compute/respond"}]},{"group":"Budget and control","pages":[{"title":"Compute Budget","sidebarTitle":"Budget","api":"GET https://win.oneshotagent.com/v1/compute/{goalId}/budget","href":"/api-reference/compute/budget"},{"title":"Fund Goal","sidebarTitle":"Fund","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/fund","href":"/api-reference/compute/fund"},{"title":"Pause Goal","sidebarTitle":"Pause","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/pause","href":"/api-reference/compute/pause"},{"title":"Resume Goal","sidebarTitle":"Resume","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/resume","href":"/api-reference/compute/resume"},{"title":"Stop Goal Now","sidebarTitle":"Stop now","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/stop","href":"/api-reference/compute/stop"},{"title":"Cancel Cases","sidebarTitle":"Cancel cases","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/cases/cancel","href":"/api-reference/compute/cases-cancel"},{"title":"Cancel Goal","sidebarTitle":"Cancel","api":"POST https://win.oneshotagent.com/v1/compute/{goalId}/cancel","href":"/api-reference/compute/cancel"}]}]},{"group":"Connections","root":{"title":"Connections","sidebarTitle":"Overview","href":"/api-reference/connections/overview"},"pages":[{"title":"Repositories","sidebarTitle":"Repositories","api":"POST https://win.oneshotagent.com/v1/connections","href":"/api-reference/connections/repositories"},{"title":"Accounting","api":"POST https://win.oneshotagent.com/v1/tools/ledger/invoices","href":"/api-reference/connections/accounting"},{"title":"CRM","api":"POST https://win.oneshotagent.com/v1/tools/crm/accounts","href":"/api-reference/connections/crm"},{"title":"Follow Up Boss and Affinity","api":"POST https://win.oneshotagent.com/v1/tools/crm/opportunities","href":"/api-reference/connections/crm/systems"},{"title":"Tax","api":"POST https://win.oneshotagent.com/v1/tools/tax/rates","href":"/api-reference/connections/tax"},{"title":"Shipping","api":"POST https://win.oneshotagent.com/v1/tools/shipping/shipments","href":"/api-reference/connections/shipping"},{"title":"Procurement","api":"POST https://win.oneshotagent.com/v1/tools/procurement/transactions","href":"/api-reference/connections/procurement"},{"title":"Meetings","api":"POST https://win.oneshotagent.com/v1/tools/meetings/list","href":"/api-reference/connections/meetings"},{"title":"Phone calls","api":"POST https://win.oneshotagent.com/v1/tools/calls/list","href":"/api-reference/connections/calls"},{"title":"Legal matters","api":"POST https://win.oneshotagent.com/v1/tools/matters/list","href":"/api-reference/connections/matters"},{"title":"Client work","api":"POST https://win.oneshotagent.com/v1/tools/client_work/clients","href":"/api-reference/connections/client-work"},{"title":"Portfolio","api":"POST https://win.oneshotagent.com/v1/tools/portfolio/holdings","href":"/api-reference/connections/portfolio"},{"title":"Practice","api":"POST https://win.oneshotagent.com/v1/tools/practice/patients","href":"/api-reference/connections/practice"},{"title":"Mailbox","api":"POST https://win.oneshotagent.com/v1/tools/mailbox/messages","href":"/api-reference/connections/mailbox"},{"title":"Files","api":"POST https://win.oneshotagent.com/v1/tools/files/search","href":"/api-reference/connections/files"},{"title":"Field service","api":"POST https://win.oneshotagent.com/v1/tools/field_service/clients","href":"/api-reference/connections/field-service"}]},{"group":"Data","pages":[{"group":"Companies \u0026 finance","pages":[{"title":"Adviser Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-adviser-registration","href":"/api-reference/lookup/company-adviser-registration"},{"title":"Bank Profile","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-bank-profile","href":"/api-reference/lookup/company-bank-profile"},{"title":"Company Dossier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-dossier","href":"/api-reference/lookup/company-dossier"},{"title":"Company Filings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-filings","href":"/api-reference/lookup/company-filings"},{"title":"Consumer Finance Complaints","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-consumer-complaints","href":"/api-reference/lookup/company-consumer-complaints"},{"title":"Domain Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-domain-registration","href":"/api-reference/lookup/company-domain-registration"},{"title":"Environmental Compliance","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-environmental-compliance","href":"/api-reference/lookup/company-environmental-compliance"},{"title":"Export Restrictions","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-export-restrictions","href":"/api-reference/lookup/company-export-restrictions"},{"title":"Federal Awards","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-federal-awards","href":"/api-reference/lookup/company-federal-awards"},{"title":"Fund Holdings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-fund-holdings","href":"/api-reference/lookup/company-fund-holdings"},{"title":"Home Price Index","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-home-price-index","href":"/api-reference/lookup/place-home-price-index"},{"title":"Insider Trades","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-insider-trades","href":"/api-reference/lookup/company-insider-trades"},{"title":"Interest Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-interest-rates","href":"/api-reference/lookup/market-interest-rates"},{"title":"Jobs and Wages","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-jobs-wages","href":"/api-reference/lookup/place-jobs-wages"},{"title":"Legal Entity Identifier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-legal-identifier","href":"/api-reference/lookup/company-legal-identifier"},{"title":"Motor Carrier Record","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-motor-carrier","href":"/api-reference/lookup/company-motor-carrier"},{"title":"Nonprofit Status","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-nonprofit-status","href":"/api-reference/lookup/company-nonprofit-status"},{"title":"Private Raises","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-private-raises","href":"/api-reference/lookup/company-private-raises"},{"title":"Radio Licenses","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-radio-licenses","href":"/api-reference/lookup/company-radio-licenses"},{"title":"Reported Financials","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-financials","href":"/api-reference/lookup/company-financials"},{"title":"Sanctions Listing","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-sanctions","href":"/api-reference/sanctions"},{"title":"SBA Loans","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-sba-loans","href":"/api-reference/lookup/company-sba-loans"},{"title":"VAT Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-vat-registration","href":"/api-reference/lookup/company-vat-registration"},{"title":"Visa Sponsorship","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-visa-sponsorship","href":"/api-reference/lookup/company-visa-sponsorship"}]},{"group":"Health","pages":[{"title":"Care Quality Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-care-quality","href":"/api-reference/lookup/company-care-quality"},{"title":"Clinical Trials","api":"POST https://win.oneshotagent.com/v1/tools/find/record-clinical-trials","href":"/api-reference/lookup/record-clinical-trials"},{"title":"Cosmetic Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-cosmetic-adverse-events","href":"/api-reference/lookup/product-cosmetic-adverse-events"},{"title":"Device Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-adverse-events","href":"/api-reference/lookup/product-device-adverse-events"},{"title":"Device Clearances","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-clearances","href":"/api-reference/lookup/product-device-clearances"},{"title":"Device Identifier","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-device-identifier","href":"/api-reference/lookup/product-device-identifier"},{"title":"Drug Acquisition Cost","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-drug-acquisition-cost","href":"/api-reference/lookup/market-drug-acquisition-cost"},{"title":"Drug Adverse Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-adverse-events","href":"/api-reference/lookup/product-drug-adverse-events"},{"title":"Drug Equivalents","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-equivalents","href":"/api-reference/lookup/product-drug-equivalents"},{"title":"Drug Label","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-label","href":"/api-reference/lookup/product-drug-label"},{"title":"Drug Shortages","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-drug-shortages","href":"/api-reference/lookup/product-drug-shortages"},{"title":"FDA Establishment Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-fda-registration","href":"/api-reference/lookup/company-fda-registration"},{"title":"Health Inspections","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-health-inspections","href":"/api-reference/lookup/business-health-inspections"},{"title":"Health Provider Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-health-provider","href":"/api-reference/lookup/person-health-provider"},{"title":"Health Provider Registration (organization)","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-health-provider","href":"/api-reference/lookup/company-health-provider"},{"title":"Hospitals","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hospitals","href":"/api-reference/lookup/place-hospitals"},{"title":"Medicare Drug Spending","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-medicare-drug-spending","href":"/api-reference/lookup/market-medicare-drug-spending"},{"title":"Medicare Fee Schedule","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-medicare-fees","href":"/api-reference/lookup/market-medicare-fees"},{"title":"Medicare Ownership","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-medicare-ownership","href":"/api-reference/lookup/company-medicare-ownership"}]},{"group":"Places \u0026 hazards","pages":[{"title":"Building Permits","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-permits","href":"/api-reference/building-permits"},{"title":"Disaster Declarations","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-disasters","href":"/api-reference/lookup/place-disasters"},{"title":"Drinking Water","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-drinking-water","href":"/api-reference/lookup/place-drinking-water"},{"title":"Earthquakes","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-earthquakes","href":"/api-reference/lookup/place-earthquakes"},{"title":"Environmental Sites","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites","href":"/api-reference/lookup/place-environmental-sites"},{"title":"Flood Insurance Claims","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-flood-claims","href":"/api-reference/lookup/place-flood-claims"},{"title":"Flood Zone","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-flood-zone","href":"/api-reference/lookup/place-flood-zone"},{"title":"Hail and Wind Reports","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hail-wind-reports","href":"/api-reference/lookup/place-hail-wind-reports"},{"title":"Hazard Risk","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-hazard-risk","href":"/api-reference/lookup/place-hazard-risk"},{"title":"Opportunity Zone","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-opportunity-zone","href":"/api-reference/lookup/place-opportunity-zone"},{"title":"Place Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/place","href":"/api-reference/lookup/place"},{"title":"Schools","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-schools","href":"/api-reference/lookup/place-schools"},{"title":"Storm Events","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-storm-events","href":"/api-reference/lookup/place-storm-events"},{"title":"Tropical Cyclones","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-tropical-cyclones","href":"/api-reference/lookup/place-tropical-cyclones"},{"title":"Weather Alerts","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-weather-alerts","href":"/api-reference/lookup/place-weather-alerts"},{"title":"Wildfires","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-wildfires","href":"/api-reference/lookup/place-wildfires"}]},{"group":"Places \u0026 imagery","pages":[{"title":"Camera Check","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-camera-snapshot","href":"/api-reference/lookup/place-camera-snapshot"},{"title":"Radar Imagery","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-radar-imagery","href":"/api-reference/lookup/place-radar-imagery"},{"title":"Recent Imagery","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-recent-imagery","href":"/api-reference/lookup/place-recent-imagery"},{"title":"Satellite Passes","api":"POST https://win.oneshotagent.com/v1/tools/lookup/place-satellite-passes","href":"/api-reference/lookup/place-satellite-passes"}]},{"group":"Products \u0026 vehicles","pages":[{"title":"Aircraft Registration","api":"POST https://win.oneshotagent.com/v1/tools/lookup/aircraft-registration","href":"/api-reference/lookup/aircraft-registration"},{"title":"Crash Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-crash-ratings","href":"/api-reference/lookup/vehicle-crash-ratings"},{"title":"Duty Rate","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-duty-rate","href":"/api-reference/lookup/product-duty-rate"},{"title":"Energy Efficiency Certification","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-energy-certification","href":"/api-reference/lookup/product-energy-certification"},{"title":"Freight Index","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-index","href":"/api-reference/lookup/market-freight-index"},{"title":"Freight Rate Quote","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-freight-rate","href":"/api-reference/lookup/market-freight-rate"},{"title":"Fuel Economy","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-fuel-economy","href":"/api-reference/lookup/vehicle-fuel-economy"},{"title":"Product Recalls","api":"POST https://win.oneshotagent.com/v1/tools/lookup/product-recalls","href":"/api-reference/lookup/product-recalls"},{"title":"Truck Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-truck-rates","href":"/api-reference/lookup/market-truck-rates"},{"title":"Vehicle Complaints","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-complaints","href":"/api-reference/lookup/vehicle-complaints"},{"title":"Vehicle Identification","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-identification","href":"/api-reference/lookup/vehicle-identification"},{"title":"Vehicle Recalls","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vehicle-recalls","href":"/api-reference/lookup/vehicle-recalls"}]},{"group":"Government \u0026 legal","pages":[{"title":"Contractor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-contractor-license","href":"/api-reference/lookup/company-contractor-license"},{"title":"Court Cases","api":"POST https://win.oneshotagent.com/v1/tools/find/record-court-cases","href":"/api-reference/lookup/record-court-cases"},{"title":"Customs Rulings","api":"POST https://win.oneshotagent.com/v1/tools/find/record-customs-rulings","href":"/api-reference/lookup/record-customs-rulings"},{"title":"Federal Labor Rates","api":"POST https://win.oneshotagent.com/v1/tools/lookup/market-federal-labor-rates","href":"/api-reference/lookup/market-federal-labor-rates"},{"title":"Federal Register Documents","api":"POST https://win.oneshotagent.com/v1/tools/find/record-federal-register","href":"/api-reference/lookup/record-federal-register"},{"title":"Federal Solicitations","sidebarTitle":"Solicitations","api":"POST https://win.oneshotagent.com/v1/tools/find/record-solicitations","description":"Federal contract opportunities (SAM.gov) by NAICS code, with the contracting officer's published contact.","href":"/api-reference/gov/solicitations"},{"title":"Liquor License","api":"POST https://win.oneshotagent.com/v1/tools/lookup/business-liquor-license","href":"/api-reference/lookup/business-liquor-license"},{"title":"Lobbying","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-lobbying","description":"Look up a company’s US federal lobbying filings, firms, reported spending and issues.","href":"/api-reference/lookup/company-lobbying"},{"title":"Regulatory Dockets","api":"POST https://win.oneshotagent.com/v1/tools/find/record-dockets","href":"/api-reference/lookup/record-dockets"},{"title":"Vulnerability","api":"POST https://win.oneshotagent.com/v1/tools/lookup/record-vulnerability","href":"/api-reference/lookup/record-vulnerability"}]},{"group":"Life sciences","pages":[{"title":"Compound Hazards","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-hazards","href":"/api-reference/lookup/compound-hazards"},{"title":"Compound Properties","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-properties","href":"/api-reference/lookup/compound-properties"},{"title":"Compound Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/compound","href":"/api-reference/lookup/compound"},{"title":"Compound Targets","api":"POST https://win.oneshotagent.com/v1/tools/lookup/compound-targets","href":"/api-reference/lookup/compound-targets"},{"title":"Gene Diseases","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-diseases","href":"/api-reference/lookup/gene-diseases"},{"title":"Gene Expression","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-expression","href":"/api-reference/lookup/gene-expression"},{"title":"Gene Pathways","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-pathways","href":"/api-reference/lookup/gene-pathways"},{"title":"Gene Publications","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-publications","href":"/api-reference/lookup/gene-publications"},{"title":"Gene Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/gene","href":"/api-reference/lookup/gene"},{"title":"Gene Summary","api":"POST https://win.oneshotagent.com/v1/tools/lookup/gene-summary","href":"/api-reference/lookup/gene-summary"},{"title":"Gene Variants","api":"POST https://win.oneshotagent.com/v1/tools/find/gene-variants","href":"/api-reference/lookup/gene-variants"},{"title":"Organism Identity","api":"POST https://win.oneshotagent.com/v1/tools/resolve/organism","href":"/api-reference/lookup/organism"},{"title":"Protein Domains","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-domains","href":"/api-reference/lookup/protein-domains"},{"title":"Protein Function","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-function","href":"/api-reference/lookup/protein-function"},{"title":"Protein Interactions","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-interactions","href":"/api-reference/lookup/protein-interactions"},{"title":"Protein Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/protein","href":"/api-reference/lookup/protein"},{"title":"Protein Sequence","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-sequence","href":"/api-reference/lookup/protein-sequence"},{"title":"Protein Structure","api":"POST https://win.oneshotagent.com/v1/tools/lookup/protein-structure","href":"/api-reference/lookup/protein-structure"},{"title":"Publications","api":"POST https://win.oneshotagent.com/v1/tools/find/record-publications","href":"/api-reference/lookup/record-publications"},{"title":"Variant Clinical Significance","api":"POST https://win.oneshotagent.com/v1/tools/lookup/variant-clinical-significance","href":"/api-reference/lookup/variant-clinical-significance"},{"title":"Variant Frequency","api":"POST https://win.oneshotagent.com/v1/tools/lookup/variant-frequency","href":"/api-reference/lookup/variant-frequency"},{"title":"Variant Resolve","api":"POST https://win.oneshotagent.com/v1/tools/resolve/variant","href":"/api-reference/lookup/variant"}]}]},{"group":"Monitoring","pages":[{"title":"Watch","api":"POST https://win.oneshotagent.com/v1/tools/watch","href":"/api-reference/watch"},{"title":"Changes","api":"POST https://win.oneshotagent.com/v1/tools/changes","href":"/api-reference/changes"},{"title":"Benchmark","api":"POST https://win.oneshotagent.com/v1/tools/benchmark","href":"/api-reference/benchmark"}]},{"group":"Research \u0026 Enrich","pages":[{"title":"Deep Research","api":"POST https://win.oneshotagent.com/v1/tools/research","href":"/api-reference/research"},{"title":"Person Intelligence","sidebarTitle":"Person Intelligence","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-dossier","href":"/api-reference/research/person-intelligence"},{"title":"Person Find","api":"POST /v1/tools/find/person","href":"/api-reference/research/person-find"},{"title":"Company Research","sidebarTitle":"Company Research","api":"POST https://win.oneshotagent.com/v1/tools/find/company","href":"/api-reference/research/company"},{"title":"Enrich Profile","api":"POST /v1/tools/lookup/person-profile","href":"/api-reference/enrich/profile"},{"title":"Find Email","api":"POST /v1/tools/lookup/person-email","href":"/api-reference/enrich/email"},{"title":"Verify Email","api":"POST /v1/tools/lookup/person-email-status","href":"/api-reference/verify/email"},{"title":"Identity Verification","api":"POST https://win.oneshotagent.com/v1/tools/identity/start","href":"/api-reference/identity"},{"title":"Local Businesses","sidebarTitle":"Local Businesses","api":"POST https://win.oneshotagent.com/v1/tools/find/business","href":"/api-reference/local/businesses"}]},{"group":"Messaging","pages":[{"group":"Email","pages":[{"title":"Get Email Quote","api":"POST https://win.oneshotagent.com/v1/tools/email/quote","href":"/api-reference/email/quote"},{"title":"Email","api":"POST https://win.oneshotagent.com/v1/tools/email/send","href":"/api-reference/email/send"},{"title":"List Domain Pool","api":"GET https://win.oneshotagent.com/v1/tools/email/domains","href":"/api-reference/email/domains"},{"title":"Connect your sending domain","api":"POST https://win.oneshotagent.com/v1/domains/setup","href":"/api-reference/email/domain-setup"},{"title":"Buy a sending domain","api":"POST https://win.oneshotagent.com/v1/domains/buy","href":"/api-reference/email/domain-purchase"},{"title":"Pause Domain","api":"POST https://win.oneshotagent.com/v1/tools/email/domains/{domain}/pause","href":"/api-reference/email/domain-pause"},{"title":"Resume Domain","api":"POST https://win.oneshotagent.com/v1/tools/email/domains/{domain}/resume","href":"/api-reference/email/domain-resume"}]},{"group":"Email Inbox","pages":[{"title":"Email Inbox","api":"GET https://win.oneshotagent.com/v1/tools/inbox","href":"/api-reference/inbox/list"},{"title":"Read Email","api":"GET https://win.oneshotagent.com/v1/tools/inbox/{emailId}","href":"/api-reference/inbox/get"}]},{"group":"Voice","pages":[{"title":"Voice Call","api":"POST https://win.oneshotagent.com/v1/tools/voice/call","href":"/api-reference/voice/call"},{"title":"Inbound Calls","api":"PUT https://win.oneshotagent.com/v1/tools/voice/numbers/{id}/inbound","href":"/api-reference/voice/inbound"}]},{"group":"SMS","pages":[{"title":"SMS","api":"POST https://win.oneshotagent.com/v1/tools/sms/send","href":"/api-reference/sms/send"},{"title":"SMS Inbox","api":"GET https://win.oneshotagent.com/v1/tools/sms/inbox","href":"/api-reference/sms/inbox-list"},{"title":"Read SMS","api":"GET https://win.oneshotagent.com/v1/tools/sms/inbox/{messageId}","href":"/api-reference/sms/inbox-get"}]},{"group":"Physical Mail","root":{"title":"Physical Mail","sidebarTitle":"Physical Mail","icon":"envelope-open-text","href":"/api-reference/physical-mail/overview"},"pages":[{"title":"Upload artwork","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/assets","href":"/api-reference/physical-mail/assets"},{"title":"Validate an address","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/validate-address","href":"/api-reference/physical-mail/validate-address"},{"title":"Preview and quote a mailpiece","sidebarTitle":"Preview","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/preview","href":"/api-reference/physical-mail/preview"},{"title":"Get a quote","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/quotes/{id}","href":"/api-reference/physical-mail/quote"},{"title":"Approve a quote","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/approve","href":"/api-reference/physical-mail/approve"},{"title":"Send an approved mailpiece","sidebarTitle":"Send","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/send","href":"/api-reference/physical-mail/send"},{"title":"Get an order","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/orders/{id}","href":"/api-reference/physical-mail/order"},{"title":"Recover an order","api":"GET https://win.oneshotagent.com/v1/tools/physical-mail/orders/recover","href":"/api-reference/physical-mail/recover"},{"title":"Cancel an order","api":"POST https://win.oneshotagent.com/v1/tools/physical-mail/orders/{id}/cancel","href":"/api-reference/physical-mail/cancel"}]},{"group":"LinkedIn","root":{"title":"LinkedIn Messaging","sidebarTitle":"Overview","href":"/api-reference/linkedin/overview"},"pages":[{"title":"Connect a LinkedIn Account","sidebarTitle":"Connect","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/connect","href":"/api-reference/linkedin/connect"},{"title":"Connected Accounts","sidebarTitle":"Accounts","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts","href":"/api-reference/linkedin/accounts"},{"title":"Sync History","sidebarTitle":"Sync","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/sync","href":"/api-reference/linkedin/sync"},{"title":"List Conversations","sidebarTitle":"Conversations","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/conversations","href":"/api-reference/linkedin/conversations"},{"title":"List Messages","sidebarTitle":"Messages","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/messages","href":"/api-reference/linkedin/messages"},{"title":"Send a Reply","sidebarTitle":"Reply","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/reply","href":"/api-reference/linkedin/reply"},{"title":"Message a Connection","sidebarTitle":"Message","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/message","href":"/api-reference/linkedin/message"},{"title":"Profile Views and Reactions","sidebarTitle":"Engagement","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/profile-view","href":"/api-reference/linkedin/engagement"},{"title":"Send an invitation","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/invite","href":"/api-reference/linkedin/invite"},{"title":"Withdraw an invitation","api":"POST https://win.oneshotagent.com/v1/tools/linkedin/invite/withdraw","href":"/api-reference/linkedin/withdraw"},{"title":"Invitation Status","sidebarTitle":"Invitation status","api":"GET https://win.oneshotagent.com/v1/tools/linkedin/accounts/{id}/invitations","href":"/api-reference/linkedin/invitations"}]}]},{"group":"Web \u0026 Browser","pages":[{"title":"Web Search","api":"POST https://win.oneshotagent.com/v1/tools/search","href":"/api-reference/web-search"},{"title":"Web Read","api":"POST https://win.oneshotagent.com/v1/tools/web-read","href":"/api-reference/web-read"},{"title":"Browser","api":"POST https://win.oneshotagent.com/v1/tools/browser","href":"/api-reference/browser/create"},{"title":"Browser Profiles","api":"POST https://win.oneshotagent.com/v1/tools/browser/profiles","href":"/api-reference/browser/profiles"}]},{"group":"Build","pages":[{"title":"Build Site","api":"POST https://win.oneshotagent.com/v1/tools/build","href":"/api-reference/build/create"},{"title":"Update Build","api":"POST https://win.oneshotagent.com/v1/tools/build","href":"/api-reference/build/update"}]},{"group":"Commerce","pages":[{"title":"Product Search","api":"POST /v1/tools/find/product","href":"/api-reference/find/product"},{"title":"Purchase","api":"POST /v1/tools/commerce/buy","href":"/api-reference/commerce/buy"}]},{"group":"Account \u0026 billing","pages":[{"group":"Account","pages":[{"title":"Notifications","api":"GET /v1/tools/notifications","href":"/api-reference/notifications/list"},{"title":"Mark Read","api":"PATCH /v1/tools/notifications/{id}/read","href":"/api-reference/notifications/read"}]},{"group":"Credits","pages":[{"title":"Top Up Credits","api":"POST https://win.oneshotagent.com/v1/credits/top-up","href":"/api-reference/credits/top-up"}]},{"group":"Budgets","root":{"title":"Spend Budgets","sidebarTitle":"Overview","icon":"gauge","href":"/api-reference/budgets/overview"},"pages":[{"title":"Get Budget","api":"GET https://win.oneshotagent.com/v1/agents/me/budgets","icon":"gauge","href":"/api-reference/budgets/get"},{"title":"Set Budget","api":"PUT https://win.oneshotagent.com/v1/agents/me/budgets","icon":"sliders","href":"/api-reference/budgets/set"}]},{"group":"Approvals","root":{"title":"Approvals","sidebarTitle":"Overview","icon":"circle-check","href":"/api-reference/approvals/overview"},"pages":[{"title":"Ask for approval","api":"POST https://win.oneshotagent.com/v1/approvals","icon":"circle-check","href":"/api-reference/approvals/create"},{"title":"List approvals","api":"GET https://win.oneshotagent.com/v1/approvals","icon":"list","href":"/api-reference/approvals/list"},{"title":"Get approval","api":"GET https://win.oneshotagent.com/v1/approvals/{id}","icon":"circle-info","href":"/api-reference/approvals/get"},{"title":"Cancel approval","api":"POST https://win.oneshotagent.com/v1/approvals/{id}/cancel","icon":"ban","href":"/api-reference/approvals/cancel"},{"title":"Get action policy","api":"GET https://win.oneshotagent.com/v1/agents/me/action-policy","icon":"shield","href":"/api-reference/approvals/get-action-policy"},{"title":"Set action policy","api":"PUT https://win.oneshotagent.com/v1/agents/me/action-policy","icon":"sliders","href":"/api-reference/approvals/set-action-policy"}]},{"group":"Receipts \u0026 Analytics","root":{"title":"Receipts \u0026 Analytics","sidebarTitle":"Overview","icon":"receipt","href":"/api-reference/analytics/overview"},"pages":[{"title":"List Receipts","sidebarTitle":"List Receipts","api":"GET https://win.oneshotagent.com/v1/analytics/receipts","icon":"list","href":"/api-reference/analytics/receipts"},{"title":"Spend Breakdown","sidebarTitle":"Spend Breakdown","api":"GET https://win.oneshotagent.com/v1/analytics/spend/breakdown","icon":"chart-pie","href":"/api-reference/analytics/spend-breakdown"},{"title":"Return on Cognitive Spend","sidebarTitle":"RoCS","api":"GET https://win.oneshotagent.com/v1/analytics/rocs","icon":"chart-line-up","href":"/api-reference/analytics/rocs"},{"title":"Tag Receipt Value","sidebarTitle":"Tag Value","api":"PATCH https://win.oneshotagent.com/v1/analytics/receipts/{receiptId}/value","icon":"tag","href":"/api-reference/analytics/value"}]}]},{"group":"Other","pages":[{"title":"Check Job Status","api":"GET https://win.oneshotagent.com/v1/requests/{id}","href":"/api-reference/status"}]}]},{"tab":"OneShot GTM","pages":[{"title":"OneShot GTM","href":"/oneshot-gtm/introduction"}]},{"tab":"Stripe ACP","pages":[{"title":"Stripe ACP","href":"/api-reference/acp/overview"}]},{"tab":"Soul.Markets","pages":[{"title":"Soul.Markets","href":"/api-reference/soul/overview"}]},{"tab":"SoulHunt","pages":[{"title":"SoulHunt","href":"/api-reference/soulhunt/overview"}]}]},"basePath":"","title":"Liquor License - OneShot","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js"]}