{"slug":"api-zfinia-com-x402-v1-spf-include-budget-audit-b09e68","title":"Compute the exact SPF lookup cost across a supplied include tree","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/spf-include-budget-audit","category":"code","description":"Compute the exact SPF lookup cost across a supplied include tree. The budget of ten resolving mechanisms is shared across the whole evaluation rather than per record, which is why a record with three includes can cost fourteen lookups and no single record looks wrong. Reports the total against the l","price_listed":0.18,"price_asked":0.18,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":5372,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"domain":"example.test","records":[{"domain":"example.test","record":"v=spf1 include:_spf.vendor-a.test include:_spf.vendor-b.test include:_spf.shared.test ~all"},{"domain":"_spf.vendor-a.test","record":"v=spf1 a mx include:_spf.shared.test include:_spf.regional.test ip4:203.0.113.0/24 ~all"},{"domain":"_spf.vendor-b.test","record":"v=spf1 a:mail.vendor-b.test mx include:_spf.vendor-a.test ip4:198.51.100.0/24 ~all"},{"domain":"_spf.shared.test","record":"v=spf1 a mx exists:%{i}._auth.shared.test ip4:192.0.2.0/24 ~all"},{"domain":"_spf.regional.test","record":"v=spf1 include:_spf.unsupplied.test a ~all"}]},"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":{"domain":{"maxLength":253,"type":"string"},"records":{"items":{"additionalProperties":false,"properties":{"domain":{"maxLength":253,"type":"string"},"record":{"maxLength":4096,"type":"string"}},"required":["domain","record"],"type":"object"},"maxItems":200,"minItems":1,"type":"array"}},"required":["domain","records"],"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":402,"valid_402":true,"asked_usdc":0.18,"price_match":true,"latency_ms":5372,"error":null}],"description_full":"Compute the exact SPF lookup cost across a supplied include tree. The budget of ten resolving mechanisms is shared across the whole evaluation rather than per record, which is why a record with three includes can cost fourteen lookups and no single record looks wrong. Reports the total against the limit, the headroom left, a cycle in the include chain, and every include whose record was not supplied so the total is a floor.","last_updated":"2026-10-04T08:41:31.715Z","schemes":["exact"]}