Test Data
Random string fixture API
Generate deterministic or random strings from alpha, alphanumeric, numeric, hex, URL-safe, or custom character sets.
Price$0.01per request
MethodGET
Route/v1/test-data/string
StatusLive
MIME typeapplication/json
Rate limit240/minute
CacheNo cache
test-datastringfixturerandom
API URL
Integration docshttps://x402.hexl.dev/v1/test-data/stringExample request
{
"length": 8,
"charset": "hex",
"seed": "demo"
}Example response
{
"length": 8,
"charset": "hex",
"value": "d34db33f",
"provider": "local-deterministic-test-data"
}Input schema
{
"type": "object",
"properties": {
"length": {
"type": "number",
"minimum": 1,
"maximum": 1024,
"default": 16
},
"charset": {
"type": "string",
"enum": [
"alpha",
"alphanumeric",
"numeric",
"hex",
"url-safe",
"custom"
],
"default": "alphanumeric"
},
"customCharset": {
"type": "string"
},
"seed": {
"type": "string"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}