{"openapi":"3.1.0","info":{"title":"StockAPY API","version":"1.0.0","description":"An independent comparison of every place you can earn yield on tokenized stocks — across chains, issuers, DeFi protocols and CeFi platforms. Base rates, incentives and points shown separately, with a source and a timestamp on every number. Free, no key, CORS-open, refreshed hourly. Licence: CC BY 4.0 — cite StockAPY with a link."},"servers":[{"url":"https://stockapy.xyz"}],"paths":{"/api/v1/summary":{"get":{"summary":"Headline numbers across Earn, Liquidity and Borrow, plus the best figure per stock.","responses":{"200":{"description":"Summary."}}}},"/api/v1/earn":{"get":{"summary":"Places that pay you to deposit a tokenized stock.","parameters":[{"name":"ticker","in":"query","schema":{"type":"string"},"description":"Underlying stock ticker, case-insensitive.","example":"NVDA"},{"name":"chain","in":"query","schema":{"type":"string"},"description":"Chain name, e.g. Solana, Base, Ethereum, Robinhood Chain, BNB Chain.","example":"Solana"},{"name":"platform","in":"query","schema":{"type":"string"},"description":"Platform name, e.g. Kamino Lend, Aave, Morpho."},{"name":"status","in":"query","schema":{"type":"string","enum":["live","ended","all"],"default":"live"}},{"name":"min_tvl","in":"query","description":"Minimum TVL in US dollars.","schema":{"type":"number","minimum":0}},{"name":"sort","in":"query","schema":{"type":"string","enum":["apy","tvl"],"default":"apy"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}}],"responses":{"200":{"description":"Matching records, with fetchedAt, licence and source."},"400":{"description":"Unknown or invalid parameter; the message names the allowed values."}}}},"/api/v1/liquidity":{"get":{"summary":"Active DEX pools that pair a tokenized stock. Rates before impermanent loss.","parameters":[{"name":"ticker","in":"query","schema":{"type":"string"},"description":"Underlying stock ticker, case-insensitive.","example":"NVDA"},{"name":"chain","in":"query","schema":{"type":"string"},"description":"Chain name, e.g. Solana, Base, Ethereum, Robinhood Chain, BNB Chain.","example":"Solana"},{"name":"venue","in":"query","schema":{"type":"string"},"description":"DEX: Raydium, Uniswap or Aero."},{"name":"pair","in":"query","description":"stable = stock/stablecoin pools only.","schema":{"type":"string","enum":["stable","all"],"default":"stable"}},{"name":"min_tvl","in":"query","description":"Minimum TVL in US dollars.","schema":{"type":"number","minimum":0}},{"name":"sort","in":"query","schema":{"type":"string","enum":["fee","tvl","volume"],"default":"fee"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}}],"responses":{"200":{"description":"Matching records, with fetchedAt, licence and source."},"400":{"description":"Unknown or invalid parameter; the message names the allowed values."}}}},"/api/v1/borrow":{"get":{"summary":"Markets that accept a tokenized stock as collateral.","parameters":[{"name":"ticker","in":"query","schema":{"type":"string"},"description":"Underlying stock ticker, case-insensitive.","example":"NVDA"},{"name":"chain","in":"query","schema":{"type":"string"},"description":"Chain name, e.g. Solana, Base, Ethereum, Robinhood Chain, BNB Chain.","example":"Solana"},{"name":"platform","in":"query","schema":{"type":"string"},"description":"Platform name, e.g. Kamino Lend, Aave, Morpho."},{"name":"loan_asset","in":"query","schema":{"type":"string"},"description":"What you borrow, e.g. USDC."},{"name":"sort","in":"query","schema":{"type":"string","enum":["ltv","cost"],"default":"ltv"}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":500,"default":100}}],"responses":{"200":{"description":"Matching records, with fetchedAt, licence and source."},"400":{"description":"Unknown or invalid parameter; the message names the allowed values."}}}},"/api/v1/stocks":{"get":{"summary":"Every tracked stock with its best deposit APY, LP fee APY and max LTV.","responses":{"200":{"description":"Stocks."}}}},"/api/v1/stocks/{ticker}":{"get":{"summary":"Everything for one stock: deposit venues, liquidity pools and borrow markets.","parameters":[{"name":"ticker","in":"path","required":true,"schema":{"type":"string"},"example":"nvda"}],"responses":{"200":{"description":"One stock."},"404":{"description":"Unknown ticker."}}}}}}