Catalog/test-data-from-schema

Test Data

Schema-based test data API

Generate deterministic JSON test records from a small JSON Schema subset.

Price$0.01per request
MethodPOST
Route/v1/test-data/from-schema
StatusLive
MIME typeapplication/json
Rate limit90/minute
CacheNo cache
test-datajson-schemamockfixtures
API URLhttps://x402.hexl.dev/v1/test-data/from-schema
Integration docs
Example request
{
  "seed": "demo",
  "count": 1,
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "email": {
        "type": "string",
        "format": "email"
      }
    }
  }
}
Example response
{
  "count": 1,
  "records": [
    {
      "name": "Avery Morgan",
      "email": "avery.morgan@example.test"
    }
  ],
  "provider": "local-schema-test-data"
}
Input schema
{
  "type": "object",
  "required": [
    "schema"
  ],
  "properties": {
    "schema": {
      "type": "object",
      "additionalProperties": true
    },
    "count": {
      "type": "number",
      "minimum": 1,
      "maximum": 50,
      "default": 1
    },
    "seed": {
      "type": "string"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}