# Exoplanets API > Look up TESS Objects of Interest and confirmed planets from vendored NASA Exoplanet Archive tables, mark TIC targets as unmined, compute transit windows and Kopparapu habitable-zone edges, and run a Box Least Squares transit search on caller light curves. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota. Free and monthly plans use an account API key with prepaid credits. Pay as you go is optional: each operation lists a fixed USDC price on Base with the x402 exact scheme. Unpaid pay-as-you-go GET, HEAD, and POST return 402 payment terms (POST validates the body only after payment terms are satisfied). A request that carries payment-signature is not yet charged: settlement happens only after a successful (2xx) result that returns real data (status complete or partial). HTTP 4xx/5xx and coverage status failed or empty payloads are not charged. Settled 2xx responses include a payment-response header; uncharged responses do not. Follow https://www.brainiac.software/agent-instructions.txt for install, payment pins, idempotency, and billing rules. - Product: https://www.brainiac.software/api/exoplanets - Docs: https://www.brainiac.software/api/exoplanets/docs - OpenAPI: https://www.brainiac.software/api/exoplanets/openapi.json - Contact: support@brainiac.software (https://www.brainiac.software/contact) ## Operations ### POST /api/v1/exoplanets/tois $0.02 USDC. Search vendored NASA Exoplanet Archive TOI rows by TIC, disposition, stellar temperature, TESS magnitude, period, planet radius, or a small sky cone, with optional sort and limit. Keywords: when scanning unmined targets, toi, tic, disposition, List TESS Objects of Interest, exoplanets tois Inputs: tic?, disposition?, teffMin?, teffMax?, tmagMax?, periodMin?, periodMax?, radiusMin?, radiusMax?, raDec?, sort?, limit? Docs: https://www.brainiac.software/api/exoplanets/tois Example request: ```json { "disposition": [ "PC" ], "teffMax": 4000, "limit": 5 } ``` Example response: ```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." ] } ``` ### POST /api/v1/exoplanets/toi $0.01 USDC. Return one TOI by TOI id, or all TOIs for a TIC, from the vendored NASA Exoplanet Archive snapshot. Keywords: when checking a target, toi, tic, Look up a TESS Object of Interest, exoplanets toi Inputs: toi?, tic? Docs: https://www.brainiac.software/api/exoplanets/toi Example request: ```json { "toi": "1083.01" } ``` Example response: ```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." ] } ``` ### POST /api/v1/exoplanets/toi-matches $0.02 USDC. For up to 1000 TIC ids, list matching TOIs and confirmed planets and mark each target unmined when neither exists. Keywords: when grading M-dwarf batches, tics, unmined, Cross-match TIC ids, exoplanets toi-matches Inputs: tics Docs: https://www.brainiac.software/api/exoplanets/toi-matches Example request: ```json { "tics": [ 322270620, 1 ] } ``` Example response: ```json { "status": "complete", "matches": [ { "tic": 322270620, "tois": [ "1083.01" ], "confirmedPlanets": [], "unmined": false }, { "tic": 1, "tois": [], "confirmedPlanets": [], "unmined": true } ], "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": [ "unmined means no TOI and no confirmed planet in the vendored snapshot." ] } ``` ### POST /api/v1/exoplanets/planets $0.02 USDC. Search vendored Planetary Systems Composite rows by host, discovery method, period, radius, equilibrium temperature, host temperature, or TIC id. Keywords: when writing up a system, host, planets, List confirmed exoplanets, exoplanets planets Inputs: host?, discoveryMethod?, periodMin?, periodMax?, radiusMin?, radiusMax?, teqMax?, hostTeffMax?, ticId?, limit? Docs: https://www.brainiac.software/api/exoplanets/planets Example request: ```json { "host": "TOI-700", "limit": 10 } ``` Example response: ```json { "status": "complete", "total": 1, "planets": [ { "name": "TOI-700 d", "host": "TOI-700", "tic": 150428135, "discoveryMethod": "Transit", "discoveryYear": 2020, "periodDays": 37.423457, "radiusEarth": 1.145, "massEarth": 1.58, "eqTempK": 268.8, "insolationEarth": 0.85, "hostTeffK": 3459, "distancePc": 31.1265, "semiMajorAxisAu": 0.1642, "stellarMassSun": 0.417 } ], "sources": [ { "source": "NASA Exoplanet Archive Planetary Systems Composite", "url": "https://exoplanetarchive.ipac.caltech.edu/", "licence": "Public NASA archive; acknowledgment requested", "retrievedAt": "2026-12-03", "status": "ok" } ], "limitations": [ "Composite parameters can combine multiple references." ] } ``` ### POST /api/v1/exoplanets/planet $0.01 USDC. Return one confirmed exoplanet by name from the vendored Planetary Systems Composite snapshot. Keywords: when citing a planet, name, Look up a confirmed exoplanet, exoplanets planet Inputs: name Docs: https://www.brainiac.software/api/exoplanets/planet Example request: ```json { "name": "TOI-700 d" } ``` Example response: ```json { "status": "complete", "planet": { "name": "TOI-700 d", "host": "TOI-700", "tic": 150428135, "discoveryMethod": "Transit", "discoveryYear": 2020, "periodDays": 37.423457, "radiusEarth": 1.145, "massEarth": 1.58, "eqTempK": 268.8, "insolationEarth": 0.85, "hostTeffK": 3459, "distancePc": 31.1265, "semiMajorAxisAu": 0.1642, "stellarMassSun": 0.417 }, "sources": [ { "source": "NASA Exoplanet Archive Planetary Systems Composite", "url": "https://exoplanetarchive.ipac.caltech.edu/", "licence": "Public NASA archive; acknowledgment requested", "retrievedAt": "2026-12-03", "status": "ok" } ], "limitations": [ "Composite parameters can combine multiple references." ] } ``` ### POST /api/v1/exoplanets/transit-windows $0.01 USDC. Predict mid-transit, ingress and egress times between two dates from a TOI ephemeris or caller-supplied epoch, period and duration, with optional timing uncertainty. Keywords: when scheduling observations, toi, epochBjd, Compute transit windows, exoplanets transit-windows Inputs: toi?, epochBjd?, periodDays?, durationHours?, epochErr?, periodErr?, from, to Docs: https://www.brainiac.software/api/exoplanets/transit-windows Example request: ```json { "toi": "1083.01", "from": "2026-12-01", "to": "2026-12-31" } ``` Example response: ```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." ] } ``` ### POST /api/v1/exoplanets/habitable-zone $0.005 USDC. Return Kopparapu 2014 recent-Venus, runaway-greenhouse, maximum-greenhouse and early-Mars edges in AU for a stellar effective temperature and luminosity or radius, and optionally place a planet period on those edges. Keywords: when placing a planet, teffK, luminositySun, Compute habitable-zone edges, exoplanets habitable-zone Inputs: teffK, luminositySun?, radiusSun?, planetPeriodDays?, stellarMassSun? Docs: https://www.brainiac.software/api/exoplanets/habitable-zone Example request: ```json { "teffK": 5780, "luminositySun": 1 } ``` Example response: ```json { "status": "complete", "teffK": 5780, "luminositySun": 1, "recentVenusAu": 0.75, "runawayGreenhouseAu": 0.97, "maxGreenhouseAu": 1.67, "earlyMarsAu": 1.77, "planet": null, "sources": [ { "source": "Kopparapu et al. 2014 ApJL 787 L29", "url": "https://doi.org/10.1088/2041-8205/787/2/L29", "licence": "Published scientific coefficients", "retrievedAt": "2026-12-03", "status": "ok" } ], "limitations": [ "Edges use the moist-greenhouse and maximum-greenhouse coefficients from the paper." ] } ``` ### POST /api/v1/exoplanets/transit-search $0.08 USDC. Run an in-process Box Least Squares transit search on up to 50,000 caller-supplied time and flux points and return the top periodogram peaks with depth, SNR and odd-even depth difference. Keywords: when looking for periodic dips, time, flux, BLS, Search a light curve for transits, exoplanets transit-search Inputs: time, flux, fluxErr?, periodMin?, periodMax?, durationsHours?, detrend?, detrendWindowHours?, topN? Docs: https://www.brainiac.software/api/exoplanets/transit-search Example request: ```json { "time": [ 0, 0.05, 0.1, 0.15000000000000002, 0.2, 0.25, 0.30000000000000004, 0.35000000000000003, 0.4, 0.45, 0.5, 0.55, 0.6000000000000001, 0.65, 0.7000000000000001, 0.75, 0.8, 0.8500000000000001, 0.9, 0.9500000000000001, 1, 1.05, 1.1, 1.1500000000000001, 1.2000000000000002, 1.25, 1.3, 1.35, 1.4000000000000001, 1.4500000000000002, 1.5, 1.55, 1.6, 1.6500000000000001, 1.7000000000000002, 1.75, 1.8, 1.85, 1.9000000000000001, 1.9500000000000002, 2, 2.0500000000000003, 2.1, 2.15, 2.2, 2.25, 2.3000000000000003, 2.35, 2.4000000000000004, 2.45, 2.5, 2.5500000000000003, 2.6, 2.6500000000000004, 2.7, 2.75, 2.8000000000000003, 2.85, 2.9000000000000004, 2.95, 3, 3.0500000000000003, 3.1, 3.1500000000000004, 3.2, 3.25, 3.3000000000000003, 3.35, 3.4000000000000004, 3.45, 3.5, 3.5500000000000003, 3.6, 3.6500000000000004, 3.7, 3.75, 3.8000000000000003, 3.85, 3.9000000000000004, 3.95, 4, 4.05, 4.1000000000000005, 4.15, 4.2, 4.25, 4.3, 4.3500000000000005, 4.4, 4.45, 4.5, 4.55, 4.6000000000000005, 4.65, 4.7, 4.75, 4.800000000000001, 4.8500000000000005, 4.9, 4.95, 5, 5.050000000000001, 5.1000000000000005, 5.15, 5.2, 5.25, 5.300000000000001, 5.3500000000000005, 5.4, 5.45, 5.5, 5.550000000000001, 5.6000000000000005, 5.65, 5.7, 5.75, 5.800000000000001, 5.8500000000000005, 5.9, 5.95 ], "flux": [ 0.998, 0.998, 0.998, 0.998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.998, 0.998, 0.998, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ], "periodMin": 0.5, "periodMax": 2.5, "topN": 3 } ``` Example response: ```json { "status": "complete", "points": 120, "baselineDays": 5.95, "noiseSigmaPpm": 0, "periodsSearched": 1839, "periodsPlanned": 1840, "candidates": [ { "periodDays": 1.489461, "t0": 0.076205, "durationHours": 4, "depthPpm": 1077, "snr": 3666550.11, "oddEvenDepthDiffSigma": 3594868.14, "transitsObserved": 4 }, { "periodDays": 1.521083, "t0": 0.020742, "durationHours": 4, "depthPpm": 981, "snr": 3225477.28, "oddEvenDepthDiffSigma": 3464101.62, "transitsObserved": 4 } ], "sources": [ { "source": "Kovács, Zucker & Mazeh 2002, A&A 391, 369 (Box Least Squares)", "url": "https://doi.org/10.1051/0004-6361:20020802", "licence": "Published algorithm; implemented in-process", "retrievedAt": "2026-12-03", "status": "ok" } ], "limitations": [ "Box Least Squares on the supplied points only; no stellar variability model, centroid, or vetting beyond the odd/even depth comparison is applied.", "Peaks at 1/3, 1/2, 2, and 3 times a reported period are suppressed so the top candidates are distinct signals; a real second signal at an exact harmonic can be" ] } ```