Back to Tool
🔗

URL Encoder/Decoder API

URL encode or decode strings programmatically

Endpoint

POST/api/v1/url-encoder

Authentication

Include your API key in the request header:

X-API-Key: your_api_key_here

Get your API key from the Dashboard

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
textstringYesThe text to encode or URL-encoded string to decode
actionstringYes"encode" or "decode"
componentbooleanNoUse component encoding (default: true)

Response

FieldTypeDescription
successbooleanWhether the operation was successful
resultstringThe encoded/decoded string

Code Examples

curl -X POST https://tools.shubhambadgujar.com/api/v1/url-encoder \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"text": "hello world & foo=bar", "action": "encode"}'

Pricing

$0.0010 per call

Get API Key

Rate Limits

  • • 100 requests per minute
  • • 10,000 requests per day
  • • Max request size: 10MB

Need Help?

Contact us at support@shubhambadgujar.com