Skip to content
HALOWERK

Live World Data

wash access safe water target

Safe drinking water target estimates the extra people needing service to reach a specified national coverage level at the observed population. Use it when an agent needs sizing a fixed-population target.

POST https://welt.halowerk.com/v1/wash-access-safe-water-target

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countrystringYes
yearintegerNo
target_pctnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "maxLength": 72,
      "minLength": 1
    },
    "year": {
      "type": "integer",
      "minimum": 2015,
      "maximum": 2024
    },
    "target_pct": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    }
  },
  "required": [
    "country",
    "target_pct"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "country": "Ghana",
  "year": 2024,
  "target_pct": 80
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "iso": {
          "type": "string"
        },
        "year": {
          "type": "integer"
        },
        "target_met": {
          "type": "boolean"
        },
        "additional_people": {
          "type": "number"
        }
      },
      "required": [
        "iso",
        "year",
        "target_met",
        "additional_people"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’