{"openapi":"3.1.0","info":{"title":"ToolMint eCFR Section","version":"0.1.0","description":"CFR sections and change history as agent JSON. Pay per call with USDC on Base via x402. eCFR is an editorially compiled, authoritative but unofficial edition of the Code of Federal Regulations, kept current by the Office of the Federal Register (NARA/GPO). It is not an official legal edition of the CFR. Text is US government work (public domain). Not legal advice; confirm against the official CFR / Federal Register before relying on it. ToolMint is not affiliated with NARA, GPO or OFR.","x-guidance":"GET /section?cite=24 CFR 982.503 returns the section's current text as labeled paragraphs plus heading, hierarchy and the Federal Register citations in its source note; add date=YYYY-MM-DD for point-in-time text (2017+). GET /history?cite=...&since=YYYY-MM-DD returns every eCFR version, whether it changed since that date, and candidate Federal Register rules (pairs with federal-register-json). Unpaid calls get 402 (USDC on Base). Bad input is 400 before payment; 404/502 are not charged.","contact":{"email":"toolmint.dev@gmail.com","name":"ToolMint"}},"paths":{"/health":{"get":{"operationId":"health","summary":"Liveness","security":[],"responses":{"200":{"description":"ok"}}}},"/section":{"get":{"operationId":"ecfr_section","summary":"CFR section text (current or point-in-time)","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.005000"},"protocols":[{"x402":{}}],"network":"eip155:8453","payTo":"0xfbF7413bcB3a604936775C96FDbe0b0C9c9E37F5","asset":"USDC","scheme":"exact","amountAtomic":"5000"},"parameters":[{"name":"cite","in":"query","schema":{"type":"string","maxLength":40},"description":"e.g. 24 CFR 982.503"},{"name":"title","in":"query","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"section","in":"query","schema":{"type":"string","pattern":"^\\d{1,5}[A-Za-z]?\\.\\d{1,6}[A-Za-z0-9-]{0,12}$"}},{"name":"date","in":"query","schema":{"type":"string","format":"date"}},{"name":"maxChars","in":"query","schema":{"type":"integer","minimum":1000,"maximum":400000,"default":100000}}],"responses":{"200":{"description":"Section JSON"},"400":{"description":"Bad input (no charge; rejected before payment)"},"402":{"description":"Payment Required"},"404":{"description":"Section not found / removed / not in force on that date (not charged)"},"502":{"description":"eCFR unavailable (not charged)"}}}},"/history":{"get":{"operationId":"ecfr_section_history","summary":"CFR section change history + Federal Register rules","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.010000"},"protocols":[{"x402":{}}],"network":"eip155:8453","payTo":"0xfbF7413bcB3a604936775C96FDbe0b0C9c9E37F5","asset":"USDC","scheme":"exact","amountAtomic":"10000"},"parameters":[{"name":"cite","in":"query","schema":{"type":"string","maxLength":40},"description":"e.g. 24 CFR 982.503"},{"name":"title","in":"query","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"section","in":"query","schema":{"type":"string","pattern":"^\\d{1,5}[A-Za-z]?\\.\\d{1,6}[A-Za-z0-9-]{0,12}$"}},{"name":"since","in":"query","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"History JSON"},"400":{"description":"Bad input (no charge; rejected before payment)"},"402":{"description":"Payment Required"},"404":{"description":"Section not found / removed / not in force on that date (not charged)"},"502":{"description":"eCFR unavailable (not charged)"}}}}}}