ChainBot Docs
English
English
  • 🎉ChainBot Introduction
  • ☺️Quick Start
  • 🚀Basic Usage
    • 🤖Monitoring/Bot
      • Transaction Bot Monitoring
      • Event Bot Monitoring
      • DEX Bot Monitoring
      • Value Bot Monitoring
      • NFT Bot Monitoring
      • Snapshot Bot Monitoring
      • Block Bot Monitoring
      • Arweave Bot Monitoring
    • 🧲Lists
      • Create List
      • Manage List
    • 📝Contract Management
      • Add Contract
      • Manage Contract
    • 📮Notify Channels
      • Email
      • Slack
      • Discord
      • Telegram
      • DingTalk
      • Pushover
      • Pagerduty
      • Webhook
      • Lark
      • Cobo Argus
    • 🔔Subscription
  • 💻Advanced Features
    • Fork Bot
    • Manage Bot
    • Alarm Notification Template
      • Message Template Variable Summary
    • Condition(s) Description
    • Webhooks
    • ⛏️Supported Data Sources
    • API
      • API Key Application
      • API Doc
  • Bot Configuration Examples
    • Event Bot Example
    • Dex Bot Example
    • Value Bot Example
    • Transaction Bot Example
    • Block Bot Example
    • NFT Bot Example
    • Snapshot Bot Example
    • Arweave Bot Example
  • 🫂Privacy Policy
    • Privacy Policy
    • Terms of Services
  • Support
    • 🤔FAQ
    • 📩Contact us
Powered by GitBook
On this page
  • Applying for an Api Key
  • Authentication Method
  1. Advanced Features
  2. API

API Key Application

Applying for an Api Key

Register an account normally at https://chainbot.io/ and purchase a Pro user membership. Provide the email associated with the account to the team for application. Each account will be assigned a client_id and secret_key.

Authentication Method

The authentication method is Base Auth, i.e., Basic: base64(client_id:secret_key) as the Authorization.

Example

For example, if the assigned client_id is test_client_id and the secret_key is test_secret_key,

then base64(test_client_id:test_secret_key) = dGVzdF9jbGllbnRfaWQ6dGVzdF9zZWNyZXRfa2V5

The code for sending the request is

curl "https://api.chainbot.io" \
     -H 'Authorization: Basic dGVzdF9jbGllbnRfaWQ6dGVzdF9zZWNyZXRfa2V5'
PreviousAPINextAPI Doc

Last updated 8 months ago

💻