POST
/api/v1/exoplanets/toi$0.01 USDCReturn one TOI by TOI id, or all TOIs for a TIC, from the vendored NASA Exoplanet Archive snapshot.
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/toi" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"toi": "1083.01"
}
JSON{
"status": "complete",
"total": 1,
"tois": [
{
"toi": "1083.01",
"tic": 322270620,
"disposition": "PC",
"epochBjd": 2458627.915974,
"epochErr": 0.002201,
"periodDays": 12.9802953,
"periodErr": 0.0000343,
"durationHours": 2.5034417,
"depthPpm": 2407.2608671,
"radiusEarth": 2.4241912,
"tmag": 12.0936,
"teffK": 3614,
"stellarRadiusSun": 0.491323,
"ra": 296.822194,
"dec": -87.32281,
"updatedAt": "2024-12-05 16:02:02"
}
],
"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": [
"TOI dispositions change; check updatedAt."
]
}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.