Blaze
  • Overview
    • Overview of workflows
  • Fundamentals
    • Getting set up
      • Access controls
      • Invite your team
      • Integrations
      • Custom Bot
    • Team and workspace settings
      • For workspace owners
      • For collaborators
    • FAQ
      • Subscription & Pricing
      • Workspace Settings
      • Lead Generation
      • Campaigns and Outreach
      • Forms and Rewards
  • Product Guides
    • Lead Gen and Segments
      • Segment Types
        • Saved segments
        • Curated segments
        • Community Segments
        • Uploaded Segments
      • How to filter segments
        • Twitter Audience filters
        • LinkedIn Audience filters
        • Telegram Audience filters
        • Wallet Audience filters
      • How to upload segments
        • Upload CSV
        • Paste URLs
      • How to create a lead list using Find Leads feature
      • Use Social Search to find leads or trending content
        • Twitter Social Search
          • X Post Search
          • X Account Followers
          • X Spaces Listeners
        • LinkedIn Social Search
          • LinkedIn Post Authors
          • LinkedIn Post Reactor/Commentor
      • How to use Segment Wizard to build lead lists instantly
      • How to generate a lead list or segment of wallets using Wallet CRM
        • How to refine & create a segment of wallets
        • Reach out to Wallet CRM leads
      • How to split a segment into multiple subsegments for A/B testing
      • Capture leads and sign ups with Forms
        • Create and share a form
        • View form responses
        • Embed a form on your website
        • Auto-send forms to new Discord users
    • DM Campaigns and Marketing Automation
      • Run multi-step DM campaigns
      • AI Personalization
      • AI Replies (Coming Soon)
      • Start Ad Campaigns using Blaze
      • Unified Inbox
      • Manage Discord Campaigns and DMs
        • Discord DM Users
      • Rewards, Social Referrals and Quests
        • Create a Rewards Campaign
          • Available Actions
          • Edit campaign
        • Share quest page and track performance
        • Distribute Rewards
      • Run campaigns via XMTP Wallet Messaging
      • Distribute Airdrops to on-chain leads
      • Distribute NFTs to your users
    • Social Media Management - Twitter
      • Post and Schedule Tweets
      • Post and Schedule Farcaster Casts
      • Post Library
      • Top Performing Tweets
      • Twitter Analytics
        • Understand Twitter growth and engagement
    • Discord Analytics
      • Comprehensive Overview of your Discord Community
      • Create Discord Custom Report of your community
      • Find Sentiment of Discord Community
      • Analyze Engagement rate of your Discord Members
      • Find Topics discussed by your Discord Community
      • Product Feedback + User Insights
        • Messages
        • Message Explorer
        • Trend Explorer
        • Collect feedback with forms
        • Invite Attribution
      • Measure cross-platform marketing campaigns
    • Wallet metrics glossary
    • KOL Index
    • Cross Platform Analytics
      • Create and analyze a Twitter campaign
  • Blaze API
    • Getting started
      • Set up the Zapier integration
      • Set up API access
    • Data API
      • Active Users
      • Price
      • New users
      • Transaction Count
      • Market Cap
      • Transaction Fees
      • Official Account Metrics
      • Community Mentions Metrics
      • Retention Metrics
    • Community API
      • Ping
      • Member Details
      • Member Activity
      • Members Activity By Id
      • Discord Messages
      • Invite Attributions
    • CRM and Rewards API
      • Overview
        • Schema
        • Transaction Operations
      • Create User
      • Update User
      • Delete User
      • Create Transaction
      • Retrieve Transactions
      • Update Transaction
      • Delete Transaction
      • Leaderboard
      • Tasks and User Completion
    • Wallet Intelligence and Identity API
      • Wallet Holdings
      • Smart Contract Interactions
      • Average Token Hold Time
      • Wallet Traits
      • Wallet Scores
      • Wallet Socials
      • Token Holders
  • Get in touch
    • Support
    • Feedback
Powered by GitBook
On this page
  • Obtaining an API Key
  • How to integrate
  • Sending your first API call
  • Understanding API responses

Was this helpful?

  1. Blaze API
  2. Getting started

Set up API access

PreviousSet up the Zapier integrationNextData API

Last updated 10 months ago

Was this helpful?

Obtaining an API Key

You can get an API Key by emailing with your account identifier. The email address you send from must match the email address registered on your Blaze account. Turnaround for API Keys is typically under 24 hours.

Anyone with this API Key can use the Blaze API as you. If it is compromised, please send an email and it can be deactivated or changed.

How to integrate

  • GraphQL Endpoint (For Community Management, CRM and Wallet Intelligence): http://dashboard.withblaze.app/api/graphql-api

    • Note that there is a different URL for Data APIs

  • Authentication: Include x-api-key in the request headers

    • Steps to generate the Blaze API Key -

      • Go to Settings → API Key → Generate api key

Video demo on how to integrate:

Sending your first API call

There are four properties that you must include in every API call.

  • api_key An alpha-numeric string that gives you access to use the API.

  • query Any one of the query objects listed below in the API Reference.

  • variables JSON-encoded values sent to the method, sometimes optional.

With that in mind, the next step is to send a POST request to api.withblaze.app with the appropriate values set.

A good first API call would be ping. Fill in your API key, then paste this string into a web browser.

curl \\
 -H 'Content-Type: application/json' \\
 -H 'x-api-key: API_KEY' \\
 -X POST  \\
 -d '{ "query": " query Ping { ping { status } } " }'

You can send API calls directly in your web browser, using cURL from a command line, or with your programming language of choice.

Understanding API responses

All API calls will return JSON with a data property. Exceptions to this will be specified in the documentation.

You should always attempt to JSON decode the response, then use the success property to determine if the API call succeeded.

chirag@withblaze.app