calculate
ActiveTool of D Fetcher
Calculate vitamin D synthesis at a given location and time. Returns sun position, UV index, IU/min, minutes to reach the target dose, MED (sunburn threshold), the peak window, and optional 15-min day / monthly year curves. UV index uses a live satellite-driven forecast where available, with a clear-sky fallback.
Parameters schema
{
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"age": {
"type": "integer",
"default": 45,
"maximum": 120,
"minimum": 1,
"description": "Age in years (used for the age factor)."
},
"day": {
"type": "boolean",
"default": true,
"description": "Include 15-min samples through the local day."
},
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in degrees."
},
"area": {
"type": "number",
"default": 0.25,
"maximum": 1,
"minimum": 0,
"description": "Exposed body fraction. 0.10 face+hands, 0.25 arms+face, 0.40 t-shirt+shorts, 0.85 near-full body."
},
"date": {
"type": "string",
"description": "ISO 8601 timestamp or epoch ms. Defaults to now."
},
"skin": {
"type": "integer",
"default": 3,
"maximum": 6,
"minimum": 1,
"description": "Fitzpatrick skin type 1–6. Use describe_skin_types if unknown."
},
"year": {
"type": "boolean",
"default": true,
"description": "Include monthly solar-noon samples with cloud climatology."
},
"scalp": {
"enum": [
"hair",
"bald"
],
"type": "string",
"default": "hair",
"description": "Scalp coverage. \"bald\" adds ~3.5% BSA."
},
"target": {
"type": "integer",
"default": 1000,
"maximum": 50000,
"minimum": 100,
"description": "Daily vitamin D target in IU."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
D Fetcher
https://github.com/rgrieselhuber/dfetcher
1/7 registries