JSON Pointer JSON Schema RFC 6901 Validate Diff API
Free tier included · ToolsJSON Pointer & JSON Schema combines precision RFC 6901 pointer manipulation with full JSON Schema (draft-07) tooling. You can validate JSON documents against schemas with exact pointer-level error locations, automatically generate schemas from sample documents, and diff two schemas to detect breaking changes like removed properties or added required fields.
Four concrete use cases include: querying and patching deeply nested configuration documents in backend pipelines via `POST /get` and `POST /set`; validating incoming webhook payloads or API requests against JSON Schema in serverless workflows; auto-generating schemas from legacy JSON dumps for documentation or OpenAPI migrations; and checking schema updates for breaking changes in CI/CD pipelines before deploying API changes.
Built for speed and security, the service is completely offline and stateless. It makes no external network calls, stores no request data, and imposes no logging. Maximum document size is capped at 524,288 bytes per request.
Endpoints
| Method | Path | What it does |
|---|---|---|
GET | / | API metadata and root discovery endpoint. |
GET | /health | Liveness health check endpoint. |
POST | /get | Get a value from a JSON document using an RFC 6901 JSON Pointer. |
POST | /set | Set or update a value at a JSON Pointer location in a document. |
POST | /add | Add a value at a JSON Pointer location, with optional automatic creation of missing parent objects and arrays. |
POST | /replace | Replace an existing value at a JSON Pointer location. |
POST | /remove | Remove a member from an object or array at a JSON Pointer location. |
POST | /validate | Validate a JSON document against a draft-07 JSON Schema and return detailed error pointers. |
POST | /generate | Infer a draft-07 JSON Schema from one or more sample JSON documents. |
POST | /diff | Compare two JSON Schemas and report structural and breaking changes. |
GET | /rules | List metadata about the supported JSON Schema validation rules. |
Quick start
curl -X POST "https://jpointer.p.rapidapi.com/get" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: jpointer.p.rapidapi.com" \
-H "Content-Type: application/json" \
-d '{"json":{"user":{"name":"alice","tags":["a","b"]}},"pointer":"/user/name"}'
FAQ
Are JSON Pointer operations compliant with RFC 6901 and RFC 6902?
Yes. Pointers follow RFC 6901 specification including `~0` and `~1` escaping and strict array indices. Modifications use RFC 6902 patch semantics where `+` appends to arrays.
What is the maximum document size supported?
The API accepts JSON documents up to 524,288 bytes (512 KB) per request.
Does the API store any of my data or logs?
No. The service is entirely stateless and offline. No documents, schemas, or request payloads are logged or persisted.
What JSON Schema specification version is supported?
Validation, schema generation, and diffing support the draft-07 JSON Schema specification subset.
Try JSON Pointer JSON Schema RFC 6901 Validate Diff free
Free tier on every plan. Get an API key and start calling in under a minute.
Open on RapidAPI