Recommended bedtimes from a wake time
API · /sleep-api
Sleep Cycle API
Sleep-cycle planning as an API, built around the fact that a full sleep cycle averages about 90 minutes and that waking at the end of a cycle — rather than mid-cycle — leaves you feeling more refreshed. The bedtime endpoint takes a wake-up time and suggests the times to fall asleep so that you wake at the end of a whole number of cycles (6, 5, 4 or 3 cycles), allowing for the time it takes to drift off. The wake-time endpoint does the reverse: from a bedtime (or "now") it suggests the best times to set an alarm. The duration endpoint takes a bedtime and a wake time and reports time in bed, actual sleep, the number of full cycles, how many minutes you are into the current cycle and how close you are to a clean cycle boundary, with a healthy-duration assessment. The nap endpoint plans power, short, slow-wave and full-cycle naps from a start time and explains the trade-offs. All clock maths is modulo 24 hours and accepts both 24-hour ("23:15") and 12-hour ("10:30 PM") times. Everything is computed locally and deterministically, so it is instant and private. Ideal for sleep, alarm-clock and wellbeing apps, smart-home routines, shift-work planning and productivity tools. Pure local computation — no key, no third-party service, instant. Live, nothing stored. INFORMATIONAL ONLY — sleep needs vary by individual; not medical advice. 4 endpoints. This is sleep-cycle timing maths; for time-zone conversion use a time API and for body metrics such as BMI use a health-calculator API.
API salute
salutare- Tempo di attività
- 100.00%
- Sondaggi del server · 24 ore su 24
- Latenza media
- 85 ms
- Sondaggi del server · 24 ore su 24
- Abbonati
- 4,034
- attiva
- Chiamate totali
- 60
- ultimi 7 giorni
Prezzi
Scegli un livello: fatturazione mensile, annullamento in qualsiasi momento.
Free
Gratis
- 8,935 chiamate/mese
- 2 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 8,935 calls/month
- 2 req/sec
- Bedtime + wake-time + duration + nap
- No credit card
Starter
€10.45 /mese
- 18,550 chiamate/mese
- 8 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 18.55k calls/month
- 8 req/sec
- 12h & 24h time formats
- Email support
Pro
€30.35 /mese
- 235,500 chiamate/mese
- 20 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 235.5k llamadas/mes
- 20 req/seg
- Pipelines de sueño / bienestar
- Soporte prioritario
Mega
€68.35 /mese
- 1,220,000 chiamate/mese
- 50 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 1.22M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Costruito da
Correlato APIs
Altro APIs con tag sovrapposti.
API de Calculadora de Cafeína
Matemáticas del metabolismo de la cafeína como API, calculadas local y determinísticamente con un modelo de decaimiento de primer orden (exponencial). El endpoint de nivel calcula cuánta cafeína permanece en el cuerpo después de un tiempo dado desde una dosis y una vida media (aproximadamente 5 horas por defecto), en miligramos y porcentaje, y cuánto tiempo hasta que caiga a un umbral elegido. El endpoint de línea de tiempo devuelve una curva de decaimiento hora por hora y el tiempo hasta que la cafeína sea "segura para dormir" — por debajo de un umbral (50 mg por defecto) — útil para calcular un límite de café antes de acostarse. El endpoint de fuentes proporciona el contenido típico de cafeína de bebidas comunes (café filtrado, espresso, té, bebidas energéticas, cola y más) para una sola bebida, o totaliza una lista como dos cafés y una cola. Todo se calcula local y determinísticamente, por lo que es instantáneo y privado. Esto es solo informativo: la vida media real de la cafeína varía ampliamente entre personas (aproximadamente 3–7 horas, y mucho más larga durante el embarazo o con ciertos medicamentos) — no es consejo médico. Ideal para aplicaciones de café, sueño y bienestar, rastreadores de bebidas energéticas y hábitos, y herramientas de cuantificación personal. Cálculo local puro — sin clave, sin servicio de terceros, instantáneo. En vivo, nada almacenado. 3 endpoints. Esto es farmacocinética de la cafeína; para una base de datos de referencia de medicamentos, use una API de medicamentos.
api.oanor.com/caffeine-api
Ladder Safety API
Ladder-safety maths as an API, computed locally and deterministically — the angle, reach and load numbers that keep a ladder from sliding out or buckling. The angle endpoint applies the 4:1 rule: the base goes out one foot for every four feet of working length, which lands the ladder at about 75.5° — a 24-foot ladder sits 6 feet from the wall and reaches roughly 23 feet up, steep enough not to tip back and shallow enough not to slide. The extension endpoint gives the usable length and reach of a two-section extension ladder, which loses the overlap the sections share (3 feet up to 36, 4 to 48, 5 beyond), and the working height at the safe angle — remembering the ladder must extend 3 feet above a roof edge you step onto. The duty-rating endpoint turns a total load — your weight plus tools and materials, not just bodyweight — into the right duty class, from Type III household (200 lb) through I industrial (250) to IAA professional (375). Everything is computed locally and deterministically, so it is instant and private. Ideal for construction-safety and trades apps, jobsite and rental tools, OSHA training aids, and home-improvement sites. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Educational — always follow the manufacturer's labels and OSHA/ANSI rules.
api.oanor.com/ladder-api
Guitar Luthier API
Gitarren- und Gitarrenbau-Mathematik als API, lokal und deterministisch berechnet – die Saitenspannungs- und Bundzahlen, mit denen ein Spieler, Hersteller oder Techniker ein Instrument einrichtet. Der Saitenspannungs-Endpunkt gibt die Spannung an, die eine Saite bei Tonhöhe aus der Physik zieht: Spannung = Einheitsgewicht × (2 × Mensur × Frequenz)² ÷ 386,4, wobei das Einheitsgewicht (lb/in) aus der Tabelle des Saitenherstellers stammt – eine .010 Plain-Stahl-Hohe-E auf einer 25,5-Zoll-Mensur, gestimmt auf 329,6 Hz, zieht etwa 16 lb. Der Bundpositions-Endpunkt gibt den Abstand vom Sattel zu jedem Bund in gleichstufiger Stimmung an: Mensur × (1 − 2^(−Bund/12)), sodass der 12. Bund genau in der Mitte liegt und der erste Bund einer 25,5-Zoll-Mensur 1,43 Zoll entfernt ist – die Mathematik hinter jedem Griffbrettschlitz. Der Set-Spannungs-Endpunkt summiert einen ganzen Saitensatz zur Gesamtlast auf dem Hals (eine typische Sechssaiter liegt bei ~95–120 lb), die Zahl, die entscheidet, ob eine Saitenstärken- oder Stimmungsänderung eine Halsstabeinstellung erfordert. Alles wird lokal und deterministisch berechnet, also sofort und privat. Ideal für Gitarrenbauer- und Gitarrentechniker-Apps, Saitenspannungs- und Bundschlitz-Rechner, Setup- und Neubesaitungs-Tools sowie Musikausrüstungsseiten. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Live, nichts gespeichert. 3 Compute-Endpunkte. Einheitsgewichte aus der Tabelle des Saitenherstellers beziehen. Für die Umrechnung von Note↔Frequenz eine Musiktheorie-API verwenden.
api.oanor.com/guitar-api
Air Compressor API
Druckluft-Mathematik als API, lokal und deterministisch berechnet – die Receiver-, Pump-up- und SCFM-Zahlen, mit denen ein Pneumatik-Techniker oder Werkstattbesitzer ein System dimensioniert. Der Receiver-Size-Endpunkt gibt den Tank an, den Sie benötigen, um einen Bedarfsspitze zu überbrücken: Volumen = Bedarf (freie Luft CFM) × Minuten × 14,7 ÷ das nutzbare Druckfenster (max − min) – bei 20 CFM für eine Minute über ein 175-zu-100-psi-Fenster wird ein etwa 30-Gallonen-Receiver benötigt, der Puffer, der die Pumpe aufholen lässt. Der Pumpup-Endpunkt gibt die Zeit an, um einen Receiver von einem Druck auf einen anderen zu bringen: Volumen × Druckanstieg ÷ (14,7 × Kompressor-CFM), also benötigt ein 60-Gallonen-Tank von 100 auf 175 psi bei einem 15-CFM-Kompressor etwa 2,7 Minuten. Der SCFM-Endpunkt korrigiert tatsächliche CFM auf Standard-CFM für die Einlassbedingungen – SCFM = ACFM × (Einlassdruck ÷ 14,696) × (528 ÷ Einlasstemperatur in Rankine) – ein Kompressor auf 5.000 Fuß liefert also etwa 17 % weniger SCFM als auf Meereshöhe, der Grund, warum Sie Werkzeuge nach SCFM und nicht nach dem Typenschild dimensionieren. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für Pneumatik- und Werkstattluft-Apps, Kompressor-Dimensionierungs- und Werkzeugbedarfs-Tools, Industrieluft-Rechner und Handwerkshilfen. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Live, nichts wird gespeichert. 3 Compute-Endpunkte. Schätzungen – Einschaltdauer und die Pumpenkennlinie verschieben die tatsächlichen Zahlen.
api.oanor.com/compressor-api
Domande frequenti
Risposte rapide su prezzi, quote e integrazione.
Come ottengo una chiave API per Sleep Cycle API?
Qual è il limite di velocità di Sleep Cycle API?
Quanto costa Sleep Cycle API?
Posso cancellare l'abbonamento in qualsiasi momento?
Sleep Cycle API è conforme al GDPR?
Scegli un endpoint dall'elenco a sinistra per visualizzarne i dettagli e provarlo.
Frammenti di codice
Iscriviti per ottenere una chiave API, quindi chiama qualsiasi percorso sotto il tuo slug.
curl https://api.oanor.com/sleep-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/sleep-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/sleep-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/sleep-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Valutazioni
Accedi per votare.
Nessuna recensione ancora.
Discussione
Fai domande, condividi consigli, ricevi risposte dal provider e dagli altri sviluppatori. Pubblico — chiunque può leggere.
Accedi per scrivere o rispondere.
AccediNuova discussione
·
-
Risposta del provider
🔒 Discussione bloccata — non si può più rispondere.
-
·
- Nessuna discussione — inizia tu.
Supporto
Supporto privato 1:1 con il provider — fatturazione, integrazione, account. Solo tu e il team del provider vedete questi thread.
Accedi per aprire un ticket di supporto.
AccediApri nuovo ticket
Descrivi cosa ti serve. Il team del provider riceve un'email e risponde sulla pagina del ticket.
-
·
Urgente - Nessun ticket per questa API.