Infer a JSON Schema (draft 2020-12) from one JSON value or, with samples=true, f
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.
Answeringour last check, 2026-11-30
4 of 4checks answered this week
962 msmedian answer time
$0.001listed price per call
$0.001price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.204-168-199-108.sslip.io/v1/util/json-schema-infer
| Category | Code and developer |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-30 | valid payment request | 402 | $0.001 | 969 ms |
| 2026-11-29 | valid payment request | 402 | $0.001 | 956 ms |
| 2026-11-28 | valid payment request | 402 | $0.001 | 935 ms |
| 2026-11-27 | valid payment request | 402 | $0.001 | 1054 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}