curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/string \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profile \
--data length=12 \
--data lengthMin=8 \
--data lengthMax=16 \
--data casing=mixed \
--data prefix=id_ \
--data characters=ABC123 \
--data exclude=0O1l \
--data allowLeadingZeros=true \
--data refDate=2024-01-01T00:00:00.000Z{
"status": "success",
"data": {
"strings": [
{
"method": "profile",
"value": "Zo6Bye8",
"alpha": "aZbQc",
"alphanumeric": "A9b2Z7",
"binary": "id_101011",
"fromCharacters": "AC13BA",
"hexadecimal": "id_A4d9",
"nanoid": "VsvwSdm_Am",
"numeric": "315079",
"octal": "id_15263",
"sample": "FeKunG",
"symbol": "#*!.~",
"ulid": "01DXF6DT00CX9QNNW7PNXQ3YR8",
"uuid": "4136cd0b-d90b-4af7-b485-5d1ded8db252",
"length": 6,
"casing": "mixed",
"prefix": "id_",
"characters": "ABC123",
"allowLeadingZeros": true,
"refDate": "2024-01-01T00:00:00.000Z"
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}Generates synthetic string fixtures for testing identifiers, codes, token fields, validation workflows, import fixtures, and sample datasets. Supported methods: profile, alpha, alphanumeric, binary, fromCharacters, hexadecimal, nanoid, numeric, octal, sample, symbol, ulid, and uuid. Length and character-source controls are capped to keep responses bounded and fast.
curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/data/generate/string \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data count=10 \
--data locale=en \
--data seed=12345 \
--data method=profile \
--data length=12 \
--data lengthMin=8 \
--data lengthMax=16 \
--data casing=mixed \
--data prefix=id_ \
--data characters=ABC123 \
--data exclude=0O1l \
--data allowLeadingZeros=true \
--data refDate=2024-01-01T00:00:00.000Z{
"status": "success",
"data": {
"strings": [
{
"method": "profile",
"value": "Zo6Bye8",
"alpha": "aZbQc",
"alphanumeric": "A9b2Z7",
"binary": "id_101011",
"fromCharacters": "AC13BA",
"hexadecimal": "id_A4d9",
"nanoid": "VsvwSdm_Am",
"numeric": "315079",
"octal": "id_15263",
"sample": "FeKunG",
"symbol": "#*!.~",
"ulid": "01DXF6DT00CX9QNNW7PNXQ3YR8",
"uuid": "4136cd0b-d90b-4af7-b485-5d1ded8db252",
"length": 6,
"casing": "mixed",
"prefix": "id_",
"characters": "ABC123",
"allowLeadingZeros": true,
"refDate": "2024-01-01T00:00:00.000Z"
}
],
"generated": 1,
"locale": "en",
"seed": 12345,
"method": "profile"
},
"performance": {
"generationTime": 2,
"itemsGenerated": 1,
"locale": "en"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Number of string records to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
String generation method. Defaults to profile.
profile, alpha, alphanumeric, binary, fromCharacters, hexadecimal, nanoid, numeric, octal, sample, symbol, ulid, uuid "profile"
Exact string length for supported methods. Range: 1-256.
^[1-9]\d*$"12"
Minimum string length for supported methods. Range: 1-256.
^[1-9]\d*$"8"
Maximum string length for supported methods. Range: 1-256.
^[1-9]\d*$"16"
Casing for letter-based and hexadecimal output.
upper, lower, mixed "mixed"
Optional prefix for binary, octal, or hexadecimal output. Max 16 safe characters.
16"id_"
Character source for fromCharacters output. Required when method=fromCharacters. Max 128 non-control characters.
128"ABC123"
Characters to exclude from alpha, alphanumeric, or numeric output. Max 128 non-control characters.
128"0O1l"
Allow leading zeros for numeric output.
true, false "true"
Reference date for generated sortable identifier output.
"2024-01-01T00:00:00.000Z"
Successfully generated string data
success Hide child attributes
Hide child attributes
Resolved string generation method.
profile, alpha, alphanumeric, binary, fromCharacters, hexadecimal, nanoid, numeric, octal, sample, symbol, ulid, uuid "profile"
Primary generated string fixture value.
"Zo6Bye8"
Generated alphabetic string.
"aZbQc"
Generated alphanumeric string.
"A9b2Z7"
Generated binary string.
"0b101011"
Generated string from the supplied character source.
"AC13BA"
Generated hexadecimal string.
"0xA4d9"
Generated Nano ID style identifier.
"VsvwSdm_Am"
Generated numeric string.
"315079"
Generated octal string.
"0o15263"
Generated sampled ASCII string.
"FeKunG"
Generated symbol string.
"#*!.~"
Generated lexicographically sortable identifier.
"01DXF6DT00CX9QNNW7PNXQ3YR8"
Generated UUID v4 identifier.
"4136cd0b-d90b-4af7-b485-5d1ded8db252"
Resolved exact string length.
12
Resolved minimum string length.
8
Resolved maximum string length.
16
Resolved casing option.
upper, lower, mixed "mixed"
Resolved prefix option.
"id_"
Resolved character source option.
"ABC123"
Resolved excluded characters option.
"0O1l"
Resolved leading-zero option.
true
Resolved reference date.
"2024-01-01T00:00:00.000Z"
profile, alpha, alphanumeric, binary, fromCharacters, hexadecimal, nanoid, numeric, octal, sample, symbol, ulid, uuid Was this page helpful?