Sunscreen amount + reapply
API · /sunscreen-api
Sunscreen & UV API
Sun-safety maths as an API, computed locally and deterministically — the burn-time, SPF and reapplication numbers a sunscreen, weather or outdoor app keeps people safe with. The burntime endpoint estimates how long until sunburn from the Fitzpatrick skin type (1 very fair to 6 deeply pigmented), the UV index and the SPF: unprotected time is a skin-type base (type II around 15 minutes) scaled by 6 ÷ UV index, and protected time is that times the SPF — so fair type-II skin at UV 8 burns in about 11 minutes bare, or roughly 5½ hours under SPF 30, while very fair type-I skin in extreme UV 11 burns in 5 minutes. The spf endpoint flips it: the SPF needed = your desired minutes outdoors ÷ the unprotected time, with the reminder that real protection plateaus around SPF 30–50. The amount endpoint covers the part people get wrong — about 2 mg/cm², roughly 1 ounce (30 g, a shot glass) for a full adult body, reapplied every two hours — and totals the sunscreen for a day out. Everything is computed locally and deterministically, so it is instant and private. Ideal for sun-safety, weather, skincare and outdoor app developers, UV-alert and reminder tools, and wellness software. Pure local computation — no key, no third-party service, instant. Educational estimates, not medical advice. Live, nothing stored. 3 compute endpoints.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 81 ms
- Server probes · 24h
- Subscribers
- 4,957
- active
- Total calls
- 0
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 7,160 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 7,160 calls/month
- 2 req/sec
- Burn time + SPF needed + amount
- No credit card
Starter
€4.31 /month
- 56,100 calls / month
- 6 requests / second
- Hard cap (429 above quota, no overage)
- 56,100 calls/month
- 6 req/sec
- Skin types 1-6, UV risk, reapply schedule
- Email support
Pro
€11.76 /month
- 229,200 calls / month
- 15 requests / second
- Hard cap (429 above quota, no overage)
- 229,200 calls/month
- 15 req/sec
- UV-alert & reminder pipelines
- Priority support
Mega
€37.12 /month
- 1,339,000 calls / month
- 40 requests / second
- Hard cap (429 above quota, no overage)
- 1,339,000 calls/month
- 40 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Cosmetics & Beauty API
The open cosmetics and personal-care product database — Open Beauty Facts — as an API. Look up any cosmetic or personal-care product by its barcode to get its name and brand, full INCI ingredient list and ingredient count, categories and labels, quantity, the period-after-opening (the "12M" open-jar symbol), origin countries, a product image, and a vegan / palm-oil-free analysis derived from its ingredients; search the database by keyword; and browse products by category (shampoos, lipsticks, deodorants, sunscreens, moisturisers and more). Covers shampoos, skincare, make-up, deodorants, toothpaste and other personal-care items from a global, contributor-maintained database. Live from world.openbeautyfacts.org — the cosmetics sister project of Open Food Facts. Ideal for skincare and cosmetics apps, ingredient and allergen checkers, ethical-shopping and sustainability tools. Open data.
api.oanor.com/beauty-api
Body Metrics API
Anthropometric body-metrics maths as an API, computed locally and deterministically. The body-surface-area endpoint computes the body surface area in square metres from height and weight by five established formulas — Mosteller √(height·weight/3600), DuBois, Haycock, Gehan-George and Boyd — with their average, the figure used for chemotherapy dosing and cardiac index. The lean-mass endpoint estimates lean body mass from height, weight and sex by the Boer, James and Hume formulas, with the fat mass and body-fat percent that follow. The waist-ratio endpoint computes the waist-to-hip ratio (fat distribution) and the waist-to-height ratio — where keeping your waist under half your height is the simple healthy rule — with WHO-style risk bands. Heights and circumferences are in centimetres, weight in kilograms. Everything is computed locally and deterministically, so it is instant and private. Ideal for health, fitness, clinical, telemedicine and wellness app developers, body-composition and dosing tools, and health education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is body surface area, lean mass and waist ratios; for BMI, body fat and ideal weight use a BMI API and for BMR and TDEE a BMR API.
api.oanor.com/bodymetrics-api
Blood Type API
Blood-type compatibility as an API, covering the ABO and Rh(D) systems, computed locally and deterministically. The compatibility endpoint says whether a given donor can give to a given recipient, for both red blood cells and plasma — the red-cell rule being that the donor's antigens must be a subset of the recipient's (Rh included), and plasma being the reverse and ignoring Rh. The info endpoint describes a blood type: the antigens it carries, the antibodies in its plasma, every type it can receive red cells from and donate red cells to, who it can give plasma to, whether it is a universal red-cell donor (O−), universal red-cell recipient (AB+) or universal plasma donor (AB), and its approximate US population frequency. The donors endpoint lists every compatible donor type for a recipient, for red cells or plasma. Blood types are accepted in many forms (O-, O neg, AB positive, …). Everything is computed locally and deterministically, so it is instant and private. This is educational only — real transfusion requires laboratory cross-matching and clinical judgement, and it is not medical advice. Ideal for medical-education and first-aid apps, blood-donation and health tools, and quiz and reference sites. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is ABO/Rh compatibility; for a drug reference database use a drug API.
api.oanor.com/bloodtype-api
Blood Alcohol Calculator API
Blood-alcohol estimation as an API, using the Widmark equation, computed locally and deterministically. The estimate endpoint works out the peak and current blood-alcohol concentration — in both per mille (‰) and percent (%) — from the alcohol consumed, body weight, sex and the time elapsed since drinking, and tells you roughly how long until you are sober or back under a chosen legal limit. Alcohol can be given as grams, as US standard drinks, or as a drink volume and ABV. The drink endpoint is a standard-drink calculator: from a volume and ABV it returns the grams of pure alcohol, US standard drinks (14 g), UK units (10 ml) and EU standard drinks (10 g). The sober endpoint estimates the time for a current BAC to fall to zero or to a target limit at a chosen elimination rate. Everything is computed locally and deterministically, so it is instant and private. IMPORTANT: this is a rough estimate for educational use only — real blood-alcohol depends on many personal and situational factors. Never use it to decide whether it is safe or legal to drive; when in doubt, do not drive. Ideal for educational and harm-reduction tools, hospitality and event apps, and personal drink trackers. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is blood-alcohol maths; for the calories or nutrition of drinks use a food or nutrition API.
api.oanor.com/bac-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Sunscreen & UV API?
What's the rate limit for Sunscreen & UV API?
How much does Sunscreen & UV API cost?
Can I cancel my subscription anytime?
Is Sunscreen & UV API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/sunscreen-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/sunscreen-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/sunscreen-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/sunscreen-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.