Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.
Values describe the single resolution-8 cell. cell.latitude and cell.longitude are its centre. Source-area data is apportioned to H3 cells by the existing population/address and area rules. Null values are unavailable. The catalogue identifies which keys support hex; catchment-only and authority-only keys return invalid_request with unsupported_metrics.
Without projection_year, population values use their source period. With it, supported population counts and their derived metrics use factors for the LAD with the largest recorded overlap with the H3 cell. Other metrics are unchanged. Source periods are not necessarily the current year.
One credit is reserved per distinct requested key. Successful numeric values, including zero, consume credits; unavailable values do not. Metadata and internal calculation inputs are not separately charged.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Catchment API","description":"Reference for postcode catchment, H3 cell and local-authority metrics, area mappings and API trial credits.","colors":{"primary":"#014D40","light":"#86BBA8","dark":"#014D40"},"logo":{"light":"https://mintcdn.com/catchment-api/iaQ6EG1AGCt5PuEl/logo/light.svg?fit=max\u0026auto=format\u0026n=iaQ6EG1AGCt5PuEl\u0026q=85\u0026s=2e0ac176a4ead74d320fe4c781c35da7","dark":"https://mintcdn.com/catchment-api/iaQ6EG1AGCt5PuEl/logo/dark.svg?fit=max\u0026auto=format\u0026n=iaQ6EG1AGCt5PuEl\u0026q=85\u0026s=a96991403d03a0ad782930287e700e57"},"favicon":"https://mintcdn.com/catchment-api/iaQ6EG1AGCt5PuEl/favicon.svg?fit=max\u0026auto=format\u0026n=iaQ6EG1AGCt5PuEl\u0026q=85\u0026s=a06599524a97ecee797a164f99b34b14","api":{"examples":{"languages":["curl","python","javascript"]}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"catchment-api","hasAudioNarration":false,"actualSubdomain":"catchment-api","customDomains":[],"gitSource":{"type":"github","owner":"synesis-uk","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af270facb8ced835419642a","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Getting Started","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/cells/get-hex-metrics","slug":"/api-reference/cells/get-hex-metrics","pageMetadata":{"title":"Get hex metrics","description":"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/hex-metrics","href":"/api-reference/cells/get-hex-metrics","autogeneratedByOpenApi":true},"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: \"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.\"\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={code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`geography-and-values`,children:`Geography and values`}),`\n`,_jsxs(_components.p,{children:[`Values describe the single resolution-8 cell. `,_jsx(_components.code,{children:`cell.latitude`}),` and `,_jsx(_components.code,{children:`cell.longitude`}),` are its centre. Source-area data is apportioned to H3 cells by the existing population/address and area rules. Null values are unavailable. The catalogue identifies which keys support `,_jsx(_components.code,{children:`hex`}),`; catchment-only and authority-only keys return `,_jsx(_components.code,{children:`invalid_request`}),` with `,_jsx(_components.code,{children:`unsupported_metrics`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`projection`,children:`Projection`}),`\n`,_jsxs(_components.p,{children:[`Without `,_jsx(_components.code,{children:`projection_year`}),`, population values use their source period. With it, supported population counts and their derived metrics use factors for the LAD with the largest recorded overlap with the H3 cell. Other metrics are unchanged. Source periods are not necessarily the current year.`]}),`\n`,_jsx(Heading,{level:`2`,id:`credits`,children:`Credits`}),`\n`,_jsx(_components.p,{children:`One credit is reserved per distinct requested key. Successful numeric values, including zero, consume credits; unavailable values do not. Metadata and internal calculation inputs are not separately charged.`})]})}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":"Get hex metrics","description":"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/hex-metrics","href":"/api-reference/cells/get-hex-metrics","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Geography and values","slug":"geography-and-values","depth":2,"children":[]},{"title":"Projection","slug":"projection","depth":2,"children":[]},{"title":"Credits","slug":"credits","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getHexMetrics","tags":["Cells"],"summary":"Get hex metrics","description":"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.","x-mint":{"content":"## Geography and values\n\nValues describe the single resolution-8 cell. `cell.latitude` and `cell.longitude` are its centre. Source-area data is apportioned to H3 cells by the existing population/address and area rules. Null values are unavailable. The catalogue identifies which keys support `hex`; catchment-only and authority-only keys return `invalid_request` with `unsupported_metrics`.\n\n## Projection\n\nWithout `projection_year`, population values use their source period. With it, supported population counts and their derived metrics use factors for the LAD with the largest recorded overlap with the H3 cell. Other metrics are unchanged. Source periods are not necessarily the current year.\n\n## Credits\n\nOne credit is reserved per distinct requested key. Successful numeric values, including zero, consume credits; unavailable values do not. Metadata and internal calculation inputs are not separately charged."},"parameters":["d1b5f00d-713e-4c38-aa34-8ec8f54794c1","90242ee6-d136-4eba-b221-f13399abc85e","8618d666-32c3-4355-a4df-249f55a52954"],"responses":{"200":"5d6dda12-a39e-40eb-9746-b47ec617c869","400":"3c3c05ba-0df3-4b69-9bf8-01da82d5a802","401":"e8859f66-e4f7-4e94-bbbf-500acc79b503","403":"516d276b-d618-456a-b930-f243c8db897e","404":"614f41db-d573-4cce-8894-6847c79c637f","429":"57851387-ac8e-46e4-9117-60a9b92567fd","500":"9e8a5557-332b-467b-a1d9-ffd81c70fd5d"},"method":"get","type":"path","servers":["165ec22d-8d76-4fef-b8b8-20775df22acc"],"security":["74a5608e-b973-4726-8d6f-5362c34d0890"],"path":"/v1/hex-metrics","baseUrlOptions":["https://api.catchment.app"],"title":"Get hex metrics","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d1b5f00d-713e-4c38-aa34-8ec8f54794c1":{"name":"h3","in":"query","required":true,"description":"H3 cell index at resolution 8. Case is ignored.","schema":{"type":"string","example":"88195da493fffff","isRequired":true,"description":"H3 cell index at resolution 8. Case is ignored.","uniqueKey":"","typeLabel":"string"}},"90242ee6-d136-4eba-b221-f13399abc85e":{"name":"metrics","in":"query","required":true,"description":"Comma-separated metric keys, at most 50. Duplicates are ignored. Keys are listed by `GET /v1/metrics` and in the metric catalogue.","schema":{"type":"string","example":"avg_price,population_75_plus,population_75_plus_pct","isRequired":true,"description":"Comma-separated metric keys, at most 50. Duplicates are ignored. Keys are listed by `GET /v1/metrics` and in the metric catalogue.","uniqueKey":"","typeLabel":"string"}},"8618d666-32c3-4355-a4df-249f55a52954":{"name":"projection_year","in":"query","required":false,"description":"Year to project population counts to. Omit for observed values.","schema":{"type":"integer","minimum":2026,"maximum":2035,"example":2032,"isRequired":false,"description":"Year to project population counts to. Omit for observed values.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"5d6dda12-a39e-40eb-9746-b47ec617c869":{"description":"Metric values for the cell.","headers":{"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left for this key in the current minute.","schema":{"type":"integer"}},"X-Credits-Used":{"schema":{"type":"integer","minimum":0,"maximum":50},"description":"Credits used, once authenticated requests reach and complete credit accounting."},"X-Credits-Remaining":{"schema":{"type":"integer","minimum":0},"description":"Available organisation balance at settlement, excluding outstanding holds."},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."}},"content":{"application/json":{"schema":{"type":"object","required":["request_id","cell","projection_year","values","credits","metric_details"],"properties":{"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"cell":{"type":"object","required":["h3","latitude","longitude"],"properties":{"h3":{"type":"string","description":"The cell, lower case.","isRequired":true,"uniqueKey":"cell.h3","typeLabel":"string"},"latitude":{"type":"number","description":"Latitude of the cell's centre.","isRequired":true,"uniqueKey":"cell.latitude","typeLabel":"number"},"longitude":{"type":"number","description":"Longitude of the cell's centre.","isRequired":true,"uniqueKey":"cell.longitude","typeLabel":"number"}},"isRequired":true,"uniqueKey":"cell","typeLabel":"object"},"projection_year":{"oneOf":[{"type":"integer","description":"The year population counts were projected to, or null for observed values.","isRequired":true,"uniqueKey":"projection_year.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The year population counts were projected to, or null for observed values.","isRequired":true,"uniqueKey":"projection_year.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"projection_year","typeLabel":"integer | null"},"values":{"type":"object","additionalProperties":{"oneOf":[{"type":"number","uniqueKey":"values.additionalProperties.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"values.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"values.additionalProperties","typeLabel":"number | null"},"description":"Only requested metrics for this geography. Null means unavailable; zero can be a usable value.","isRequired":true,"uniqueKey":"values","typeLabel":"object"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"credits","typeLabel":"object"},"metric_details":{"type":"object","additionalProperties":{"type":"object","required":["status","reason","source"],"properties":{"status":{"type":"string","enum":["available","unavailable"],"isRequired":true,"uniqueKey":"metric_details.additionalProperties.status","typeLabel":"enum\u003cstring>"},"reason":{"oneOf":[{"type":"string","description":"Explanation when the value is unavailable; null for an available value.","isRequired":true,"uniqueKey":"metric_details.additionalProperties.reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Explanation when the value is unavailable; null for an available value.","isRequired":true,"uniqueKey":"metric_details.additionalProperties.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metric_details.additionalProperties.reason","typeLabel":"string | null"},"source":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"metric_details.additionalProperties.source.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"metric_details.additionalProperties.source.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metric_details.additionalProperties.source","typeLabel":"string | null"},"period":{"oneOf":[{"type":"string","description":"Financial year such as 2024-25 for a fee, or ISO month-start date such as 2026-08-01 for occupancy. Null if unavailable or outside coverage. Catchment details do not include this field.","uniqueKey":"metric_details.additionalProperties.period.oneOf.0","typeLabel":"string"},{"type":"null","description":"Financial year such as 2024-25 for a fee, or ISO month-start date such as 2026-08-01 for occupancy. Null if unavailable or outside coverage. Catchment details do not include this field.","uniqueKey":"metric_details.additionalProperties.period.oneOf.1","typeLabel":"null"}],"uniqueKey":"metric_details.additionalProperties.period","typeLabel":"string | null"},"reporting_authority":{"oneOf":[{"type":"object","description":"Authority whose published figure is returned. May differ from the requested district.","required":["code","name","kind"],"properties":{"code":{"type":"string","description":"ONS authority code.","isRequired":true,"uniqueKey":"metric_details.additionalProperties.reporting_authority.oneOf.0.code","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"metric_details.additionalProperties.reporting_authority.oneOf.0.name","typeLabel":"string"},"kind":{"type":"string","enum":["lad","ctyua"],"description":"District, or county/unitary authority.","isRequired":true,"uniqueKey":"metric_details.additionalProperties.reporting_authority.oneOf.0.kind","typeLabel":"enum\u003cstring>"}},"uniqueKey":"metric_details.additionalProperties.reporting_authority.oneOf.0","typeLabel":"object"},{"type":"null","description":"Authority whose published figure is returned. May differ from the requested district.","uniqueKey":"metric_details.additionalProperties.reporting_authority.oneOf.1","typeLabel":"null"}],"uniqueKey":"metric_details.additionalProperties.reporting_authority","typeLabel":"object | null"},"source_metadata":{"oneOf":[{"type":"object","additionalProperties":true,"description":"Source-dependent council-fee evidence. May identify sourceKind, feeBasis, sourceScope, sourceNationCode, effectivePeriod, sourceUrl, nursing contributions and review status. Null when detailed evidence is unavailable; do not infer a funding basis.","uniqueKey":"metric_details.additionalProperties.source_metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":true,"description":"Source-dependent council-fee evidence. May identify sourceKind, feeBasis, sourceScope, sourceNationCode, effectivePeriod, sourceUrl, nursing contributions and review status. Null when detailed evidence is unavailable; do not infer a funding basis.","uniqueKey":"metric_details.additionalProperties.source_metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metric_details.additionalProperties.source_metadata","typeLabel":"object | null"},"sample_count":{"oneOf":[{"type":"number","description":"Homes with usable private fees for the care type.","uniqueKey":"metric_details.additionalProperties.sample_count.oneOf.0","typeLabel":"number"},{"type":"null","description":"Homes with usable private fees for the care type.","uniqueKey":"metric_details.additionalProperties.sample_count.oneOf.1","typeLabel":"null"}],"uniqueKey":"metric_details.additionalProperties.sample_count","typeLabel":"number | null"},"beds_covered":{"oneOf":[{"type":"number","description":"Total beds at the homes contributing to that private-fee sample; not a count of beds charged this fee.","uniqueKey":"metric_details.additionalProperties.beds_covered.oneOf.0","typeLabel":"number"},{"type":"null","description":"Total beds at the homes contributing to that private-fee sample; not a count of beds charged this fee.","uniqueKey":"metric_details.additionalProperties.beds_covered.oneOf.1","typeLabel":"null"}],"uniqueKey":"metric_details.additionalProperties.beds_covered","typeLabel":"number | null"},"population_projection_year":{"oneOf":[{"type":"integer","description":"Present on demand and undersupply details: selected projection year, or null for source-population demand.","uniqueKey":"metric_details.additionalProperties.population_projection_year.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Present on demand and undersupply details: selected projection year, or null for source-population demand.","uniqueKey":"metric_details.additionalProperties.population_projection_year.oneOf.1","typeLabel":"null"}],"uniqueKey":"metric_details.additionalProperties.population_projection_year","typeLabel":"integer | null"}},"uniqueKey":"metric_details.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"metric_details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"b08cbb07-16ad-4acc-b302-27464308ada6","cell":{"h3":"88195da493fffff","latitude":51.50195883361916,"longitude":-0.13825777606139614},"projection_year":null,"values":{"population_total":1167,"avg_price":1673833},"metric_details":{"population_total":{"status":"available","reason":null,"source":"ONS Census 2021"},"avg_price":{"status":"available","reason":null,"source":"HM Land Registry Price Paid Data"}},"credits":{"used":2,"remaining":977}},"examples":{"Example":{"title":"Example","value":{"request_id":"b08cbb07-16ad-4acc-b302-27464308ada6","cell":{"h3":"88195da493fffff","latitude":51.50195883361916,"longitude":-0.13825777606139614},"projection_year":null,"values":{"population_total":1167,"avg_price":1673833},"metric_details":{"population_total":{"status":"available","reason":null,"source":"ONS Census 2021"},"avg_price":{"status":"available","reason":null,"source":"HM Land Registry Price Paid Data"}},"credits":{"used":2,"remaining":977}}}},"exampleType":"examples"}},"exampleType":"examples"},"3c3c05ba-0df3-4b69-9bf8-01da82d5a802":{"description":"Invalid parameters or unknown/unsupported metric keys. error.unknown_metrics and error.unsupported_metrics identify the rejected keys.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["area_not_found","forbidden","internal_error","invalid_request","not_found","outside_coverage","postcode_not_found","rate_limited","unauthorized","credits_exhausted"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"unknown_metrics":{"type":"array","description":"The metric keys that were not recognised, when that is the problem.","items":{"type":"string","uniqueKey":"error.unknown_metrics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.unknown_metrics","typeLabel":"string[]"},"forbidden_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.forbidden_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys without dataset access.","uniqueKey":"error.forbidden_metrics","typeLabel":"string[]"},"unsupported_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.unsupported_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys unsupported by this endpoint's geography.","uniqueKey":"error.unsupported_metrics","typeLabel":"string[]"},"required_credits":{"type":"integer","minimum":1,"maximum":50,"description":"Requested reservation that the available organisation balance cannot cover.","uniqueKey":"error.required_credits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","format":"uuid","description":"Present on requests handled by an endpoint. The unknown-path 404 response has no request ID.","uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"uniqueKey":"credits","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"unknown":{"title":"unknown","value":{"request_id":"6d857aeb-3b97-4e6b-a03f-aa39400d9ed9","error":{"code":"invalid_request","message":"Unknown metrics: not_a_metric. GET /v1/metrics lists the metrics available.","unknown_metrics":["not_a_metric"]},"credits":{"used":0,"remaining":974}}},"unsupported":{"title":"unsupported","value":{"request_id":"f61583ed-950f-4ae8-9fe5-6eb44e389494","error":{"code":"invalid_request","message":"These metrics do not support this endpoint's geography: la_occupancy_pct. GET /v1/metrics lists supported geographies.","unsupported_metrics":["la_occupancy_pct"]},"credits":{"used":0,"remaining":974}}}},"exampleType":"examples"}},"headers":{"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left for this key in the current minute.","schema":{"type":"integer"}},"X-Credits-Used":{"schema":{"type":"integer","minimum":0,"maximum":50},"description":"Credits used, once authenticated requests reach and complete credit accounting."},"X-Credits-Remaining":{"schema":{"type":"integer","minimum":0},"description":"Available organisation balance at settlement, excluding outstanding holds."}},"exampleType":"examples"},"e8859f66-e4f7-4e94-bbbf-500acc79b503":{"description":"The API key is missing, unknown or revoked.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}},"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["area_not_found","forbidden","internal_error","invalid_request","not_found","outside_coverage","postcode_not_found","rate_limited","unauthorized","credits_exhausted"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"unknown_metrics":{"type":"array","description":"The metric keys that were not recognised, when that is the problem.","items":{"type":"string","uniqueKey":"error.unknown_metrics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.unknown_metrics","typeLabel":"string[]"},"forbidden_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.forbidden_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys without dataset access.","uniqueKey":"error.forbidden_metrics","typeLabel":"string[]"},"unsupported_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.unsupported_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys unsupported by this endpoint's geography.","uniqueKey":"error.unsupported_metrics","typeLabel":"string[]"},"required_credits":{"type":"integer","minimum":1,"maximum":50,"description":"Requested reservation that the available organisation balance cannot cover.","uniqueKey":"error.required_credits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","format":"uuid","description":"Present on requests handled by an endpoint. The unknown-path 404 response has no request ID.","uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"uniqueKey":"credits","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"4bc9eb08-0d69-4c6e-b226-1e66eda03bdc","error":{"code":"unauthorized","message":"A valid API key is required. Send it as an Authorization: Bearer header."}},"examples":{"Example":{"title":"Example","value":{"request_id":"4bc9eb08-0d69-4c6e-b226-1e66eda03bdc","error":{"code":"unauthorized","message":"A valid API key is required. Send it as an Authorization: Bearer header."}}}},"exampleType":"examples"}},"exampleType":"examples"},"516d276b-d618-456a-b930-f243c8db897e":{"description":"Organisation API access is disabled/expired, required metric access is absent, or the available credit balance cannot cover the requested reservation. credits_exhausted consumes no credits. A valid request reserves one credit per unique requested metric before data is read.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["area_not_found","forbidden","internal_error","invalid_request","not_found","outside_coverage","postcode_not_found","rate_limited","unauthorized","credits_exhausted"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"unknown_metrics":{"type":"array","description":"The metric keys that were not recognised, when that is the problem.","items":{"type":"string","uniqueKey":"error.unknown_metrics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.unknown_metrics","typeLabel":"string[]"},"forbidden_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.forbidden_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys without dataset access.","uniqueKey":"error.forbidden_metrics","typeLabel":"string[]"},"unsupported_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.unsupported_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys unsupported by this endpoint's geography.","uniqueKey":"error.unsupported_metrics","typeLabel":"string[]"},"required_credits":{"type":"integer","minimum":1,"maximum":50,"description":"Requested reservation that the available organisation balance cannot cover.","uniqueKey":"error.required_credits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","format":"uuid","description":"Present on requests handled by an endpoint. The unknown-path 404 response has no request ID.","uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"uniqueKey":"credits","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"access":{"title":"access","value":{"request_id":"0e2e47c8-e798-4247-a077-d6b4d66cb70f","error":{"code":"forbidden","message":"API access is not enabled for this organisation."}}},"credits":{"title":"credits","value":{"request_id":"e91c7546-82f5-4af6-82de-f48ca6a5a469","error":{"code":"credits_exhausted","message":"This organisation has insufficient API credits. Contact your administrator for a top-up.","required_credits":1},"credits":{"used":0,"remaining":0}}}},"exampleType":"examples"}},"headers":{"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left for this key in the current minute.","schema":{"type":"integer"}},"X-Credits-Used":{"schema":{"type":"integer","minimum":0,"maximum":50},"description":"Credits used, once authenticated requests reach and complete credit accounting."},"X-Credits-Remaining":{"schema":{"type":"integer","minimum":0},"description":"Available organisation balance at settlement, excluding outstanding holds."}},"exampleType":"examples"},"614f41db-d573-4cce-8894-6847c79c637f":{"description":"The cell has no metric data.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["area_not_found","forbidden","internal_error","invalid_request","not_found","outside_coverage","postcode_not_found","rate_limited","unauthorized","credits_exhausted"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"unknown_metrics":{"type":"array","description":"The metric keys that were not recognised, when that is the problem.","items":{"type":"string","uniqueKey":"error.unknown_metrics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.unknown_metrics","typeLabel":"string[]"},"forbidden_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.forbidden_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys without dataset access.","uniqueKey":"error.forbidden_metrics","typeLabel":"string[]"},"unsupported_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.unsupported_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys unsupported by this endpoint's geography.","uniqueKey":"error.unsupported_metrics","typeLabel":"string[]"},"required_credits":{"type":"integer","minimum":1,"maximum":50,"description":"Requested reservation that the available organisation balance cannot cover.","uniqueKey":"error.required_credits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","format":"uuid","description":"Present on requests handled by an endpoint. The unknown-path 404 response has no request ID.","uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"uniqueKey":"credits","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"261bfcf8-67ac-4d0b-bc7a-91d8d271189f","error":{"code":"outside_coverage","message":"Metric data covers Great Britain. There is none for this cell."},"credits":{"used":0,"remaining":1000}},"examples":{"Example":{"title":"Example","value":{"request_id":"261bfcf8-67ac-4d0b-bc7a-91d8d271189f","error":{"code":"outside_coverage","message":"Metric data covers Great Britain. There is none for this cell."},"credits":{"used":0,"remaining":1000}}}},"exampleType":"examples"}},"headers":{"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left for this key in the current minute.","schema":{"type":"integer"}},"X-Credits-Used":{"schema":{"type":"integer","minimum":0,"maximum":50},"description":"Credits used, once authenticated requests reach and complete credit accounting."},"X-Credits-Remaining":{"schema":{"type":"integer","minimum":0},"description":"Available organisation balance at settlement, excluding outstanding holds."}},"exampleType":"examples"},"57851387-ac8e-46e4-9117-60a9b92567fd":{"description":"Per-key request limit reached in the current fixed calendar-minute window. The limit applies to free and metered requests. No credits are consumed.","headers":{"Retry-After":{"description":"Seconds until the next minute starts.","schema":{"type":"integer"}},"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["area_not_found","forbidden","internal_error","invalid_request","not_found","outside_coverage","postcode_not_found","rate_limited","unauthorized","credits_exhausted"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"unknown_metrics":{"type":"array","description":"The metric keys that were not recognised, when that is the problem.","items":{"type":"string","uniqueKey":"error.unknown_metrics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.unknown_metrics","typeLabel":"string[]"},"forbidden_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.forbidden_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys without dataset access.","uniqueKey":"error.forbidden_metrics","typeLabel":"string[]"},"unsupported_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.unsupported_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys unsupported by this endpoint's geography.","uniqueKey":"error.unsupported_metrics","typeLabel":"string[]"},"required_credits":{"type":"integer","minimum":1,"maximum":50,"description":"Requested reservation that the available organisation balance cannot cover.","uniqueKey":"error.required_credits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","format":"uuid","description":"Present on requests handled by an endpoint. The unknown-path 404 response has no request ID.","uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"uniqueKey":"credits","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"request_id":"c4c917f1-4162-47ac-b3d9-1642905491ba","error":{"code":"rate_limited","message":"Rate limit of 60 requests a minute reached."}},"examples":{"Example":{"title":"Example","value":{"request_id":"c4c917f1-4162-47ac-b3d9-1642905491ba","error":{"code":"rate_limited","message":"Rate limit of 60 requests a minute reached."}}}},"exampleType":"examples"}},"exampleType":"examples"},"9e8a5557-332b-467b-a1d9-ffd81c70fd5d":{"description":"The request or its accounting could not complete. Credits and rate-limit headers may be absent when accounting is unavailable. No metric data is sent before successful credit settlement.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["area_not_found","forbidden","internal_error","invalid_request","not_found","outside_coverage","postcode_not_found","rate_limited","unauthorized","credits_exhausted"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"unknown_metrics":{"type":"array","description":"The metric keys that were not recognised, when that is the problem.","items":{"type":"string","uniqueKey":"error.unknown_metrics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"error.unknown_metrics","typeLabel":"string[]"},"forbidden_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.forbidden_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys without dataset access.","uniqueKey":"error.forbidden_metrics","typeLabel":"string[]"},"unsupported_metrics":{"type":"array","items":{"type":"string","uniqueKey":"error.unsupported_metrics.items.[INDEX]","typeLabel":"string"},"description":"Requested keys unsupported by this endpoint's geography.","uniqueKey":"error.unsupported_metrics","typeLabel":"string[]"},"required_credits":{"type":"integer","minimum":1,"maximum":50,"description":"Requested reservation that the available organisation balance cannot cover.","uniqueKey":"error.required_credits","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"},"request_id":{"type":"string","format":"uuid","description":"Present on requests handled by an endpoint. The unknown-path 404 response has no request ID.","uniqueKey":"request_id","typeLabel":"string\u003cuuid>"},"credits":{"type":"object","required":["used","remaining"],"properties":{"used":{"type":"integer","minimum":0,"maximum":50,"description":"Credits used by this request. One per distinct usable numeric metric returned by a successful metric request; zero for free endpoints or errors.","isRequired":true,"uniqueKey":"credits.used","typeLabel":"integer"},"remaining":{"type":"integer","minimum":0,"description":"Organisation credits available after settlement, excluding other in-flight reservations. Shared by all keys in the organisation.","isRequired":true,"uniqueKey":"credits.remaining","typeLabel":"integer"}},"uniqueKey":"credits","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"accountingFailure":{"title":"accountingFailure","value":{"request_id":"9b8a7c6d-5e4f-4a3b-9c2d-1e0f9a8b7c6d","error":{"code":"internal_error","message":"The request could not be completed. Quote the request id if this keeps happening."}}}},"exampleType":"examples"}},"headers":{"X-Request-Id":{"description":"Identifies the request. Quote it when reporting a problem.","schema":{"type":"string","format":"uuid"}},"Cache-Control":{"schema":{"type":"string","const":"no-store"},"description":"API JSON responses are not cached."},"X-RateLimit-Limit":{"description":"Requests allowed per minute for this key.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left for this key in the current minute.","schema":{"type":"integer"}},"X-Credits-Used":{"schema":{"type":"integer","minimum":0,"maximum":50},"description":"Credits used, once authenticated requests reach and complete credit accounting."},"X-Credits-Remaining":{"schema":{"type":"integer","minimum":0},"description":"Available organisation balance at settlement, excluding outstanding holds."}},"exampleType":"examples"}},"security":{"74a5608e-b973-4726-8d6f-5362c34d0890":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key created under **Account** > **Catchment API**. Keys start with `ck_`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"165ec22d-8d76-4fef-b8b8-20775df22acc":{"url":"https://api.catchment.app"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key created under **Account** > **Catchment API**. Keys start with `ck_`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key created under **Account** > **Catchment API**. Keys start with `ck_`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"catchment-api","siteName":"Catchment API","title":"Get hex metrics - Catchment API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T01:18:59.416Z","originalFileLocation":"api-reference/cells/get-hex-metrics.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=\"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Catchment API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_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/catchment-api/hwHyVyL5NJEpoqpR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get hex metrics - Catchment API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Catchment API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://catchment-api.mintlify.site/_mintlify/api/og/v2?division=Cells\u0026amp;title=Get+hex+metrics\u0026amp;description=Metric+values+for+one+H3+resolution-8+cell.+Only+keys+supporting+hex+are+accepted.+Care+supply%2C+planning+and+authority+metrics+are+not+supported+at+this+endpoin\u0026amp;theme=8f49bea153f5397a9b367c7d\u0026amp;signature=e5b788f993214667e42e81b13fb99df03f649b477e1dd38506bf84c718692569\">\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=\"Get hex metrics - Catchment API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://catchment-api.mintlify.site/_mintlify/api/og/v2?division=Cells\u0026amp;title=Get+hex+metrics\u0026amp;description=Metric+values+for+one+H3+resolution-8+cell.+Only+keys+supporting+hex+are+accepted.+Care+supply%2C+planning+and+authority+metrics+are+not+supported+at+this+endpoin\u0026amp;theme=8f49bea153f5397a9b367c7d\u0026amp;signature=e5b788f993214667e42e81b13fb99df03f649b477e1dd38506bf84c718692569\">\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/catchment-api/hwHyVyL5NJEpoqpR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Catchment API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#014D40\">\u003clink data-mint-head rel=\"canonical\" href=\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/cells/get-hex-metrics.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://catchment-api.mintlify.app/#organization\",\"name\":\"Catchment API\",\"url\":\"https://catchment-api.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/catchment-api/iaQ6EG1AGCt5PuEl/logo/light.svg?fit=max\u0026auto=format\u0026n=iaQ6EG1AGCt5PuEl\u0026q=85\u0026s=2e0ac176a4ead74d320fe4c781c35da7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://catchment-api.mintlify.app#website\",\"name\":\"Catchment API\",\"url\":\"https://catchment-api.mintlify.app\",\"publisher\":{\"@id\":\"https://catchment-api.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics#webpage\",\"url\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics\",\"name\":\"Get hex metrics\",\"description\":\"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.\",\"dateModified\":\"2026-11-10T01:18:59.416Z\",\"isPartOf\":{\"@id\":\"https://catchment-api.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Catchment API\",\"item\":\"https://catchment-api.mintlify.app\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get hex metrics\",\"item\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics#apireference\",\"headline\":\"Get hex metrics\",\"name\":\"Get hex metrics\",\"description\":\"Metric values for one H3 resolution-8 cell. Only keys supporting hex are accepted. Care supply, planning and authority metrics are not supported at this endpoint. Successful non-null requested values consume one credit each.\",\"url\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics\",\"mainEntityOfPage\":{\"@id\":\"https://catchment-api.mintlify.app/api-reference/cells/get-hex-metrics#webpage\"},\"dateModified\":\"2026-11-10T01:18:59.416Z\",\"publisher\":{\"@id\":\"https://catchment-api.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://catchment-api.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Catchment API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Catchment API","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/index"}]},{"group":"Catchments","pages":[{"title":"Get catchment metrics","description":"Requested catchment metrics and, when selected, separate local-authority fee/occupancy values for the postcode. Supply exactly one of drive_minutes or radius_miles. The request reserves the number of unique metrics; successful non-null values consume one credit each.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/catchment-metrics","href":"/api-reference/catchments/get-catchment-metrics"}]},{"group":"Cells","pages":[{"title":"Get hex metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/hex-metrics","href":"/api-reference/cells/get-hex-metrics"}]},{"group":"Local authorities","pages":[{"title":"Get local authority metrics","description":"Requested fee and occupancy values for an ONS district, county or unitary authority code. Districts resolve to their social-care parent authority. No radius or projection year is accepted.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/local-authority-metrics","href":"/api-reference/local-authorities/get-local-authority-metrics"}]},{"group":"Area mappings","pages":[{"title":"List cells for an area","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/area-cells","href":"/api-reference/area-mappings/list-cells-for-an-area"},{"title":"List areas for a cell","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/cell-areas","href":"/api-reference/area-mappings/list-areas-for-a-cell"}]},{"group":"Metrics","pages":[{"title":"List metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/metrics","href":"/api-reference/metrics/list-metrics"},{"title":"Metric catalogue","href":"/api-reference/metric-catalogue"}]}]},"basePath":"","title":"Get hex metrics - Catchment API","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}