# Staking Rewards API Documentation > Documentation for the Staking Rewards APIs — accurate, up-to-date staking data and ratings covering 60+ assets and hundreds of providers. Includes the Staking Data API (GraphQL), the Ratings API (REST), and billing/subscription management. ## Overview - [Welcome](https://docs.stakingrewards.com/): Access staking data and ratings through the Staking Rewards APIs - covering over 60 assets and hundreds of providers. ## Getting Started - [Quick Start Guide](https://docs.stakingrewards.com/get-started/quick-start-guide): Get up and running with the Staking Rewards API in minutes. Obtain your API key, make your first GraphQL request, and understand the response format. - [Hands-On for Beginners](https://docs.stakingrewards.com/get-started/hands-on-for-beginners): A step-by-step guide through the API Playground, building progressively more complex queries from novice to expert level. - [Use with AI Agents](https://docs.stakingrewards.com/get-started/use-with-ai): Connect AI coding assistants to the Staking Rewards API using a ready-made skill file. ## Staking Data API - [Schema & Objects](https://docs.stakingrewards.com/staking-data-api/schema-and-objects): Understand the API schema, object relationships, and all available types and fields. - [Querying Data](https://docs.stakingrewards.com/staking-data-api/querying-data): Learn how to query the Staking Data API — from simple queries to advanced filtering, sorting, and historical data. - [Methodology](https://docs.stakingrewards.com/staking-data-api/methodology): How metrics are calculated for assets, providers, validators, reward options, and the global ecosystem. - [Best Practices](https://docs.stakingrewards.com/staking-data-api/resources/best-practices): Recommended patterns for using the Staking Rewards API efficiently. - [Practical Query Samples](https://docs.stakingrewards.com/staking-data-api/resources/practical-query-samples): Real-world GraphQL query examples for common use cases. - [Error Codes](https://docs.stakingrewards.com/staking-data-api/resources/error-codes): Common API error codes and their resolutions. - [FAQs](https://docs.stakingrewards.com/staking-data-api/resources/faqs): Frequently asked questions about the Staking Rewards API. ## Ratings API - [Overview](https://docs.stakingrewards.com/ratings-api/overview): Introduction to the Staking Rewards Ratings API - a REST-based API for accessing DeFi and Infrastructure ratings data. - [Monitored Protocols & Events](https://docs.stakingrewards.com/ratings-api/monitored-protocols): The complete inventory of DeFi protocols, contracts, and on-chain events monitored by the Staking Rewards on-chain alerting pipeline, and how each maps to an alert incident type and severity. - [List DeFi Chains](https://docs.stakingrewards.com/ratings-api/endpoints/defi/listDefiChains): Returns the list of blockchains available in DeFi ratings. Use the returned `slug` values as the `chain` filter parameter in `GET /ratings/defi` and `GET /ratings/defi/{provider-slug}`. - [List DeFi Ratings](https://docs.stakingrewards.com/ratings-api/endpoints/defi/listDefiRatings): Returns a paginated list of all DeFi product ratings across all platforms. Supports filtering by type, chain, TVL, APY, user count, date ranges, and version, as well as sorting and pagination. - [List DeFi Platform Ratings](https://docs.stakingrewards.com/ratings-api/endpoints/defi/listDefiPlatformRatings): Returns a paginated list of DeFi product ratings for a specific platform identified by its slug. Supports the same filtering, sorting, and pagination options as the global DeFi listing. - [Get DeFi Product Rating](https://docs.stakingrewards.com/ratings-api/endpoints/defi/getDefiProductRating): Returns the rating for a specific DeFi product identified by its platform slug and product identifier. - [List DeFi Alerts](https://docs.stakingrewards.com/ratings-api/endpoints/defi/listDefiAlerts): Returns a paginated list of on-chain DeFi rating alerts across all tracked protocols, ordered by the time the incident occurred on-chain (most recent first). Supports filtering by protocol, product, contract address, severity, and chain. - [List Infrastructure Ratings](https://docs.stakingrewards.com/ratings-api/endpoints/infrastructure/listInfraRatings): Returns a paginated list of infrastructure provider ratings. Supports filtering by rating grade, date ranges, and version, as well as sorting and pagination. - [Get Infrastructure Rating](https://docs.stakingrewards.com/ratings-api/endpoints/infrastructure/getInfraRating): Returns the rating for a specific infrastructure provider identified by its slug. ## Manage Subscription - [Subscription Plans](https://docs.stakingrewards.com/billing/subscription-plans): API subscription plans, pricing tiers, and enterprise options. - [Credits & Limits](https://docs.stakingrewards.com/billing/credits-and-limits): Rate limits, credit calculation, and optimization strategies. - [Update Subscription](https://docs.stakingrewards.com/billing/update-subscription): Check your subscription status and upgrade your plan. - [Cancel Subscription](https://docs.stakingrewards.com/billing/cancel-subscription): How to cancel your Staking Data API subscription. - [API Key Management](https://docs.stakingrewards.com/billing/api-keys/overview): Manage multiple API keys under a single billing subscription. - [Get Billing Status](https://docs.stakingrewards.com/billing/api-keys/getBillingStatus): Returns the current subscription status and usage information, including remaining credits, monthly quota, and next billing date. - [List API Keys](https://docs.stakingrewards.com/billing/api-keys/listApiKeys): Returns all API keys for the authenticated user (active and revoked). The api_key value is masked in this response. - [Create API Key](https://docs.stakingrewards.com/billing/api-keys/createApiKey): Creates a new API key under the same billing subscription. The full api_key value is only returned in this response — save it now. - [Update API Key](https://docs.stakingrewards.com/billing/api-keys/updateApiKey): Updates the label, active status, or credit limit of an API key. All fields are optional. Revoked keys cannot be modified. - [Revoke API Key](https://docs.stakingrewards.com/billing/api-keys/revokeApiKey): Permanently revokes an API key. Revoked keys stop working immediately and cannot be re-activated. The last active key on an account cannot be revoked.