POST
/api/v1/exoplanets/transit-windows$0.01 USDCPredict mid-transit, ingress and egress times between two dates from a TOI ephemeris or caller-supplied epoch, period and duration, with optional timing uncertainty.
An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
curl -i -X POST "https://www.brainiac.software/api/v1/exoplanets/transit-windows" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"toi": "1083.01",
"from": "2026-12-01",
"to": "2026-12-31"
}
JSON{
"status": "complete",
"toi": "1083.01",
"windows": [
{
"n": 0,
"midBjd": 2458627.915974,
"midUtc": "2026-12-01T00:00:00.000Z",
"ingressUtc": "2026-12-01T00:00:00.000Z",
"egressUtc": "2026-12-01T02:00:00.000Z",
"sigmaMinutes": null
}
],
"sources": [
{
"source": "NASA Exoplanet Archive TOI table",
"url": "https://exoplanetarchive.ipac.caltech.edu/",
"licence": "Public NASA archive; acknowledgment requested",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"Windows use the vendored ephemeris; check uncertainties."
]
}HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged.
Lookups read vendored snapshots in src/data/exoplanets; no Exoplanet Archive TAP call is made at request time. TOI dispositions change; check updatedAt on each row. transit-search is a box-shaped periodogram on the supplied light curve only; it is not a full TESS pipeline.