cURL
curl --request POST \ --url https://api.dirtroad.dev/tools/string-utils/is-palindrome \ --header 'Content-Type: application/json' \ --header 'X-Payment: <api-key>' \ --data ' { "str": "<string>", "strict": false } '
{ "str": "<string>", "prefix": "<string>", "caseSensitive": true, "result": true }
Check if string is a palindrome Requires x402 blockchain payment.
x402 blockchain payment authorization header containing signed EIP-3009 Transfer with Authorization
If true, checks exact palindrome; if false, ignores case and non-alphanumeric characters
Palindrome check result