ONYX
ONYX
ONYX · API

The public API.

A small, stable surface for pulling ONYX data into your own tools. Authenticate with an API key, get JSON back. Keys are created in Settings once you have an account.

Auth

Authenticate with a key

Send your key either as a bearer token or in x-api-key. Both are accepted; use whichever your client makes easier.

curl https://onyxintelligence.ai/api/public/v1/macro/yield-curve \
  -H "Authorization: Bearer $ONYX_API_KEY"

# or
curl https://onyxintelligence.ai/api/public/v1/macro/yield-curve \
  -H "x-api-key: $ONYX_API_KEY"
Endpoints

What you can call

GET/crypto/marketsTop crypto markets — price, 24h change, volume.
GET/macro/yield-curveUS Treasury 2-year and 10-year yields with the spread.
GET/intel/sentimentAggregate market sentiment signal.

This is the whole public surface today. It will grow — we would rather list three endpoints that work than twenty that might.

Responses

One envelope, every route

Payloads are wrapped with a metadata block carrying the freshness stamp for that value, so you can tell how old a number is rather than assuming it is live.

{
  "data": {
    "twoYear": 4.37,
    "tenYear": 4.71,
    "spread": 0.34,
    "date": "07/23/2026"
  },
  "_metadata": {
    "freshness": "2026-07-24T19:05:12.482Z",
    "source": "FETCH"
  }
}

source is FETCH when the value came from the upstream provider on this request, or a cache marker when it was served from the cascade described in the methodology.

Limits

Rate limits and errors

Free tier100 requests per day per key, counted on a rolling daily window.
401Missing or invalid key.
429Daily limit reached. The response body says so explicitly.

Create a key in Settings, or read how the data is sourced and cached before you build against it.

ONYX Intelligence

Terminal-grade market data, an AI analyst that queries it directly, and a visual builder for protocols that act on what they find.

ONYX Intelligence is not a registered broker-dealer or investment adviser, and does not provide investment advice or recommendations. Brokerage services, order routing, and execution are provided by your own connected third-party broker. All trading involves risk, including the possible loss of principal. Paper-trading and backtested or simulated protocol results are hypothetical, do not represent actual trading, and do not reflect real fills, slippage, or liquidity; past or simulated performance does not indicate future results. Automated protocols execute according to rules you configure — you are responsible for reviewing and controlling them.

© 2026 ONYX Intelligence. All rights reserved.

Getting Started

0/5