Returns official star ratings of a US hospital, nursing home, home health agency, hospice or dialysis facility by CMS Certification Number or name, from the US Centers for Medicare & Medicaid Services: overall rating from 1 to 5, plus nursing home inspection, quality and staffing ratings. A null rating means the source published none.
Authentication
Requires x402 payment in the payment-signature header.
Request Body
string
required
Which register to read; each kind of facility is rated in its own dataset. One of hospital, nursing_home, home_health, hospice, dialysis.
string
The facility CMS Certification Number (Medicare provider number). A CMS Certification Number is six digits or capital letters.
string
Case-insensitive substring of the facility name. 3 to 100 characters.
string
State abbreviation; only with facility_name.
integer
Most facilities to return. From 1 to 10. Defaults to 5.
Response (200 OK)
Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always company_care_quality
object
The answer, described under Result below
object
Where the answer came from and when
boolean
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
string
When the record was obtained from its source, as an ISO 8601 UTC time; equals evidence.retrieved_at
string
The public body the data comes from. Always US Centers for Medicare & Medicaid Services.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
For nursing homes, the date the source processed the register release that answered; null for other facility types, whose rows carry no date.
Result
Nested under data.result.
string
Facility type.
string
Rating name.
boolean
Has more.
object[]
Facilities.
string
Ccn.
string
Name.
string | null
City. null when the source gives no value.
string | null
State. null when the source gives no value.
string | null
Zip code. null when the source gives no value.
string | null
Ownership. null when the source gives no value.
string | null
Chain. null when the source gives no value.
integer | null
Overall rating. null when the source gives no value.
string | null
Overall rating footnote. null when the source gives no value.
object | null
Component ratings. null when the source gives no value.
integer | null
Health inspection. null when the source gives no value.
integer | null
Quality measures. null when the source gives no value.
integer | null
Long stay quality. null when the source gives no value.
integer | null
Short stay quality. null when the source gives no value.
integer | null
Staffing. null when the source gives no value.
string | null
Special focus status. null when the source gives no value.
boolean | null
Abuse cited. null when the source gives no value.
string | null
Rating period. null when the source gives no value.
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.
Notes
rating_name identifies the rating for each facility_type: hospital overall quality, nursing home overall five-star, home health patient care quality, hospice family caregiver survey summary, or dialysis facility five-star.
Names match substrings; use has_more and the CCN to distinguish facilities. No match completes with facilities: [].
Use place_hospitals to list hospitals in a ZIP code and company_medicare_ownership for ownership details. Only the current release is served; history begins with our first observation.
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":""},"entitlements":{},"buildId":"6af6f4b023024a424fe6182f","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"API Reference","count":221},{"language":"default","tag":"Data","count":110},{"language":"default","tag":"Get Started","count":40},{"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":"custom-rbac-roles","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":"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":"llms-txt-v2","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/company-care-quality","slug":"/api-reference/lookup/company-care-quality","pageMetadata":{"title":"Care Quality Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-care-quality","description":"Look up official Medicare star ratings for a care facility.","href":"/api-reference/lookup/company-care-quality"},"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 official Medicare star ratings for a care facility.\"\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 official star ratings of a US hospital, nursing home, home health agency, hospice or dialysis facility by CMS Certification Number or name, from the US Centers for Medicare \u0026 Medicaid Services: overall rating from 1 to 5, plus nursing home inspection, quality and staffing ratings. A null rating means the source published none.`}),`\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:`facility_type`,type:`string`,required:true,id:`param-facility-type`,children:_jsxs(_components.p,{children:[`Which register to read; each kind of facility is rated in its own dataset. One of `,_jsx(_components.code,{children:`hospital`}),`, `,_jsx(_components.code,{children:`nursing_home`}),`, `,_jsx(_components.code,{children:`home_health`}),`, `,_jsx(_components.code,{children:`hospice`}),`, `,_jsx(_components.code,{children:`dialysis`}),`.`]})}),`\n`,_jsx(ParamField,{body:`ccn`,type:`string`,id:`param-ccn`,children:_jsx(_components.p,{children:`The facility CMS Certification Number (Medicare provider number). A CMS Certification Number is six digits or capital letters.`})}),`\n`,_jsx(ParamField,{body:`facility_name`,type:`string`,id:`param-facility-name`,children:_jsx(_components.p,{children:`Case-insensitive substring of the facility name. 3 to 100 characters.`})}),`\n`,_jsx(ParamField,{body:`state`,type:`string`,id:`param-state`,children:_jsx(_components.p,{children:`State abbreviation; only with facility_name.`})}),`\n`,_jsx(ParamField,{body:`limit`,type:`integer`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Most facilities to return. From 1 to 10. Defaults to `,_jsx(_components.code,{children:`5`}),`.`]})}),`\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:`company_care_quality`})]})}),`\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:`US Centers for Medicare \u0026 Medicaid Services`}),`.`]})}),`\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:`For nursing homes, the date the source processed the register release that answered; null for other facility types, whose rows carry no date.`})}),`\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.facility_type`,type:`string`,id:`param-data-result-facility-type`,children:_jsx(_components.p,{children:`Facility type.`})}),`\n`,_jsx(ResponseField,{name:`data.result.rating_name`,type:`string`,id:`param-data-result-rating-name`,children:_jsx(_components.p,{children:`Rating name.`})}),`\n`,_jsx(ResponseField,{name:`data.result.has_more`,type:`boolean`,id:`param-data-result-has-more`,children:_jsx(_components.p,{children:`Has more.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities`,type:`object[]`,id:`param-data-result-facilities`,children:_jsx(_components.p,{children:`Facilities.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].ccn`,type:`string`,id:`param-data-result-facilities-ccn`,children:_jsx(_components.p,{children:`Ccn.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].name`,type:`string`,id:`param-data-result-facilities-name`,children:_jsx(_components.p,{children:`Name.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].city`,type:`string | null`,id:`param-data-result-facilities-city`,children:_jsxs(_components.p,{children:[`City. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].state`,type:`string | null`,id:`param-data-result-facilities-state`,children:_jsxs(_components.p,{children:[`State. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].zip_code`,type:`string | null`,id:`param-data-result-facilities-zip-code`,children:_jsxs(_components.p,{children:[`Zip code. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].ownership`,type:`string | null`,id:`param-data-result-facilities-ownership`,children:_jsxs(_components.p,{children:[`Ownership. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].chain`,type:`string | null`,id:`param-data-result-facilities-chain`,children:_jsxs(_components.p,{children:[`Chain. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].overall_rating`,type:`integer | null`,id:`param-data-result-facilities-overall-rating`,children:_jsxs(_components.p,{children:[`Overall rating. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].overall_rating_footnote`,type:`string | null`,id:`param-data-result-facilities-overall-rating-footnote`,children:_jsxs(_components.p,{children:[`Overall rating footnote. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings`,type:`object | null`,id:`param-data-result-facilities-component-ratings`,children:_jsxs(_components.p,{children:[`Component ratings. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.health_inspection`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-health-inspection`,children:_jsxs(_components.p,{children:[`Health inspection. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.quality_measures`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-quality-measures`,children:_jsxs(_components.p,{children:[`Quality measures. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.long_stay_quality`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-long-stay-quality`,children:_jsxs(_components.p,{children:[`Long stay quality. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.short_stay_quality`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-short-stay-quality`,children:_jsxs(_components.p,{children:[`Short stay quality. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.staffing`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-staffing`,children:_jsxs(_components.p,{children:[`Staffing. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].special_focus_status`,type:`string | null`,id:`param-data-result-facilities-special-focus-status`,children:_jsxs(_components.p,{children:[`Special focus status. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].abuse_cited`,type:`boolean | null`,id:`param-data-result-facilities-abuse-cited`,children:_jsxs(_components.p,{children:[`Abuse cited. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].rating_period`,type:`string | null`,id:`param-data-result-facilities-rating-period`,children:_jsxs(_components.p,{children:[`Rating period. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\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`,_jsx(_components.li,{children:`rating_name identifies the rating for each facility_type: hospital overall quality, nursing home overall five-star, home health patient care quality, hospice family caregiver survey summary, or dialysis facility five-star.`}),`\n`,_jsx(_components.li,{children:`Names match substrings; use has_more and the CCN to distinguish facilities. No match completes with facilities: [].`}),`\n`,_jsx(_components.li,{children:`Use place_hospitals to list hospitals in a ZIP code and company_medicare_ownership for ownership details. Only the current release is served; history begins with our first observation.`}),`\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":"Care Quality Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-care-quality","description":"Look up official Medicare star ratings for a care facility.","href":"/api-reference/lookup/company-care-quality"}}},"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 official star ratings of a US hospital, nursing home, home health agency, hospice or dialysis facility by CMS Certification Number or name, from the US Centers for Medicare \u0026 Medicaid Services: overall rating from 1 to 5, plus nursing home inspection, quality and staffing ratings. A null rating means the source published none.`}),`\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:`facility_type`,type:`string`,required:true,id:`param-facility-type`,children:_jsxs(_components.p,{children:[`Which register to read; each kind of facility is rated in its own dataset. One of `,_jsx(_components.code,{children:`hospital`}),`, `,_jsx(_components.code,{children:`nursing_home`}),`, `,_jsx(_components.code,{children:`home_health`}),`, `,_jsx(_components.code,{children:`hospice`}),`, `,_jsx(_components.code,{children:`dialysis`}),`.`]})}),`\n`,_jsx(ParamField,{body:`ccn`,type:`string`,id:`param-ccn`,children:_jsx(_components.p,{children:`The facility CMS Certification Number (Medicare provider number). A CMS Certification Number is six digits or capital letters.`})}),`\n`,_jsx(ParamField,{body:`facility_name`,type:`string`,id:`param-facility-name`,children:_jsx(_components.p,{children:`Case-insensitive substring of the facility name. 3 to 100 characters.`})}),`\n`,_jsx(ParamField,{body:`state`,type:`string`,id:`param-state`,children:_jsx(_components.p,{children:`State abbreviation; only with facility_name.`})}),`\n`,_jsx(ParamField,{body:`limit`,type:`integer`,id:`param-limit`,children:_jsxs(_components.p,{children:[`Most facilities to return. From 1 to 10. Defaults to `,_jsx(_components.code,{children:`5`}),`.`]})}),`\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:`company_care_quality`})]})}),`\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:`US Centers for Medicare \u0026 Medicaid Services`}),`.`]})}),`\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:`For nursing homes, the date the source processed the register release that answered; null for other facility types, whose rows carry no date.`})}),`\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.facility_type`,type:`string`,id:`param-data-result-facility-type`,children:_jsx(_components.p,{children:`Facility type.`})}),`\n`,_jsx(ResponseField,{name:`data.result.rating_name`,type:`string`,id:`param-data-result-rating-name`,children:_jsx(_components.p,{children:`Rating name.`})}),`\n`,_jsx(ResponseField,{name:`data.result.has_more`,type:`boolean`,id:`param-data-result-has-more`,children:_jsx(_components.p,{children:`Has more.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities`,type:`object[]`,id:`param-data-result-facilities`,children:_jsx(_components.p,{children:`Facilities.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].ccn`,type:`string`,id:`param-data-result-facilities-ccn`,children:_jsx(_components.p,{children:`Ccn.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].name`,type:`string`,id:`param-data-result-facilities-name`,children:_jsx(_components.p,{children:`Name.`})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].city`,type:`string | null`,id:`param-data-result-facilities-city`,children:_jsxs(_components.p,{children:[`City. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].state`,type:`string | null`,id:`param-data-result-facilities-state`,children:_jsxs(_components.p,{children:[`State. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].zip_code`,type:`string | null`,id:`param-data-result-facilities-zip-code`,children:_jsxs(_components.p,{children:[`Zip code. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].ownership`,type:`string | null`,id:`param-data-result-facilities-ownership`,children:_jsxs(_components.p,{children:[`Ownership. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].chain`,type:`string | null`,id:`param-data-result-facilities-chain`,children:_jsxs(_components.p,{children:[`Chain. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].overall_rating`,type:`integer | null`,id:`param-data-result-facilities-overall-rating`,children:_jsxs(_components.p,{children:[`Overall rating. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].overall_rating_footnote`,type:`string | null`,id:`param-data-result-facilities-overall-rating-footnote`,children:_jsxs(_components.p,{children:[`Overall rating footnote. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings`,type:`object | null`,id:`param-data-result-facilities-component-ratings`,children:_jsxs(_components.p,{children:[`Component ratings. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.health_inspection`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-health-inspection`,children:_jsxs(_components.p,{children:[`Health inspection. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.quality_measures`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-quality-measures`,children:_jsxs(_components.p,{children:[`Quality measures. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.long_stay_quality`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-long-stay-quality`,children:_jsxs(_components.p,{children:[`Long stay quality. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.short_stay_quality`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-short-stay-quality`,children:_jsxs(_components.p,{children:[`Short stay quality. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].component_ratings.staffing`,type:`integer | null`,id:`param-data-result-facilities-component-ratings-staffing`,children:_jsxs(_components.p,{children:[`Staffing. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].special_focus_status`,type:`string | null`,id:`param-data-result-facilities-special-focus-status`,children:_jsxs(_components.p,{children:[`Special focus status. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].abuse_cited`,type:`boolean | null`,id:`param-data-result-facilities-abuse-cited`,children:_jsxs(_components.p,{children:[`Abuse cited. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\n`,_jsx(ResponseField,{name:`data.result.facilities[].rating_period`,type:`string | null`,id:`param-data-result-facilities-rating-period`,children:_jsxs(_components.p,{children:[`Rating period. `,_jsx(_components.code,{children:`null`}),` when the source gives no value.`]})}),`\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/company-care-quality`}),_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:` \"facility_type\": \"hospital\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ccn\": \"240010\"`})}),`\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/company-care-quality\"`}),_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:` \"facility_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"hospital\"`}),_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:` \"ccn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"240010\"`})]}),`\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/company-care-quality'`}),_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:` facility_type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'hospital'`}),_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:` ccn:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '240010'`})]}),`\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:`42`,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:`42`,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:`\"company_care_quality\"`}),_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:` \"facility_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hospital\"`}),_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:` \"rating_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Overall hospital quality star rating\"`}),_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:` \"has_more\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_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:` \"facilities\"`}),_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:` \"ccn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"240010\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MAYO CLINIC HOSPITAL ROCHESTER\"`}),_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:`\"ROCHESTER\"`}),_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:`\"MN\"`}),_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:` \"zip_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"55902\"`}),_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:` \"ownership\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Voluntary non-profit - Church\"`}),_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:` \"chain\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"overall_rating\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_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:` \"overall_rating_footnote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"component_ratings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"special_focus_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"abuse_cited\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_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:` \"rating_period\"`}),_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`,_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:`\"US Centers for Medicare \u0026 Medicaid Services\"`}),_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-27T12: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-27T12: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`,_jsx(_components.li,{children:`rating_name identifies the rating for each facility_type: hospital overall quality, nursing home overall five-star, home health patient care quality, hospice family caregiver survey summary, or dialysis facility five-star.`}),`\n`,_jsx(_components.li,{children:`Names match substrings; use has_more and the CCN to distinguish facilities. No match completes with facilities: [].`}),`\n`,_jsx(_components.li,{children:`Use place_hospitals to list hospitals in a ZIP code and company_medicare_ownership for ownership details. Only the current release is served; history begins with our first observation.`}),`\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":"Care Quality Ratings","api":"POST https://win.oneshotagent.com/v1/tools/lookup/company-care-quality","description":"Look up official Medicare star ratings for a care facility.","href":"/api-reference/lookup/company-care-quality"}}}},"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/company-care-quality\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\"> \"facility_type\": \"hospital\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"ccn\": \"240010\"\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/company-care-quality\"\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\"> \"facility_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"hospital\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"ccn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"240010\"\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/company-care-quality'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> facility_type:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'hospital'\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> ccn:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '240010'\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=\"42\">\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\">\"company_care_quality\"\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\"> \"facility_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"hospital\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rating_name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Overall hospital quality star rating\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"has_more\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"facilities\"\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\"> \"ccn\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"240010\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MAYO CLINIC HOSPITAL ROCHESTER\"\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\">\"ROCHESTER\"\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\">\"MN\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"zip_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"55902\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ownership\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Voluntary non-profit - Church\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"chain\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"overall_rating\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">5\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"overall_rating_footnote\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"component_ratings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"special_focus_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"abuse_cited\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"rating_period\"\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\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\">\"US Centers for Medicare \u0026#x26; Medicaid Services\"\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-27T12: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-27T12: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":"Care Quality Ratings","path":"/v1/tools/lookup/company-care-quality","servers":[{"url":"https://win.oneshotagent.com"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"facility_type":[{"type":"string","description":"Which register to read; each kind of facility is rated in its own dataset. One of `hospital` , `nursing_home` , `home_health` , `hospice` , `dialysis` .","required":true}],"ccn":[{"type":"string","description":"The facility CMS Certification Number (Medicare provider number). A CMS Certification Number is six digits or capital letters."}],"facility_name":[{"type":"string","description":"Case-insensitive substring of the facility name. 3 to 100 characters."}],"state":[{"type":"string","description":"State abbreviation; only with facility_name."}],"limit":[{"type":"integer","description":"Most facilities to return. From 1 to 10. Defaults to `5` ."}]}}],"examples":{"example":{"value":{"facility_type":"\u003cstring>","ccn":"\u003cstring>","facility_name":"\u003cstring>","state":"\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 `company_care_quality`"}],"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 `US Centers for Medicare \u0026 Medicaid Services` ."}],"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":"For nursing homes, the date the source processed the register release that answered; null for other facility types, whose rows carry no date."}],"data.result.facility_type":[{"type":"string","description":"Facility type."}],"data.result.rating_name":[{"type":"string","description":"Rating name."}],"data.result.has_more":[{"type":"boolean","description":"Has more."}],"data.result.facilities":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Facilities."}],"data.result.facilities[].ccn":[{"type":"string","description":"Ccn."}],"data.result.facilities[].name":[{"type":"string","description":"Name."}],"data.result.facilities[].city":[{"type":"object","properties":{},"description":"City. `null` when the source gives no value."}],"data.result.facilities[].state":[{"type":"object","properties":{},"description":"State. `null` when the source gives no value."}],"data.result.facilities[].zip_code":[{"type":"object","properties":{},"description":"Zip code. `null` when the source gives no value."}],"data.result.facilities[].ownership":[{"type":"object","properties":{},"description":"Ownership. `null` when the source gives no value."}],"data.result.facilities[].chain":[{"type":"object","properties":{},"description":"Chain. `null` when the source gives no value."}],"data.result.facilities[].overall_rating":[{"type":"object","properties":{},"description":"Overall rating. `null` when the source gives no value."}],"data.result.facilities[].overall_rating_footnote":[{"type":"object","properties":{},"description":"Overall rating footnote. `null` when the source gives no value."}],"data.result.facilities[].component_ratings":[{"type":"object","properties":{},"description":"Component ratings. `null` when the source gives no value."}],"data.result.facilities[].component_ratings.health_inspection":[{"type":"object","properties":{},"description":"Health inspection. `null` when the source gives no value."}],"data.result.facilities[].component_ratings.quality_measures":[{"type":"object","properties":{},"description":"Quality measures. `null` when the source gives no value."}],"data.result.facilities[].component_ratings.long_stay_quality":[{"type":"object","properties":{},"description":"Long stay quality. `null` when the source gives no value."}],"data.result.facilities[].component_ratings.short_stay_quality":[{"type":"object","properties":{},"description":"Short stay quality. `null` when the source gives no value."}],"data.result.facilities[].component_ratings.staffing":[{"type":"object","properties":{},"description":"Staffing. `null` when the source gives no value."}],"data.result.facilities[].special_focus_status":[{"type":"object","properties":{},"description":"Special focus status. `null` when the source gives no value."}],"data.result.facilities[].abuse_cited":[{"type":"object","properties":{},"description":"Abuse cited. `null` when the source gives no value."}],"data.result.facilities[].rating_period":[{"type":"object","properties":{},"description":"Rating period. `null` when the source gives no value."}]}}],"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.facility_type":"\u003cstring>","data.result.rating_name":"\u003cstring>","data.result.has_more":true,"data.result.facilities":[{}],"data.result.facilities[].ccn":"\u003cstring>","data.result.facilities[].name":"\u003cstring>","data.result.facilities[].city":{},"data.result.facilities[].state":{},"data.result.facilities[].zip_code":{},"data.result.facilities[].ownership":{},"data.result.facilities[].chain":{},"data.result.facilities[].overall_rating":{},"data.result.facilities[].overall_rating_footnote":{},"data.result.facilities[].component_ratings":{},"data.result.facilities[].component_ratings.health_inspection":{},"data.result.facilities[].component_ratings.quality_measures":{},"data.result.facilities[].component_ratings.long_stay_quality":{},"data.result.facilities[].component_ratings.short_stay_quality":{},"data.result.facilities[].component_ratings.staffing":{},"data.result.facilities[].special_focus_status":{},"data.result.facilities[].abuse_cited":{},"data.result.facilities[].rating_period":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"freebutter","siteName":"OneShot","title":"Care Quality Ratings - OneShot","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T18:46:32.954Z","originalFileLocation":"api-reference/lookup/company-care-quality.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 official Medicare star ratings for a care facility.\">\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=\"Care Quality Ratings - OneShot\">\u003cmeta data-mint-head property=\"og:description\" content=\"Look up official Medicare star ratings for a care facility.\">\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/company-care-quality\">\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=Health\u0026amp;title=Care+Quality+Ratings\u0026amp;description=Look+up+official+Medicare+star+ratings+for+a+care+facility.\u0026amp;theme=2572df72db31606c972f696e\u0026amp;signature=3a2f3fbfe4ed00323de42dc07a3d139ae3eda0969667bc0f64def075b9b78e86\">\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=\"Care Quality Ratings - OneShot\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Look up official Medicare star ratings for a care facility.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://freebutter.mintlify.site/_mintlify/api/og/v2?division=Health\u0026amp;title=Care+Quality+Ratings\u0026amp;description=Look+up+official+Medicare+star+ratings+for+a+care+facility.\u0026amp;theme=2572df72db31606c972f696e\u0026amp;signature=3a2f3fbfe4ed00323de42dc07a3d139ae3eda0969667bc0f64def075b9b78e86\">\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/company-care-quality\">\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/company-care-quality.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/company-care-quality#webpage\",\"url\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality\",\"name\":\"Care Quality Ratings\",\"description\":\"Look up official Medicare star ratings for a care facility.\",\"dateModified\":\"2026-10-27T18:46:32.954Z\",\"isPartOf\":{\"@id\":\"https://docs.oneshotagent.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Data\",\"item\":\"https://docs.oneshotagent.com/api-reference/lookup/company-adviser-registration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Care Quality Ratings\",\"item\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality#apireference\",\"headline\":\"Care Quality Ratings\",\"name\":\"Care Quality Ratings\",\"description\":\"Look up official Medicare star ratings for a care facility.\",\"url\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality\",\"mainEntityOfPage\":{\"@id\":\"https://docs.oneshotagent.com/api-reference/lookup/company-care-quality#webpage\"},\"dateModified\":\"2026-10-27T18:46:32.954Z\",\"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\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneShot\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/lookup/company-care-quality.md","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"}]},{"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","description":"Labor condition applications and PERM labor certifications an employer obtained, from the Department of Labor’s disclosure files","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","description":"Find the registered clinical studies that match a condition, a treatment or other search words.","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":"Person Assets","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-assets","href":"/api-reference/lookup/person-assets"},{"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"},{"title":"Vessel Ownership","api":"POST https://win.oneshotagent.com/v1/tools/lookup/vessel-ownership","href":"/api-reference/lookup/vessel-ownership"}]},{"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","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","href":"/api-reference/lookup/company-lobbying"},{"title":"Person Appearances","api":"POST https://win.oneshotagent.com/v1/tools/lookup/person-appearances","href":"/api-reference/lookup/person-appearances"},{"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":"Care Quality Ratings - OneShot","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js"]}