Rulesets API
Machine-readable eligibility rulesets in JSON format. Each ruleset can be fetched and used programmatically.
Try the Rules Engine
See how rulesets are validated against user attributes in our interactive demo.
Usage
Fetch any ruleset as JSON by its service ID:
GET https://eligibilityrules.org/rulesets/{service_id}.json
# Example
curl https://eligibilityrules.org/rulesets/calfresh.json
Available Rulesets
4 rulesets available
| Service | Jurisdiction | Rules | Endpoint |
|---|---|---|---|
| CalFresh | California | 5 rules | /rulesets/calfresh.json |
| Medicaid | United-states | 4 rules | /rulesets/medicaid.json |
| Section 8 Housing Choice Voucher | United-states | 4 rules | /rulesets/section-8.json |
| Supplemental Nutrition Assistance Program | United-states | 6 rules | /rulesets/snap.json |
Ruleset Schema
Each ruleset follows the standard schema with rules containing operators, values, and conditions.