Skip to content
Fourohtwo

api.cryptoattention.com/x402/btc_correlation

How the tone of crypto news, or of one topic, moves with the BTC return: Pearson `r` at the best `lag` (in buckets; positive means tone leads the return) over `pairs` points. `ready` is false while data is short.

BaseAnswering
POSThttps://api.cryptoattention.com/x402/btc_correlation

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.cryptoattention.com/x402/btc_correlation", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"days":30}),
});
console.log(await res.json());

Example input

{
  "days": 30
}