Predictive Analytics · Rfm Segment
Score customers 1–bins on recency, frequency and monetary value with average ranks for ties, then map scores to Champions/Loyal/New/At risk/Hibernating or a custom rule list. Docs: https://www.brainiac.software/api/predictive-analytics/rfm-segment
POST https://www.brainiac.software/api/v1/predictive-analytics/rfm-segment
0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"bins": 5,
"customers": [
{
"frequency": 12,
"id": "c1",
"monetary": 1200,
"recencyDays": 5
},
{
"frequency": 3,
"id": "c2",
"monetary": 150,
"recencyDays": 40
},
{
"frequency": 1,
"id": "c3",
"monetary": 40,
"recencyDays": 200
}
],
"segmentMap": "default"
}{
"customers": [
{
"f": 5,
"id": "c1",
"m": 5,
"r": 5,
"rfm": "555",
"segment": "Champions"
},
{
"f": 3,
"id": "c2",
"m": 3,
"r": 3,
"rfm": "333",
"segment": "Needs attention"
}
],
"limitations": [
"RFM scores use average ranks for ties; default segment map evaluates Champions, Loyal, New, At risk, Hibernating, then",
"Outputs are statistical calculations on caller-supplied inputs for human review. They are not legal, medical, credit, t"
],
"segments": [
{
"count": 4,
"name": "Champions"
},
{
"count": 2,
"name": "Needs attention"
}
],
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "Caller-supplied tabular data processed locally",
"status": "ok",
"url": "https://www.brainiac.software/api/v1/predictive-analytics"
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/predictive-analytics/rfm-segment · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"customers": {
"type": "array",
"items": {
"type": "object"
},
"description": "customers supplied by the caller for this operation.",
"example": [
{
"id": "c1",
"recencyDays": 5,
"frequency": 12,
"monetary": 1200
},
{
"id": "c2",
"recencyDays": 40,
"frequency": 3,
"monetary": 150
},
{
"id": "c3",
"recencyDays": 200,
"frequency": 1,
"monetary": 40
}
]
},
"transactions": {
"type": "array",
"items": {
"type": "object"
},
"description": "transactions supplied by the caller for this operation."
},
"asOf": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "as Of supplied by the caller for this operation."
},
"bins": {
"type": "integer",
"minimum": 3,
"maximum": 10,
"description": "bins supplied by the caller for this operation.",
"example": 5
},
"segmentMap": {
"type": [
"string",
"array"
],
"items": {
"type": "object"
},
"description": "segment Map supplied by the caller for this operation.",
"example": "default"
}
},
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://www.brainiac.software/api/v1/predictive-analytics/rfm-segment' \
-H 'content-type: application/json' -d '{"customers":[{"id":"c1","recencyDays":5,"frequency":12,"monetary":1200},{"id":"c2","recencyDays":40,"frequency":3,"monetary":150},{"id":"c3","recencyDays":200,"frequency":1,"monetary":40}],"bins":5,"segmentMap":"default"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs