{"slug":"api-zfinia-com-x402-v1-categorical-distribution-drift-f0601a","title":"Compare the distribution of one categorical column between two datasets","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/categorical-distribution-drift","category":"other","description":"Compare the distribution of one categorical column between two datasets. Reports a category that appeared - which a consumer switching exhaustively on the column has no branch for - a category that vanished, and shares that moved beyond a tolerance. Shares are proportions of all rows including empty","price_listed":0.14,"price_asked":null,"state":"no_terms","state_label":"Answers HTTP 429 without x402 payment terms","checks_7d":1,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"after":"status\nopen\nclosed\nclosed\nclosed\ndisputed\ndisputed\n","before":"status\nopen\nopen\nopen\nclosed\nclosed\nlegacy\n","column":"status","share_tolerance":0.1},"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":{"after":{"maxLength":262144,"type":"string"},"before":{"maxLength":262144,"type":"string"},"column":{"maxLength":256,"type":"string"},"delimiter":{"maxLength":1,"minLength":1,"type":"string"},"share_tolerance":{"maximum":1,"minimum":0,"type":"number"}},"required":["before","after","column"],"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-10-04","reachable":true,"status":429,"valid_402":false,"asked_usdc":null,"price_match":null,"latency_ms":238,"error":null}],"description_full":"Compare the distribution of one categorical column between two datasets. Reports a category that appeared - which a consumer switching exhaustively on the column has no branch for - a category that vanished, and shares that moved beyond a tolerance. Shares are proportions of all rows including empty ones, so a rising empty rate is visible rather than hidden by renormalisation.","last_updated":"2026-10-04T08:11:18.229Z","schemes":["exact"]}