{"slug":"agents-204-168-199-108-sslip-io-v1-util-json-schema-infer-d54362","title":"Infer a JSON Schema (draft 2020-12) from one JSON value or, with samples=true, f","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/json-schema-infer","category":"code","description":"Infer a JSON Schema (draft 2020-12) from one JSON value or, with samples=true, from an array of samples (keys present in every sample become required; types are merged, e.g. integer+number → number, value or null → [type, null]). Detects string formats date-time, date, email, uri, uuid, ipv4. Use to","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":962,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"data":"[{\"id\":1,\"email\":\"a@x.com\",\"price\":9.5,\"tags\":[\"new\"],\"created\":\"2026-11-27T10:00:00Z\"},{\"id\":2,\"email\":\"b@y.io\",\"price\":12,\"tags\":[],\"created\":\"2026-11-26T08:30:00Z\",\"coupon\":null}]","samples":"true"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"data":{"description":"JSON text (max 1 MB)","type":"string"},"samples":{"description":"true if data is an array of separate samples to merge","type":"string"},"title":{"description":"Optional schema title","type":"string"}},"required":["data"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":969,"error":null},{"day":"2026-11-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":956,"error":null},{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":935,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":1054,"error":null}],"description_full":"Infer a JSON Schema (draft 2020-12) from one JSON value or, with samples=true, from an array of samples (keys present in every sample become required; types are merged, e.g. integer+number → number, value or null → [type, null]). Detects string formats date-time, date, email, uri, uuid, ipv4. Use to build structured-output / tool-call schemas, API contracts or validators from real data.","last_updated":"2026-11-27T05:18:57.132Z","schemes":["exact"]}