{"openapi":"3.1.0","info":{"title":"Exoplanets API","version":"1.0.0","description":"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.","contact":{"email":"support@brainiac.software"},"x-discovery":{"ownershipProofs":["0xc756d68bad9103556337c433239fa248983c66b137cb377070f3e54f4659fb5802c17f6f23a175230ab96cba82594acc89e3c78c9a0967e4b528952f5f0c05031c"]},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.\nThis root OpenAPI is a token-light discovery index. Full request/response schemas and examples are at /api/{group}/openapi.json; x-api-groups lists every group URL.\nPayment uses x402 with exact USDC on Base (8453). Unpaid GET/HEAD/POST return 402 payment terms for discovery.\nHow to call: POST JSON → verify payTo/asset/network against /api/v1/catalog and /.well-known/x402 → pay and retry with payment-signature. Settlement only on HTTP 2xx.\nIdempotency-Key: 64 hex chars. Coverage HTTP 2xx with status complete|partial and real data is charged; failed or empty results are not charged. Free lookup: GET /api/v1/results/{result_id}.\nOutputs are drafts for human review - not official determinations or legal advice."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/exoplanets/tois":{"post":{"operationId":"exoplanets_tois","summary":"List TESS Objects of Interest","description":"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. Docs: https://www.brainiac.software/api/exoplanets/tois","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/tois"},"tags":["exoplanets","tess","toi","x402","when scanning unmined targets","tic","disposition","List TESS Objects of Interest","exoplanets tois"],"x-keywords":["when scanning unmined targets","toi","tic","disposition","List TESS Objects of Interest","exoplanets tois"],"x-empty-json-probe":false,"x-probe-body":{"disposition":["PC"],"teffMax":4000,"limit":5},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tic":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"disposition":{"minItems":1,"type":"array","items":{"type":"string","enum":["PC","CP","KP","APC","FP","FA"]}},"teffMin":{"type":"number"},"teffMax":{"type":"number"},"tmagMax":{"type":"number"},"periodMin":{"type":"number","minimum":0},"periodMax":{"type":"number","minimum":0},"radiusMin":{"type":"number","minimum":0},"radiusMax":{"type":"number","minimum":0},"raDec":{"type":"object","properties":{"ra":{"type":"number","minimum":0,"maximum":360},"dec":{"type":"number","minimum":-90,"maximum":90},"radiusDeg":{"type":"number","exclusiveMinimum":0,"maximum":5}},"required":["ra","dec","radiusDeg"],"additionalProperties":false},"sort":{"default":"toi","type":"string","enum":["toi","tmag","period"]},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500}},"additionalProperties":false,"minProperties":1},"example":{"disposition":["PC"],"teffMax":4000,"limit":5}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"total":{"type":"number"},"tois":{"type":"array","items":{"type":"object","properties":{"toi":{"type":"string"},"tic":{"type":"number"},"disposition":{"type":"string"},"epochBjd":{"type":"number"},"epochErr":{"type":"number"},"periodDays":{"type":"number"},"periodErr":{"type":"number"},"durationHours":{"type":"number"},"depthPpm":{"type":"number"},"radiusEarth":{"type":"number"},"tmag":{"type":"number"},"teffK":{"type":"number"},"stellarRadiusSun":{"type":"number"},"ra":{"type":"number"},"dec":{"type":"number"},"updatedAt":{"type":"string"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/toi":{"post":{"operationId":"exoplanets_toi","summary":"Look up a TESS Object of Interest","description":"Return one TOI by TOI id, or all TOIs for a TIC, from the vendored NASA Exoplanet Archive snapshot. Docs: https://www.brainiac.software/api/exoplanets/toi","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/toi"},"tags":["exoplanets","tess","toi","x402","when checking a target","tic","Look up a TESS Object of Interest","exoplanets toi"],"x-keywords":["when checking a target","toi","tic","Look up a TESS Object of Interest","exoplanets toi"],"x-empty-json-probe":false,"x-probe-body":{"toi":"1083.01"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"toi":{"type":"string","pattern":"^\\d{1,5}(\\.\\d{1,2})?$"},"tic":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"additionalProperties":false,"minProperties":1},"example":{"toi":"1083.01"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"total":{"type":"number"},"tois":{"type":"array","items":{"type":"object","properties":{"toi":{"type":"string"},"tic":{"type":"number"},"disposition":{"type":"string"},"epochBjd":{"type":"number"},"epochErr":{"type":"number"},"periodDays":{"type":"number"},"periodErr":{"type":"number"},"durationHours":{"type":"number"},"depthPpm":{"type":"number"},"radiusEarth":{"type":"number"},"tmag":{"type":"number"},"teffK":{"type":"number"},"stellarRadiusSun":{"type":"number"},"ra":{"type":"number"},"dec":{"type":"number"},"updatedAt":{"type":"string"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/toi-matches":{"post":{"operationId":"exoplanets_toi_matches","summary":"Cross-match TIC ids to TOIs and planets","description":"For up to 1000 TIC ids, list matching TOIs and confirmed planets and mark each target unmined when neither exists. Docs: https://www.brainiac.software/api/exoplanets/toi-matches","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/toi-matches"},"tags":["exoplanets","tess","toi","x402","when grading M-dwarf batches","tics","unmined","Cross-match TIC ids","exoplanets toi-matches"],"x-keywords":["when grading M-dwarf batches","tics","unmined","Cross-match TIC ids","exoplanets toi-matches"],"x-empty-json-probe":false,"x-probe-body":{"tics":[322270620,1]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"tics":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}}},"required":["tics"],"additionalProperties":false},"example":{"tics":[322270620,1]}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"matches":{"type":"array","items":{"type":"object","properties":{"tic":{"type":"number"},"tois":{"type":"array","items":{"type":"string"}},"confirmedPlanets":{"type":"array","items":{}},"unmined":{"type":"boolean"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/planets":{"post":{"operationId":"exoplanets_planets","summary":"List confirmed exoplanets","description":"Search vendored Planetary Systems Composite rows by host, discovery method, period, radius, equilibrium temperature, host temperature, or TIC id. Docs: https://www.brainiac.software/api/exoplanets/planets","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/planets"},"tags":["exoplanets","planets","x402","when writing up a system","host","List confirmed exoplanets","exoplanets planets"],"x-keywords":["when writing up a system","host","planets","List confirmed exoplanets","exoplanets planets"],"x-empty-json-probe":true,"x-probe-body":{"host":"TOI-700","limit":10},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"host":{"type":"string","minLength":1,"maxLength":100},"discoveryMethod":{"type":"string","minLength":1,"maxLength":60},"periodMin":{"type":"number","minimum":0},"periodMax":{"type":"number","minimum":0},"radiusMin":{"type":"number","minimum":0},"radiusMax":{"type":"number","minimum":0},"teqMax":{"type":"number"},"hostTeffMax":{"type":"number"},"ticId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"limit":{"default":50,"type":"integer","minimum":1,"maximum":500}},"additionalProperties":false},"example":{"host":"TOI-700","limit":10}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"total":{"type":"number"},"planets":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"host":{"type":"string"},"tic":{"type":"number"},"discoveryMethod":{"type":"string"},"discoveryYear":{"type":"number"},"periodDays":{"type":"number"},"radiusEarth":{"type":"number"},"massEarth":{"type":"number"},"eqTempK":{"type":"number"},"insolationEarth":{"type":"number"},"hostTeffK":{"type":"number"},"distancePc":{"type":"number"},"semiMajorAxisAu":{"type":"number"},"stellarMassSun":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/planet":{"post":{"operationId":"exoplanets_planet","summary":"Look up a confirmed exoplanet","description":"Return one confirmed exoplanet by name from the vendored Planetary Systems Composite snapshot. Docs: https://www.brainiac.software/api/exoplanets/planet","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/planet"},"tags":["exoplanets","planets","x402","when citing a planet","name","Look up a confirmed exoplanet","exoplanets planet"],"x-keywords":["when citing a planet","name","Look up a confirmed exoplanet","exoplanets planet"],"x-empty-json-probe":false,"x-probe-body":{"name":"TOI-700 d"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100}},"required":["name"],"additionalProperties":false},"example":{"name":"TOI-700 d"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"planet":{"type":"object","properties":{"name":{"type":"string"},"host":{"type":"string"},"tic":{"type":"number"},"discoveryMethod":{"type":"string"},"discoveryYear":{"type":"number"},"periodDays":{"type":"number"},"radiusEarth":{"type":"number"},"massEarth":{"type":"number"},"eqTempK":{"type":"number"},"insolationEarth":{"type":"number"},"hostTeffK":{"type":"number"},"distancePc":{"type":"number"},"semiMajorAxisAu":{"type":"number"},"stellarMassSun":{"type":"number"}},"additionalProperties":true},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/transit-windows":{"post":{"operationId":"exoplanets_transit_windows","summary":"Compute transit windows","description":"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. Docs: https://www.brainiac.software/api/exoplanets/transit-windows","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/transit-windows"},"tags":["exoplanets","transit","x402","when scheduling observations","toi","epochBjd","Compute transit windows","exoplanets transit-windows"],"x-keywords":["when scheduling observations","toi","epochBjd","Compute transit windows","exoplanets transit-windows"],"x-empty-json-probe":false,"x-probe-body":{"toi":"1083.01","from":"2026-12-01","to":"2026-12-31"},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"toi":{"type":"string","pattern":"^\\d{1,5}(\\.\\d{1,2})?$"},"epochBjd":{"type":"number","minimum":2000000,"maximum":3000000},"periodDays":{"type":"number","minimum":0.1,"maximum":10000},"durationHours":{"type":"number","exclusiveMinimum":0,"maximum":48},"epochErr":{"type":"number","minimum":0},"periodErr":{"type":"number","minimum":0},"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false},"example":{"toi":"1083.01","from":"2026-12-01","to":"2026-12-31"}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"toi":{"type":"string"},"windows":{"type":"array","items":{"type":"object","properties":{"n":{"type":"number"},"midBjd":{"type":"number"},"midUtc":{"type":"string"},"ingressUtc":{"type":"string"},"egressUtc":{"type":"string"},"sigmaMinutes":{"type":"null"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/habitable-zone":{"post":{"operationId":"exoplanets_habitable_zone","summary":"Compute habitable-zone edges","description":"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. Docs: https://www.brainiac.software/api/exoplanets/habitable-zone","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/habitable-zone"},"tags":["exoplanets","habitable-zone","x402","when placing a planet","teffK","luminositySun","Compute habitable-zone edges","exoplanets habitable-zone"],"x-keywords":["when placing a planet","teffK","luminositySun","Compute habitable-zone edges","exoplanets habitable-zone"],"x-empty-json-probe":false,"x-probe-body":{"teffK":5780,"luminositySun":1},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"teffK":{"type":"number","minimum":2600,"maximum":7200},"luminositySun":{"type":"number","exclusiveMinimum":0,"maximum":100000},"radiusSun":{"type":"number","exclusiveMinimum":0,"maximum":1000},"planetPeriodDays":{"type":"number","exclusiveMinimum":0},"stellarMassSun":{"type":"number","exclusiveMinimum":0,"maximum":100}},"required":["teffK"],"additionalProperties":false},"example":{"teffK":5780,"luminositySun":1}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"teffK":{"type":"number"},"luminositySun":{"type":"number"},"recentVenusAu":{"type":"number"},"runawayGreenhouseAu":{"type":"number"},"maxGreenhouseAu":{"type":"number"},"earlyMarsAu":{"type":"number"},"planet":{"type":"null"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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."]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}},"/api/v1/exoplanets/transit-search":{"post":{"operationId":"exoplanets_transit_search","summary":"Search a light curve for transits","description":"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. Docs: https://www.brainiac.software/api/exoplanets/transit-search","externalDocs":{"url":"https://www.brainiac.software/api/exoplanets/transit-search"},"tags":["exoplanets","bls","transit","x402","when looking for periodic dips","time","flux","Search a light curve for transits","exoplanets transit-search"],"x-keywords":["when looking for periodic dips","time","flux","BLS","Search a light curve for transits","exoplanets transit-search"],"x-empty-json-probe":false,"x-probe-body":{"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},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"time":{"minItems":100,"maxItems":50000,"type":"array","items":{"type":"number"}},"flux":{"minItems":100,"maxItems":50000,"type":"array","items":{"type":"number"}},"fluxErr":{"minItems":100,"maxItems":50000,"type":"array","items":{"type":"number","exclusiveMinimum":0}},"periodMin":{"default":0.5,"type":"number","minimum":0.3},"periodMax":{"type":"number","exclusiveMinimum":0},"durationsHours":{"default":[0.5,1,2,3,4],"minItems":1,"maxItems":10,"type":"array","items":{"type":"number","minimum":0.1,"maximum":24}},"detrend":{"default":"none","type":"string","enum":["none","median"]},"detrendWindowHours":{"default":12,"type":"number","minimum":1,"maximum":720},"topN":{"default":3,"type":"integer","minimum":1,"maximum":5}},"required":["time","flux"],"additionalProperties":false},"example":{"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}}}},"parameters":[{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"JSON result. A settled 2xx includes payment-response. Settlement is only for HTTP 2xx with status complete or partial and real data; status failed or empty payloads return non-2xx and are not charged.","headers":{"payment-response":{"$ref":"#/components/headers/PaymentResponse"}},"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"points":{"type":"number"},"baselineDays":{"type":"number"},"noiseSigmaPpm":{"type":"number"},"periodsSearched":{"type":"number"},"periodsPlanned":{"type":"number"},"candidates":{"type":"array","items":{"type":"object","properties":{"periodDays":{"type":"number"},"t0":{"type":"number"},"durationHours":{"type":"number"},"depthPpm":{"type":"number"},"snr":{"type":"number"},"oddEvenDepthDiffSigma":{"type":"number"},"transitsObserved":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"licence":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"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"]}}}},"400":{"$ref":"#/components/responses/InvalidRequest"},"402":{"$ref":"#/components/responses/PaymentRequired"},"409":{"$ref":"#/components/responses/IdempotencyConflict"},"413":{"$ref":"#/components/responses/RequestTooLarge"},"500":{"$ref":"#/components/responses/OperationFailed"},"502":{"$ref":"#/components/responses/SettlementUnknown"},"503":{"$ref":"#/components/responses/PaymentsUnavailable"}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.08"},"protocols":[{"x402":{"facilitator":"https://facilitator.ultravioletadao.xyz"}}],"facilitator":"https://facilitator.ultravioletadao.xyz"}}}},"components":{"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}},"headers":{"PaymentResponse":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"responses":{"InvalidRequest":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored - fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"PaymentRequired":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"IdempotencyConflict":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"RequestTooLarge":{"description":"Request body exceeds the 24 MB limit. Not charged."},"SettlementUnknown":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain - do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"PaymentsUnavailable":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."},"OperationFailed":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."}},"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}