BeraVote Documentation
  • 🐻⚡️ BeraVote
    • Introduction to BeraVote 🐻⚡️
    • Getting started with Berachain 🐻⛓️
      • Connect To Berachain
      • Get $BERA 🐻
    • 🗳️User Guide
      • Space
        • Setup a Space Profile
        • Add Vote Tokens
        • Strategies
        • Space Verification
        • Treasury
      • Proposal
        • Create a proposal
      • Vote
      • Provider
        • Incentives Information
    • 🪙Bera VoteMarket
      • Incentive Guidelines
      • Contracts and Fees
    • 🚀Meme & Govern API
    • 🐻‍❄️The Senate NFT Collection
    • FAQ
  • API Reference
    • API Keys
    • Routes
  • Tools
    • BeraVote.js
  • Contact Us
    • Advertise
    • BeraVote Brand Asset
  • Official Links
    • 🐻Website
    • ✖️Twitter
    • Discord
Powered by GitBook
  1. API Reference

API Keys

PreviousFAQNextRoutes

Last updated 1 month ago

Acquire API Keys

In order to use our API directly first need to generate API Keys

In order to do so please Connect wallet and select option API Keys to prove you are address owner.

Select API Keys once wallet is connected

Sign the text that includes your address and timestamp

Copy API key for the required domain

Using API Key

After you received and copied the API key you must add it in Authorization header like Authorization: Bearer xxxx

where xxxx is your API Key.

Name
Value

Content-Type

application/json

Authorization

Bearer xxxx

Limits

Rate limit is 20 request per minute, in case you get over the limit you would get value in seconds when you could retry the next request in Retry-After or X-RateLimit-Reset in response headers and error response in 429 status looking similar to that one:

{

error: "Rate limit exceeded", message: Slow down, try again in 22 seconds.

}