cURL
curl --request POST \ --url https://api.dirtroad.dev/tools/string-utils/remove-non-alphanumeric \ --header 'Content-Type: application/json' \ --header 'X-Payment: <api-key>' \ --data ' { "str": "<string>" } '
{ "original": "<string>", "result": "<string>" }
Remove all non-alphanumeric characters Requires x402 blockchain payment.
x402 blockchain payment authorization header containing signed EIP-3009 Transfer with Authorization
Input string to process
String with only alphanumeric characters
Original input string
Processed result string