Pattern Machine
market2000.xyz/get_patterns
Pattern Machine — vectorized time series motif search. Given a query window (ticker + date range), finds the top-k closest historical price patterns using normalized L1/L2 distance. Returns matched pattern dates, closes, similarity scores, and aggregated 7-day and 30-day forward return statistics. HOW TO CALL: POST /get_patterns?ticker=AAPL&start_date=2024-01-02&end_date=2024-03-01&k=5&metric=l
POST
https://market2000.xyz/get_patternsUptime100% 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://market2000.xyz/get_patterns", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({}),
});
console.log(await res.json());Example input
{}