Catalog/gen-fake-record

Generators

Seeded record from schema API

Generates a single reproducible record matching a field schema (string/int/float/bool/uuid/name/email/enum/date) from a seed. The value-add: structured, schema-driven fixtures that regenerate identically, with deterministic UUIDs and per-field generators. Answers 'Generate a reproducible record for this schema', 'How do I make a deterministic fake object?'.

Price$0.02per request
MethodPOST
Route/v1/generate/fake-record
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
fakerecordschemafixturedeterministicseedmockgenerate
API URLhttps://x402.hexl.dev/v1/generate/fake-record
Integration docs
Example request
{
  "schema": [
    {
      "name": "id",
      "type": "uuid"
    },
    {
      "name": "age",
      "type": "int",
      "min": 18,
      "max": 65
    }
  ],
  "seed": "abc"
}
Example response
{
  "record": {
    "id": "42c1e0b5-6b85-5155-a210-ab0df2b5d36f",
    "age": 42
  },
  "fields": [
    "id",
    "age"
  ],
  "seed": "abc",
  "deterministic": true,
  "interpretation": "Single reproducible record matching the schema; same seed regenerates it identically."
}
Input schema
{
  "type": "object",
  "required": [
    "schema",
    "seed"
  ],
  "properties": {
    "schema": {
      "type": "array",
      "examples": [
        [
          {
            "name": "id",
            "type": "uuid"
          },
          {
            "name": "age",
            "type": "int",
            "min": 18,
            "max": 65
          }
        ]
      ]
    },
    "seed": {
      "type": [
        "string",
        "number"
      ],
      "examples": [
        "abc"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}