MockHero

uuid

Technical

Generate RFC 4122 v4 UUIDs — the standard universally unique identifier format. Deterministic when seeded, so your test data stays consistent across runs.

Example Outputs

a1b2c3d4-e5f6-4890-abcd-ef1234567890550e8400-e29b-41d4-a716-446655440000

API Usage

Send a POST request to generate uuid data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "uuid",
          "type": "uuid"
        }
      ]
    }
  ]
}'

Common Use Cases

  • Primary key generation
  • Foreign key references
  • API resource IDs
  • Database seeding

Quick Info

Field Type
uuid
Category
Technical
Parameters
None required
Output Format
JSON, CSV, SQL

Try it now

Generate uuid data instantly in the playground.

Related Types

Generate UUID + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free