Example implementation showing how to integrate X402IQ cognitive capabilities with IQ Protocol and ΞIQ payments into your application.
// Import the X402IQ SDK with IQ Protocol support (conceptual example)
import { X402IQClient, CognitiveNode, IQProtocol } from "@x402iq/sdk";
// Initialize client with IQ Protocol
const iq = new X402IQClient({
  network: "x402-main",
  apiKey: process.env.X402_API_KEY,
  iqProtocol: new IQProtocol({
    tokenSymbol: "ΞIQ",
    defaultBalance: 402
  })
});
// Register cognitive node
const node = new CognitiveNode({
  id: "node-alpha-12",
  capabilities: ["context-analysis", "decision-making"],
});
// Example: Analyze a data stream and get an intelligent recommendation
async function analyzeData() {
  const input = {
    event: "server_overload",
    data: { cpu: 97, memory: 86, region: "eu-west" },
  };
  // Pay with ΞIQ and send data to X402IQ for contextual understanding
  const result = await iq.process(input, {
    intent: "stabilize_network",
    priority: "critical",
    payment: {
      amount: 1.5, // ΞIQ
      protocol: "IQ"
    }
  });
  console.log("X402IQ Decision:");
  console.log(result.decision);
  console.log("Confidence:", result.confidence);
  console.log("Suggested Action:", result.action);
  console.log("ΞIQ Remaining:", result.balance);
}
analyzeData();
            X402IQ Decision:
"Reroute traffic via Node 8 and throttle batch processes."
Confidence: 92%
Suggested Action: network_rebalance(eu-west → us-east)
This example demonstrates how a developer might use the X402IQ SDK to send real-time contextual data into the cognitive network.
The AI layer interprets the event, analyzes patterns from connected nodes, and returns an autonomous decision — complete with confidence scoring and suggested action.
This illustrates the core philosophy of X402IQ: "From data → to understanding → to intelligent action."
For more details, you can check our GitHub.
X402IQ acts as a connective tissue between clients, servers, and verification nodes turning ordinary web requests into atomic, economic exchanges.
A client requests a dataset → server replies with a 402 and ΞIQ price → ΞIQ payment is attached via IQ Protocol → node verifies transaction → data unlocked.
This architecture doesn't reinvent the web. It extends it — adding a missing layer that lets information and value move together.
Data is routed based on meaning and relevance, not just static addresses. ΞIQ tokens enable intelligent resource allocation.
Security tokens adapt to context, ensuring real-time integrity and trust through IQ Protocol verification.
The network continuously improves itself through pattern recognition and feedback loops, powered by ΞIQ.
X402IQ extends this foundation by embedding AI directly into the protocol layer — enabling intelligent automation, decision-making, and predictive analytics natively within the network. The IQ Protocol and ΞIQ tokens make cognitive computing accessible, verifiable, and autonomous.
Monetize your APIs and content directly through HTTP 402 using the IQ Protocol. Receive ΞIQ payments with minimal setup and pay-per-use pricing.
Access paid services without accounts or manual payments using ΞIQ. Ideal for AI agents and automated systems.
Autonomous real-time API request payments powered by ΞIQ tokens. True machine-to-machine interaction with cognitive understanding and intelligent resource allocation.
The X402IQ protocol layer brings instant, verifiable transactions directly into the language of the web. Instead of separate gateways or APIs, value exchange now happens through the same rails that move data.
X402IQ operates on the IQ Protocol, powered by the ΞIQ (Xi IQ) token — an intelligent unit of value that represents access to cognitive network resources.
The Greek letter Ξ (Xi) symbolizes cognitive computing, where each ΞIQ enables intelligent processing, AI-powered decision-making, and autonomous transactions across the decentralized network.
A client requests data.
The server replies with 402 Payment Required, including cost in ΞIQ.
The client resends the request with ΞIQ payment proof attached.
The X402IQ network verifies the IQ Protocol transaction and unlocks the response.
Native ΞIQ token for cognitive payments and intelligent resource access
Carries ΞIQ payment proof and cryptographic verification
Confirm IQ Protocol transactions on the X402IQ network
Returns signed ΞIQ transaction confirmation
For developers to integrate IQ Protocol with a single line of code
"HTTP had 200 OK for success. Now it has 402 Paid for value."
            Cognitive decision-making embedded in protocol layer
No accounts, email, or OAuth required
Built on standard HTTP 402 Payment Required
Open standard not tied to any specific blockchain
Average transaction time
Smallest supported transfer
Verified testnet payments
IQ Protocol token for cognitive payments and intelligent processing
Supported environments (Python, JS, Rust, Go, Swift, Node)
Fully peer-to-peer processing
TPS
X402IQ builds the service layer and core infrastructure that uses the X402 protocol, powered by the IQ Protocol and ΞIQ tokens — a ready-to-use service layer that any project can integrate to enable native, instant payments across the web
The protocol turned the revived HTTP 402 Payment Required into a real, working mechanism: A small, verified ΞIQ transaction happens instantly, right inside the HTTP request.
Apps, AI agents, and connected systems can pay for access to data, compute, or cognitive services automatically using ΞIQ (no accounts, no invoices, no human steps).
It's a small shift in protocol that opens an entirely new kind of economy — one where intelligence and value flow together seamlessly.