addedInput schema / properties / coinId
Added value: +{
+ "description": "Canonical coin id (e.g. \"bitcoin\")",
+ "type": "string"
+}
changedInput schema / properties / days / description
Previous value: -"Days of history"New value: +"Requested days, rounded to the nearest supported window: 1, 7, 30, 90 or 365 days (default 7). Requests above 365 use 365; available data may be shorter."
removedInput schema / properties / symbol
Removed value: -{
- "description": "Coin symbol (e.g. \"btc\")",
- "type": "string"
-}
changedInput schema / required
Previous value: -[
- "symbol"
-]New value: +[
+ "coinId"
+]
addedOutput schema / properties / data
Added value: +{
+ "additionalProperties": true,
+ "properties": {
+ "coinId": {
+ "type": "string"
+ },
+ "days": {
+ "type": "integer"
+ },
+ "lastUpdated": {
+ "description": "ISO-8601 timestamp of the most recent refresh",
+ "type": "string"
+ },
+ "prices": {
+ "description": "Price points, oldest → newest",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "marketCap": {
+ "type": "number"
+ },
+ "price": {
+ "type": "number"
+ },
+ "timestamp": {
+ "description": "Unix epoch milliseconds",
+ "type": "number"
+ },
+ "volume": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "timestamp",
+ "price"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "description": "Where the data came from",
+ "enum": [
+ "rate_history",
+ "cache",
+ "coingecko"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "coinId",
+ "days",
+ "source",
+ "prices",
+ "lastUpdated"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / points
Removed value: -{
- "description": "Price points, oldest → newest",
- "items": {
- "additionalProperties": true,
- "properties": {
- "timestamp": {
- "description": "ISO-8601 timestamp of the data point",
- "type": "string"
- },
- "value": {
- "description": "The recorded numeric value",
- "type": "number"
- }
- },
- "required": [
- "timestamp",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
-}
removedOutput schema / properties / symbol
Removed value: -{
- "type": "string"
-}
changedOutput schema / required
Previous value: -[
- "symbol",
- "points"
-]New value: +[
+ "data"
+]