addedOutput schema / properties / data
Added value: +{
+ "additionalProperties": true,
+ "properties": {
+ "count": {
+ "description": "Number of rates returned",
+ "type": "number"
+ },
+ "rates": {
+ "description": "Matching rate entries",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "category": {
+ "description": "Product category",
+ "enum": [
+ "lending",
+ "borrowing",
+ "staking",
+ "price"
+ ],
+ "type": "string"
+ },
+ "coinId": {
+ "description": "Canonical coin id, e.g. `bitcoin` (nullable)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "lastUpdated": {
+ "description": "ISO-8601 timestamp of the most recent rate refresh",
+ "type": "string"
+ },
+ "metadata": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "provider": {
+ "description": "Provider slug, e.g. `nexo`",
+ "type": "string"
+ },
+ "providerSymbol": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rate": {
+ "description": "Rate value; semantics depend on unitType (percentage APY vs absolute price)",
+ "type": "number"
+ },
+ "symbol": {
+ "description": "Coin symbol, e.g. `btc`",
+ "type": "string"
+ },
+ "unitSymbol": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "unitType": {
+ "enum": [
+ "percentage",
+ "absolute",
+ "ratio"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "symbol",
+ "category",
+ "rate",
+ "coinId",
+ "lastUpdated"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "symbol": {
+ "description": "Present on the /rates/{symbol} variant",
+ "type": "string"
+ },
+ "timestamp": {
+ "description": "ISO-8601 response timestamp (omitted on /rates/{symbol})",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rates",
+ "count"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / rates
Removed value: -{
- "description": "Matching rate entries",
- "items": {
- "additionalProperties": true,
- "properties": {
- "apy": {
- "description": "Annual percentage yield as a decimal (0.05 = 5%)",
- "type": "number"
- },
- "category": {
- "description": "Product category",
- "enum": [
- "savings",
- "lending",
- "staking",
- "borrowing"
- ],
- "type": "string"
- },
- "provider": {
- "description": "Provider slug, e.g. `nexo`",
- "type": "string"
- },
- "symbol": {
- "description": "Coin symbol, e.g. `btc`",
- "type": "string"
- },
- "updatedAt": {
- "description": "ISO-8601 timestamp of the most recent rate refresh",
- "type": "string"
- }
- },
- "required": [
- "provider",
- "symbol",
- "category",
- "apy"
- ],
- "type": "object"
- },
- "type": "array"
-}