Powered by Avalanche x402 Protocol

Pay-Per-Query Data Insights for AI Agents

No subscriptions. No accounts. AI agents pay for data in real-time using blockchain settlements in under 2 seconds.

View Documentation

1,247

Queries On-Chain

$0.02

Starting Price

2.1s

Avg Settlement

Trusted by AI agents and developers building on Avalanche

AVAX
Avalanche
CG
CoinGecko
TURF
TURF Network
TW
Thirdweb

How QueryFlow Works

Three steps to get real-time data insights, no subscription required

1

Agent Sends Request

Your AI agent makes a standard HTTP POST request to any QueryFlow endpoint. No authentication, no API keys—just a simple request.

2

Receive 402 & Pay

QueryFlow responds with a 402 status and price quote. Your agent signs a payment with its wallet—settlement happens on Avalanche in under 2 seconds.

3

Receive AI Insights

Once payment is verified, QueryFlow fetches multi-source data, processes it with AI, and returns actionable insights as JSON. Query recorded on-chain for transparency.

Four Query Types, Endless Possibilities

Pay only for what you use. Each query type is purpose-built for specific AI agent needs.

Market

Market Sentiment

$0.02

Real-time sentiment analysis aggregating crypto prices, volume trends, and multi-source market indicators.

Animation Placeholder
  • Trading bots needing market pulse
  • Risk assessment systems
  • Portfolio rebalancing automation
Price

Price Prediction

$0.03

AI-powered forecasts using historical data, technical indicators, and on-chain metrics for actionable predictions.

Animation Placeholder
  • Algorithmic trading strategies
  • Investment recommendation engines
  • Market timing optimization
Risk

Risk Assessment

$0.05

Deep wallet analysis checking on-chain behavior, transaction patterns, and fraud indicators for comprehensive risk scoring.

Animation Placeholder
  • DeFi protocol security
  • Fraud detection systems
  • Compliance automation
Social

Social Sentiment

$0.02

Aggregated social media analysis tracking community sentiment, trending narratives, and manipulation detection.

Animation Placeholder
  • Community health monitoring
  • Influencer impact analysis
  • Early trend detection

Built for Scale

Enterprise-grade infrastructure powered by Avalanche

Sub-Second Finality

Avalanche's consensus ensures payments settle in under 2 seconds.

On-Chain Transparency

Every query recorded on QueryRegistry smart contract.

Multi-Source Data

CoinGecko, on-chain analytics, social feeds aggregated.

Real-Time Pricing

Dynamic pricing based on data complexity and market conditions.

AI-Powered Insights

Advanced models process raw data into actionable intelligence.

No API Keys

Your wallet is your identity. No accounts, no keys to manage.

Simple Integration

Add pay-per-query data to your AI agent in minutes. Use our official SDK or raw HTTP requests.

View on NPM
npm install @queryflow-402/sdk
agent.ts
import { QueryFlowClient } from "@queryflow-402/sdk";

// Initialize with your private key and enable real payments
const client = new QueryFlowClient(process.env.PRIVATE_KEY, {
  mode: "tx" // Enables real AVAX transactions
});

// Get AI-powered market insights (~$0.02 in AVAX)
const result = await client.market({
  assets: ["BTC", "ETH"],
  timeframe: "24h"
});

console.log(result.sentiment);
// Output: { score: 75, trend: "bullish", summary: "..." }

TypeScript SDK

Type-safe, instant integration

Real AVAX Payments

No API keys, pay per query

SSE Streaming

Real-time AI responses

Simple, Transparent Pricing

No subscriptions. No hidden fees. Pay only when your agents query data.

Developer

Free

Perfect for testing and development

  • 100 free queries per month
  • All 4 query types
  • Fuji testnet access
  • Community support
  • Public documentation
MOST POPULAR

Production

$0.01-$0.10

per query

For AI agents in production environments

  • Pay per query (no limits)
  • Avalanche mainnet
  • Priority support
  • Advanced analytics dashboard
  • Webhook notifications
  • 99.9% uptime SLA

Enterprise

Custom

For teams with high-volume needs

  • Volume discounts
  • Dedicated infrastructure
  • Private data sources
  • Custom SLAs
  • Priority feature requests
  • On-premise deployment options

All plans include on-chain payment verification and transparent query recording

Trusted by Builders

"QueryFlow eliminated our API management overhead. Our trading bot just pays per query—no subscriptions, no rate limits to worry about."

AC

Alex Chen

Lead Developer, TradingBot Inc.

Frequently Asked Questions

Everything you need to know about QueryFlow

When you make a request to QueryFlow, our API returns a 402 Payment Required status with a price quote. Your AI agent signs a payment transaction with its wallet, includes the signature in the request header, and resends. Once we verify payment on Avalanche, we return the data.

Start Building with QueryFlow

Join developers building the future of AI-powered data infrastructure on Avalanche.

Launch Dashboard

No credit card required — 100 free queries