{"slug":"www-brainiac-software-api-v1-predictive-analytics-rfm-segmen-1ca988","title":"Score customers 1–bins on recency, frequency and monetary value with average ran","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/predictive-analytics/rfm-segment","category":"other","description":"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","price_listed":0.03,"price_asked":0.03,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":326,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"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"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"asOf":{"description":"as Of supplied by the caller for this operation.","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"bins":{"description":"bins supplied by the caller for this operation.","example":5,"maximum":10,"minimum":3,"type":"integer"},"customers":{"description":"customers supplied by the caller for this operation.","example":[{"frequency":12,"id":"c1","monetary":1200,"recencyDays":5},{"frequency":3,"id":"c2","monetary":150,"recencyDays":40},{"frequency":1,"id":"c3","monetary":40,"recencyDays":200}],"items":{"type":"object"},"type":"array"},"segmentMap":{"description":"segment Map supplied by the caller for this operation.","example":"default","items":{"type":"object"},"type":["string","array"]},"transactions":{"description":"transactions supplied by the caller for this operation.","items":{"type":"object"},"type":"array"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":325,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":326,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":308,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":332,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.03,"price_match":true,"latency_ms":332,"error":null}],"description_full":"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","last_updated":"2026-11-24T15:06:46.022Z","schemes":["exact"]}