Urine Analysis
Upload a photo of your pet's urine to analyze color, clarity, and other visual indicators for potential health issues.
POST
/v1/urine-analysisImage5 Credits per call
| Field | Type | Required | Description |
|---|---|---|---|
image | string | Yes | Base64-encoded image data (JPG/PNG/WEBP, max 4MB) |
animalType | string | No | Animal type for analysis (e.g. dog, cat, rabbit, hamster) |
language | string | No | Response language code (en, zh, es) |
API Playground
Language
Request Example
bash
curl -X POST https://www.poomi.pet/api/v1/urine-analysis \
-H "Authorization: Bearer pk_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"image": "base64_encoded_data",
"animalType": "dog",
"language": "en"
}'Response Example
json200 OK
{
"success": true,
"request_id": "req_xxxxxxxx",
"data": {
"color": "dark amber",
"clarity": "slightly cloudy",
"severity": "moderate",
"assessment": "Dark amber indicates highly concentrated urine from insufficient water intake. Healthy urine should be pale to medium yellow. The slight cloudiness may indicate white blood cells, bacteria, or crystalline sediment — combined with high concentration, this raises UTI or crystal development concern.",
"health_score": 5,
"abnormalities": [
"concentrated dark color",
"mild turbidity"
],
"possible_causes": [
"dehydration",
"early urinary tract infection",
"crystal formation risk"
],
"recommendations": [
"Add a second water bowl or pet fountain",
"Mix water into dry food or switch to wet food temporarily",
"Vet urinalysis if cloudiness persists beyond 48 hours",
"Watch for straining or frequent small urinations"
],
"health_score_max": 10
}
}