{"openapi":"3.1.0","info":{"title":"FTSO Yggdrassil Price API","version":"1.0.0","description":"Real-time cryptocurrency price API powered by the FTSO Yggdrassil value provider.","x-guidance":"Use GET /v1/assets to retrieve supported assets. Use GET /v1/ticker/{symbol} for one price, GET /v1/tickers/{symbols} for 2 to 5 prices, or GET /v1/all-tickers for the complete price snapshot. Prices are quoted in USD and paid through x402."},"paths":{"/v1/assets":{"get":{"operationId":"listAssets","summary":"List supported assets","description":"Returns the cryptocurrency assets supported by the API.","security":[],"responses":{"200":{"description":"Supported assets","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer"},"assets":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string"},"quote":{"type":"string"}},"required":["symbol","quote"]}}},"required":["count","assets"]}}}}}}},"/v1/ticker/{symbol}":{"get":{"operationId":"getTicker","summary":"Get a cryptocurrency price","description":"Returns the current USD price for one supported cryptocurrency.","parameters":[{"name":"symbol","in":"path","required":true,"description":"Cryptocurrency symbol, for example BTC, ETH, XRP or FLR.","example":"BTC","examples":{"default":{"summary":"Valid cryptocurrency symbol","value":"BTC"}},"schema":{"type":"string","minLength":1}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.002"},"protocols":[{"x402":{}}]},"responses":{"200":{"description":"Current cryptocurrency price","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string"},"currency":{"type":"string"},"price":{"type":"object","additionalProperties":{"type":"number"}}},"required":["timestamp","currency","price"]}}}},"402":{"description":"Payment Required"}}}},"/v1/tickers/{symbols}":{"get":{"operationId":"getTickers","summary":"Get multiple cryptocurrency prices","description":"Returns current USD prices for 2 to 5 supported cryptocurrencies.","parameters":[{"name":"symbols","in":"path","required":true,"description":"Comma-separated list of 2 to 5 cryptocurrency symbols, for example BTC,ETH,XRP.","example":"BTC,ETH,XRP","examples":{"default":{"summary":"Valid batch request","value":"BTC,ETH,XRP"}},"schema":{"type":"string","minLength":1}}],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.008"},"protocols":[{"x402":{}}]},"responses":{"200":{"description":"Current cryptocurrency prices","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string"},"currency":{"type":"string"},"prices":{"type":"object","additionalProperties":{"type":"number"}}},"required":["timestamp","currency","prices"]}}}},"402":{"description":"Payment Required"}}}},"/v1/all-tickers":{"get":{"operationId":"getAllTickers","summary":"Get all cryptocurrency prices","description":"Returns a complete current USD price snapshot for all supported cryptocurrencies.","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010"},"protocols":[{"x402":{}}]},"responses":{"200":{"description":"Complete cryptocurrency price snapshot","content":{"application/json":{"schema":{"type":"object","properties":{"timestamp":{"type":"string"},"currency":{"type":"string"},"prices":{"type":"object","additionalProperties":{"type":"number"}}},"required":["timestamp","currency","prices"]}}}},"402":{"description":"Payment Required"}}}}}}