market2000.xyz
Pattern Machine Raw — cheapest tier. Same motif search as /get_patterns but returns only the matched dates, closes, and similarity scores. No forward-return statistics are computed. Use this for high-volume scanning or when you only need raw analog windows. HOW TO CALL: POST /get_patterns_raw?ticker=AAPL&start_date=2024-01-02&end_date=2024-03-01&k=5&metric=l2&wrap=true&timeframe=1d PARAMETERS: ticker — asset symbol (e.g. AAPL, BTC-USD, SPY) start_date — query window start, inclusive (YYYY-MM-DD) end_date — query window end, exclusive (YYYY-MM-DD); must be > start_date k — number of analog patterns to return (default 3) metric — distance metric: 'l1' (Manhattan) or 'l2' (Euclidean, default) wrap — allow circular search across the full history (default true) timeframe — bar size: '1d' (default), '1h', '30m', '15m', etc. RESPONSE FIELDS (per match): dates — list of bar dates for the analog window closes — list of closing prices for the analog window similarity — normalized distance score (lower = closer match) query_return — total return of your query window (%) description — human-readable label
Offering
- Provider
- market2000.xyz
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Financial Analysis
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://market2000.xyz/get_patterns_raw- MIME type
- application/json
- First seen
- 2026-10-16T02:03:11.870Z
- Last seen
- Tags
- None supplied
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "50000",
"payTo": "0x7a9Fa18dd9402F8d8C55Afbd59ED707BAc0e9cAf"
}
]Observed health
- Status
- Reachable
- Latest latency
- 520 ms
- Average latency
- 3882 ms
- HTTP status
- 400
- Last checked
- Reachability
- 15.4% over 13 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"body": {},
"type": "http",
"method": "POST",
"bodyType": "json"
}Output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"body",
"bodyType"
],
"properties": {
"body": {
"properties": {}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
}
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"matches"
],
"properties": {
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"dates",
"closes",
"similarity",
"query_return",
"description"
],
"properties": {
"dates": {
"type": "array",
"items": {
"type": "string"
},
"description": "Bar timestamps for the matched window"
},
"closes": {
"type": "array",
"items": {
"type": "number"
},
"description": "Closing prices for the matched window"
},
"similarity": {
"type": "number",
"description": "Normalized distance score (lower = closer match)"
},
"description": {
"type": "string",
"description": "Human-readable label for the match"
},
"query_return": {
"type": "number",
"description": "Total return of the query window (decimal)"
}
}
},
"description": "Ranked list of historical analog windows"
}
}
}
}
}
}
}