{"slug":"code-halowerk-com-v1-contract-test-own-api-e78a80","title":"Check bounded JSON response contracts on your own HTTPS GET API, with a private-","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/contract-test-own-api","category":"code","description":"Check bounded JSON response contracts on your own HTTPS GET API, with a private-preimage DNS TXT proof bound to the exact origin and target list. One to three same-origin public HTTPS JSON GET tests after purpose-bound DNS TXT authorization. Compares HTTP status and a deterministic bounded JSON Sche","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1193,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"ownership_secret":"halowerk-public-demo-contract-health-readiness-v1-20261115","tests":[{"expected_status":200,"schema":{"additionalProperties":true,"properties":{"endpoints":{"minimum":1,"type":"integer"},"status":{"enum":["ok"],"type":"string"}},"required":["status","endpoints"],"type":"object"},"url":"https://code.halowerk.com/health"},{"expected_status":200,"schema":{"additionalProperties":true,"properties":{"ready":{"enum":[true],"type":"boolean"},"settlement":{"enum":["ok"],"type":"string"}},"required":["ready","settlement"],"type":"object"},"url":"https://code.halowerk.com/readiness"}]},"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":{"ownership_secret":{"description":"TXT at _halowerk-contract.<hostname>: halowerk-contract-v1=SHA256(HALOWERK-CONTRACT-V1+LF+GET+LF+origin+LF+sorted canonical URLs joined with LF+LF+SHA256(secret)). UTF-8, lowercase hex, no trailing LF. Secret is private; example is public demo for two own info paths.","pattern":"^[A-Za-z0-9_-]{43,128}$","type":"string"},"tests":{"description":"Distinct same-origin exact read-only JSON GET URLs and expectations.","items":{"additionalProperties":false,"properties":{"expected_status":{"default":200,"description":"Expected HTTP status; response must still be JSON.","maximum":599,"minimum":200,"type":"integer"},"schema":{"description":"Bounded JSON Schema subset: required type, primitive enum, object properties/required/additionalProperties, array items/bounds, string length, number bounds. No refs/regex/extensions.","type":"object"},"url":{"description":"Canonical public DNS HTTPS443 URL without query or fragment.","maxLength":1200,"type":"string"}},"required":["url","schema"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"timeout_ms":{"default":2500,"description":"Network timeout for each target HTTP fetch.","maximum":2500,"minimum":250,"type":"integer"}},"required":["ownership_secret","tests"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"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-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1316,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1202,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1187,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1159,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1193,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1182,"error":null}],"description_full":"Check bounded JSON response contracts on your own HTTPS GET API, with a private-preimage DNS TXT proof bound to the exact origin and target list. One to three same-origin public HTTPS JSON GET tests after purpose-bound DNS TXT authorization. Compares HTTP status and a deterministic bounded JSON Schema subset; returns ordered pass/fail issues, timings and raw-response hashes, never response bodies.","last_updated":"2026-11-20T12:17:35.969Z","schemes":["exact"]}