The Iris API is provided as-is, without a Service Level Agreement (SLA). While we strive to maintain reliable service, availability and uptime are not guaranteed. We recommend implementing appropriate fallback mechanisms in production applications and avoiding hard dependencies on API availability for critical operations.The Iris API can evolve. Stay in touch with updates via the API Changelog.
Endpoints
GraphQL API: For all data related to Iris loans, positions, and bonds. You can explore the schema and run live queries in the GraphQL Playground.Key Data & Features
- Real-time Data: Access current state data for loans, positions, and solver bonds.
- Loan & Position Analytics: Retrieve metrics like fixed rates, maturities, accrued interest, and bond health.
- User Positions: Fetch detailed information on collateral, debt, and bond positions for any borrower or solver.
- Historical Data: Historical timeseries data (planned).
Supported Networks
The Iris API supports the following networks:- Ethereum (Chain ID: 1), coming soon
- VNet (Chain ID: 9991), a staging fork of Ethereum mainnet
VNet shares portion of mainnet contract addresses but is not production data: resetting the fork wipes everything indexed against it. Treat the pods, balances, and prices returned today as disposable.
Iris API main rules
Best Practices & Rate Limiting
To ensure reliable service for all users and protect against malicious usage, spam, and attacks, the API enforces the following rate limits:
Limits are bucketed by route and method over a 1-second window. Every response carries the current budget:
429. To stay within the limits and ensure optimal performance for your application:
- Cache Responses: Cache API query results on your backend to reduce redundant requests and improve your application’s performance.
- Request Only What You Need: Structure your GraphQL queries to fetch only the data fields required for your use case.
- Avoid Excessive Polling: Design your application to fetch data efficiently, respecting API limits to prevent interruptions.

