Urine protein/creatinine ratio (mg/mg) from spot urine protein and creatinine (G
Urine protein/creatinine ratio (mg/mg) from spot urine protein and creatinine (Ginsberg 1983). Also returns estimated_g_day equal to the rounded ratio as a numeric estimate of 24-h protein. Bands: <0.2 within normal limits, >3.5 nephrotic-range. Not ACR. Not a 24-h collection. Deterministic published formula with citation; not a diagnosis.
Asked 1.4x its listed price for its own exampleour last check, 2026-09-28
1 of 1checks answered this week
258 msmedian answer time
$0.005listed price per call
$0.007price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.magentlab.com/api/calc/urine_pcr
| Category | Everything else |
|---|---|
| Provider host | api.magentlab.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-28 | valid payment request | 402 | $0.007 | 258 ms |
Example input (from the provider)
{
"body": {
"items": [
{
"urine_creatinine_mg_dl": 100,
"urine_creatinine_umol_l": 8842,
"urine_protein_mg_dl": 100
},
{
"urine_creatinine_mg_dl": 100,
"urine_creatinine_umol_l": 8842,
"urine_protein_mg_dl": 100
}
]
},
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"items": {
"items": {
"properties": {
"urine_creatinine_mg_dl": {
"description": "Urine creatinine in mg/dL (1-500). Provide this or urine_creatinine_umol_l.",
"type": "number"
},
"urine_creatinine_umol_l": {
"description": "Urine creatinine in \u00b5mol/L (88-44210). Converted as mg/dL = \u00b5mol/L / 88.42.",
"type": "number"
},
"urine_protein_mg_dl": {
"description": "Urine total protein in mg/dL (0.1-2000). Total protein, not albumin.",
"type": "number"
}
},
"required": [
"urine_protein_mg_dl"
],
"type": "object"
},
"maxItems": 25,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"const": "POST",
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}