{"uid":"cap_2Sq7OQM2A43PCxBxEI8Ap","slug":"dataforge-json-schema-inference-api-c7b3a594","name":"dataforge — JSON Schema Inference API","description":"Deterministic conversion, JSONPath query, JSON Schema inference, declarative transforms and RFC 6902 diff/patch across CSV, TSV, JSON, JSONL, YAML, TOML, XML, INI and properties. Pay per call with x402 (USDC on Base).","url":"https://dataforge.x.c00l.site/schema","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"mode":"infer","schema":{"type":"array","items":{"type":"object","required":["id","email","tier"],"properties":{"id":{"type":"integer"},"note":{"type":"null"},"tier":{"type":"string"},"email":{"type":"string","format":"email"}}},"$schema":"https://json-schema.org/draft/2020-12/schema"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tx7EW9XSzR0eAiXEmPuSR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Infers a JSON Schema from a provided data payload (CSV, JSON, YAML, TOML, XML, etc.), returning a draft 2020-12 schema describing the data's structure and types.","exampleAgentPrompt":"I have a CSV with columns id, email, tier, and note — can you infer the JSON Schema for it using dataforge's schema inference mode?","exampleUseCases":[{"title":"Auto-generate schema for API validation","prompt":"I have some sample JSON records with fields like user_id, email, and subscription_plan — can you infer a JSON Schema draft 2020-12 so I can use it to validate future API payloads?"},{"title":"Discover structure of unfamiliar CSV data","prompt":"I got this CSV file from a vendor and I have no documentation — can you infer its JSON Schema so I can understand what fields and types it contains?"},{"title":"Generate schema from YAML config","prompt":"Here's a YAML config file from our infrastructure team — can you run schema inference on it and give me back a JSON Schema so I can document the expected structure?"}],"resultDescription":"Returns a JSON Schema object (draft 2020-12) describing the inferred structure of the input data, including property names, detected types (integer, string, null, etc.), format annotations (e.g. email), and which fields appear required based on the sample data.","failureModes":["Malformed or unparseable input data returns an error","Unsupported format type causes rejection","Ambiguous or empty input may produce an overly permissive schema","Very large payloads may be truncated or rejected","Missing mode parameter may default unexpectedly"],"whenToPreferThis":"Choose this endpoint when you need deterministic, format-agnostic JSON Schema inference from raw structured data (CSV, JSON, YAML, TOML, XML, etc.) without standing up your own parsing infrastructure. It is especially useful when you need draft 2020-12 compliant output and want to pay per call rather than maintain a schema inference service. Prefer it over general-purpose LLM schema guessing when you need reliable, machine-verifiable output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:04.517Z","isFirstParty":false}