API and data for agents
Free, no key, CORS-open, refreshed hourly. Licence CC BY 4.0: cite StockAPY with a link.
JSON API
- /api/v1/summaryHeadline numbers and the best figure per stock
- /api/v1/earn?ticker=nvda&sort=apy&limit=5Deposit venues
- /api/v1/liquidity?ticker=nvda&min_tvl=250000&sort=feeActive DEX pools
- /api/v1/borrow?loan_asset=usdc&sort=costBorrow markets
- /api/v1/stocks/nvdaEverything for one stock
Spec: /openapi.json. Bad parameters return 400 with the allowed values.
curl "https://stockapy.xyz/api/v1/liquidity?ticker=tsla&limit=3"Markdown
Add .md to a page, or request it with Accept: text/markdown.
Citing
“Source: StockAPY (https://stockapy.xyz), retrieved [date].” Every record has its own fetchedAt and source.