DataHub Docs
DataHubLearnCommunity
  • 👋Welcome to Figment Docs
  • 🚩Introduction
    • 🚀Why Build on Web 3?
    • 💻What is DataHub?
  • 📖DataHub Guides
    • 📍DataHub Products
      • Transaction Search API
      • Staking API
    • 🏭DataHub Infrastructure
    • 🏁Get Started With DataHub
    • 🚨Quotas & Rate Limits
    • 💡Dashboard how-tos
      • Configuring CORS whitelist
  • 📚Network Documentation
    • 🔭Network Guide
    • 🅰️Arbitrum
      • 🎮RPC & REST API
    • 🏔️Avalanche
      • 🎮RPC & REST API
        • Avalanche Indexer API
    • 💠Binance Smart Chain
      • 🎮RPC & REST API
    • 💰Celo
      • 💼CELO Wallet
      • 🎮RPC & REST API
    • ➰Centrifuge
      • 🎮RPC & REST API
    • 🌌Cosmos
      • 🎮RPC & REST API
      • 🎊Enriched APIs
        • Transaction Search
        • Rewards API
    • 💎Ethereum
      • 🎮RPC & REST API
    • 🧊Fantom
      • 🎮RPC & REST API
    • 🐦Kusama
      • 🎮RPC & REST API
    • 📱Mina
      • 🎮RPC & REST API
        • Indexer API Documentation
        • Query Mina GraphQL API
    • 🌈NEAR
      • 🎮RPC & REST API
      • 🎊Enriched APIs
        • Indexer API
      • 💼NEAR Wallet
    • 🏝️Oasis
      • 🎮RPC & REST API
        • Oasis REST API
    • 🧪Osmosis
      • 🎮RPC & REST API
    • 🍡Polkadot
      • 🎮RPC & REST API
      • 🎊Enriched APIs
        • Indexer API
        • Transaction Search
    • ⛽Polygon (Matic)
      • 🎮RPC & REST API
    • 🔋Solana
      • 🎮RPC & REST API
    • 📚Extra Guides
      • Blockchain Fundamentals
      • Docker Setup for Windows
      • Troubleshooting CORS Errors on DataHub
      • 5XX Retry Logic Best Practices
        • 5XX Retry Logic Best Practices - NodeJS
        • 5XX Retry Logic Best Practices - Python
        • 5XX Retry Logic Best Practices - Ruby
        • 5XX Retry Logic Best Practices - Go
      • Setting up a fresh JavaScript Project with dotenv
      • Getting started with dotenv and .env files
      • Rust Learning Resources
      • Setup Solana BPF Toolchain on Windows
      • Figment Learn Pathway Troubleshooting
  • 🤔Other
    • 🧾Glossary
    • 🗳️Support
  • 🔗Terms & Conditions
    • Terms of Use
    • Terms & Conditions DataHub
    • Privacy Policy
    • Contributor Terms
Powered by GitBook
On this page
  • Difference Between Quotas and Rate Limits
  • How Do I Know When I've Hit My Quota?
  • How Do I Know When I'm Getting Rate Limited?

Was this helpful?

  1. DataHub Guides

Quotas & Rate Limits

Understand how quotas and rate limits work in DataHub and how to manage them

Difference Between Quotas and Rate Limits

A Quota measures how many total requests you can make across all your services in one day.

A Rate Limit measures how many requests you can make against a specific endpoint in one second.

If you go over your Quota for the day, you'll need to upgrade your plan.

If you hit a Rate Limit for an endpoint, you'll need to retry your requests.

The goal of a Quota is to allow customers to pay for what they use, similar to a cell phone plan.

The goal of a Rate Limit is to ensure quality of service, and most users will never come close to hitting a Rate Limit.

How Do I Know When I've Hit My Quota?

DataHub will return status code HTTP 429 "Too Many Requests" when you exceed your Quota.

To confirm this, you can view your current Quota usage on your DataHub Dashboard.

You can upgrade your plan to increase your Quota.

How Do I Know When I'm Getting Rate Limited?

DataHub will return status code HTTP 429 "Too Many Requests" when you are getting rate limited for a specific endpoint.

If this happens, you can confirm on your DataHub Dashboard that you are not over your Quota and that you are instead getting rate limited.

If you are getting rate limited, you will need to retry your requests in your application. Since Rate Limits are measured per second, you could simply wait for a second and try again.

PreviousGet Started With DataHubNextDashboard how-tos

Last updated 3 years ago

Was this helpful?

If you need more information about quotas and rate limits, join and one of our experts will help you out!

📖
🚨
our community