• AUTOMATION
  • SECURITY
  • EFFICIENCY
  • HUMAN

How to authenticate bitquery api access with your agent

Connect your agent to the Bitquery index once. It handles the token rotation so your data queries never drop due to expired credentials.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I authenticate bitquery api access with my AI?

The Bitquery MCP uses the generate_token tool to fetch and refresh OAuth2 access tokens automatically. This keeps your agent's connection to the blockchain index active without you needing to manually update headers or keys. You'll see how the automation handles the handshake below.

The results of authentication

What you get from a live connection

Once your agent is authenticated, it can manage the connection on its own.

AUTOMATION

Continuous index access

Your agent uses the token tool to prevent connection timeouts. You get uninterrupted access to blockchain data.

SECURITY

Protected credentials

Tokens are generated and managed through the MCP. Your raw API secrets stay out of your chat history.

EFFICIENCY

Zero-touch rotation

Your agent handles the OAuth2 handshake in the background. You focus on the GraphQL queries, not the auth logic.

HUMAN

Manual oversight

You decide when to trigger a new token request. Your agent won't force a re-auth if you want to stay offline.

The workflow

What your agent does when the connection is requested.

Your agent manages the heavy lifting of the OAuth2 handshake.

  1. Detecting expiration

    Your agent identifies that a valid token is missing or expired for the Bitquery index.

    generate_token
  2. Fetching tokens

    Your agent calls the specific tool to get a fresh OAuth2 access token from the provider.

    generate_token
  3. Applying credentials

    The new token is injected into the request headers for subsequent GraphQL calls.

    generate_token
  4. Maintaining state

    Your agent keeps the connection stable by monitoring token validity for future queries.

    generate_token

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Bitquery tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off your Bitquery workflow.

Starting points

These are opening lines. Swap out the specific blockchain or query details to match your needs.

Bitquery Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_KU35mdsrfwl05byKZplozxH5s4oOqPEODwO2ZR75/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Bitquery capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "bitquery-web3-blockchain-graphql-apis-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_KU35mdsrfwl05byKZplozxH5s4oOqPEODwO2ZR75/mcp"
    }
  }
}
Copy into chat04
  • 01

    Generate a new Bitquery OAuth2 token so I can query Ethereum transactions.

  • 02

    Check my current Bitquery connection status and refresh the token if it's expired.

  • 03

    Use the Bitquery MCP to pull the latest block data using a fresh access token.

  • 04

    Help me write a GraphQL query for Solana volume and handle the authentication automatically.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Bitquery once, then ask.

Click the link to connect your Bitquery account. Your credentials stay encrypted, and you can immediately start querying the blockchain with your agent.

Connect Bitquery to your agent

FAQ

How this task behaves

  • 01

    Does your agent store my Bitquery API keys?

    No. Your credentials are encrypted and managed by Vinkius, not stored in your agent's chat memory.

  • 02

    Can your agent change my Bitquery account settings?

    No. Your agent only has permission to use the generate_token tool to facilitate data access.

  • 03

    Will I have to manually refresh tokens each hour?

    No. Your agent uses the automation tool to handle the rotation for you.

  • 04

    Can your agent delete my Bitquery data?

    No. The available tools are strictly for authentication and data retrieval.

  • 05

    What happens if the token generation fails?

    Your agent will report the error to you. You will need to check your Bitquery account permissions manually.

  • More questions about Bitquery? The Connector page answers them. See everything the Bitquery Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Bitquery to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Bitquery plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Bitquery to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.