Developer API reference
Integrations use HTTPS and JSON. Each backend service has its own origin; call the host documented for that service.
Example production hosts
atlas-api.trinitytrade.ioathena-api.trinitytrade.ioartemis-api.trinitytrade.iodionysus-api.trinitytrade.io
IRIS is TRINITY’s web application. Some user-facing flows use the app’s web origin; backend APIs use their service hostnames (and additional hosts appear in the guides).
Internal docs.
OpenAPI, IRIS web routes, HERMES, CHRONOS, and related material are listed under Internal in the sidebar
when you open this site at 127.0.0.1.
Public demo routes, where we publish them, need no authentication and use live data for evaluation—not static fixtures. Production access is per service and per integration.
Service hosts
Use the service guide for the product you integrate with: each page documents its production base URL,
path prefix (commonly /api/v1/… on that host), and authentication. Staging or
partner-specific hostnames arrive in onboarding—not every service shares one global API gateway.
Quick start
Each backend publishes its own readiness endpoint. To verify connectivity, send GET /health
to the origin for the service you integrate (see that service’s guide). The example below uses ATLAS;
replace the base URL with ATHENA, ARTEMIS, DIONYSUS, or another host when following a different guide.
export ATLAS_API="${ATLAS_API:-https://atlas-api.trinitytrade.io}"
curl -sS "$ATLAS_API/health"
Continue with the service guides below (ATLAS, ATHENA, DIONYSUS, ARTEMIS). For OpenAPI, IRIS web routes, HERMES, CHRONOS,
and related tooling, use the Internal block in the sidebar at 127.0.0.1.
API shape and practices
- Versioned paths — On a given service, integrations should target stable
/api/v1/…URLs (or the version prefix that service documents) and avoid undocumented prefixes. Versioning moves per service: not every backend will bump fromv1tov2on the same schedule; follow release notes and the contract for each host you call. - Specification first — Query parameters (including pagination such as
page/page_sizeor equivalents) differ by operation. Use the service guide for the host you call; the OpenAPI catalog (Internal → OpenAPI at127.0.0.1) aggregates many routes when you need a single document. - Errors and limits — Handle non-2xx responses; retry transient failures and
429with exponential backoff unless your integration guide says otherwise.
TRINITY platform
Integrate using HTTPS, JSON bodies, and each service’s documented paths and auth. Public demo routes are for evaluation where we offer them. Production access is agreed per service: authentication, allowed endpoints, quotas, error handling—then implement against the service-specific contract you pin for that integration.
Guides
ATLAS — Portfolios
Portfolio read API on the ATLAS host (https://atlas-api.trinitytrade.io).
Use it from servers and automation; many web apps call the same JSON shapes on the TRINITY API host.
ATHENA — Analysis
Stage analysis and indicator payloads from the ATHENA API: health probe plus authenticated read of per-symbol
snapshots from Firestore (/api/v1/results/analysis/{symbol}).
DIONYSUS — Create
Portfolio allocation on the DIONYSUS host: GET /health and authenticated POST /api/v1/portfolios/optimize.
ARTEMIS — Search
Hunt and Cash Hunt on the ARTEMIS host (https://artemis-api.trinitytrade.io):
health check plus GET /api/v1/portfolios/hunt and GET /api/v1/portfolios/cash-hunt with production OIDC bearer auth.