x402 API

GET /brain

Single-question crypto AI with automatic tool selection. Pay with USDC via HTTP 402. Syra machine money for agents.

Try in marketplace Install SDK
GET /brain x402

Price: $0.08 USD per successful paid call (catalog hint; runtime 402 is authoritative)

Base URL: https://api.syraa.fun

Overview

Answers one natural-language crypto question by selecting and running Syra tools (news, signals, on-chain reads) server-side. Use when an agent needs a grounded synthesis instead of calling many APIs manually. Input: question (required). Returns success, markdown/plain response, and toolUsages[] showing which tools ran. Treasury-paid tool calls included; not trade execution.

This is a pay-per-call route: unpaid requests return HTTP 402 until you settle USDC and retry with PAYMENT-SIGNATURE or X-PAYMENT. See x402 wire format.

Call with the SDK

import { createSyraPaidClient } from "@syra-ai/sdk";

const client = createSyraPaidClient({
  // funds USDC on Solana/Base; auto-pays HTTP 402
});

const res = await client.fetch("https://api.syraa.fun/brain", {
  method: "GET",
});
console.log(await res.json());

Discover

Other paid APIs

Try in marketplace Open agent chat