Version: 1.1 · Effective: 2026-09-25 · Applies to: https://yield.trdefi.com/api/ and https://yield.trdefi.com/v1/

This document states what the API is, what it is not, where its data comes from, what we guarantee, and what we explicitly do not. It is the foundation the other two documents rest on: read this first.


1 · What this API is

A public, read-first API over the live non-custodial liquidity catalogue that TRDEFI normalises across supported networks, plus — for accredited integrators holding a key — a prepare-only write path that turns an intent into unsigned transactions for the client's own wallet to sign.

Concretely, it answers five questions:

  1. What is open right now? — how many liquidity positions are quoting, on which networks, in which pairs, by how many distinct makers.
  2. What has actually settled? — traded volume over 24 hours, 7 days and 30 days, per pair and per chain, derived from on-chain fills.
  3. What would a trade look like? — an indicative quote. Nothing is signed and nothing moves.
  4. Is a given chain or pair live? — the live catalog, so a client never hardcodes identifiers.
  5. What exactly would I have to sign? — the write path returns the complete, unsigned transaction set for a position, fee included, for the client's wallet to sign or reject.

2 · What this API is not

Stated plainly, because an integration decision may depend on it:

It is notBecause
A custody serviceNothing in the API holds, moves or controls funds. There is no deposit step anywhere.
A signing serviceWe never sign. There is no signing grant, no delegated key, no moment at which a credential of ours produces a signature. The write path prepares; the client's wallet signs.
A broadcasterWe never submit a transaction on a client's behalf. Broadcast is the client's call, from the client's own address.
A trading venue of recordIt reports positions and volume; it does not settle trades. Settlement is on-chain.
A price oracleQuotes are indicative and sourced from a live catalogue. They are not a reference rate and must not be used as one.
A financial productNo returns are offered, promised or implied. Figures describe activity that has already happened.
A data warehouseIt exposes aggregates and lists, not bulk row access. There is no SQL endpoint and no export of raw rows.

3 · Data sources and freshness

Every figure is derived, never entered by hand.

LayerSourceRefresh
Open positionsThe public liquidity registry on each supported network, read directly from the chainOn a scheduled refresh; the catalogue is re-listed and traded volume recomputed, stalest rows first
Settled volumeOn-chain fill events, aggregatedSame schedule
Aggregates (/api/stats, /api/chains)Pre-aggregated roll-ups computed from the aboveSame schedule
QuotesLive read against the routing layerPer request
Prepared transactionsBuilt at request time against the current block and pricePer request; expires

Freshness is part of the response, not a footnote. meta.freshnessSeconds states how old the underlying roll-up is, and meta.cached says whether the reply came from our short-lived cache. A client that needs to know whether a number is a minute or three hours old does not have to guess.

What we commit to: we disclose the age. What we do not promise: that the roll-up is second-fresh. It is not, and treating it as a real-time feed is a misuse of the API.

4 · Custody and security model

The API is designed so that a compromised API credential cannot move value. This is not a promise about our operational discipline; it follows from the architecture.

PropertyValue
Token custodyThe owner's wallet, at all times
Value the read API can moveNone
Credential required to readNone
Credential required to prepareAn API key, held server-side by the client
Value the write path can moveNone. It returns unsigned transactions.
What can actually move valueOnly a signature from the client's own wallet, against a bounded, revocable allowance
Lock-upNone
ExitOwner-initiated, single transaction
Key material of clientsNever held, never requested
Signatures produced by usNone, ever

Three further commitments:

5 · Fees

Every position created through TRDEFI carries a 0.05 % protocol fee embedded in the signed order data — the same whether the position is created through the web app or the API.

QuestionAnswer
How much?0.05 % of the traded amount
Where does it go?It is written into the order the maker signs and is executed on-chain by the position itself
Can an integrator remove it?No. There is no parameter, tier or agreement that waives it.
Does it apply to reading data?No. Reading is free and always has been.
Does it apply to existing positions?No. Terms are immutable on-chain; positions created earlier keep their original terms.
Is it disclosed before signing?Yes — in the fee object of POST /v1/positions, in the web app before confirmation, and in Overall Scheme Part 7.

The fee is part of the position, not a separate charge. An integrator that resells access passes it through; it is not a cost we absorb on their behalf.

6 · Scope boundaries

In scope — we own this:

Out of scope — we do not own this:

7 · Service level

PropertyTarget
Availability (read surface)99.5 % monthly, measured on 2xx + 4xx (client errors are not outages)
Latency (p50 / p95)Under 400 ms / under 1.5 s for /api/stats
Latency (POST /v1/positions)Under 1.5 s p95 to return a prepared transaction set
Cache freshnessmeta.cached is honest; cached replies are at most 60 s old
Incident communicationStatus note on this domain, and the request id quoted in the envelope
Breaking-change noticeMinimum 90 days, published on the deprecation calendar

The SLO applies to the read surface and to preparation. Anything after preparation — signing, broadcast, inclusion on-chain — is outside it, because none of it is ours to control.

8 · Responsibility matrix

ConcernTRDEFIClient
Holding funds and keys—Owns
Preparing a correct, complete, fee-inclusive transaction setOwns—
SigningNever signsOwns
BroadcastingNever broadcastsOwns
Authorising value movementProvides the bounded allowance mechanism the client's wallet signsSigns
Aggregate correctness, given chain dataOwns—
Independent verification before acting on a figure—Owns
Contract stability (envelope, versioning, ids)Owns—
Handling a 4xx correctlyProvides stable codesOwns
Staying inside the advertised rate limitAdvertises the limit on every replyOwns
Regulatory position in the client's jurisdictionProvides facts about its own operationOwns

9 · Definitions


TRDEFI Ltd, London, United Kingdom. This document describes a software interface. It is not financial advice, and nothing in it constitutes an offer to sell or a solicitation to buy any security or financial product.