All API tools
Encoding & Crypto
Base64 Encode API
GET
/v1/base64-encode Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| text | hello |
| urlSafe | false |
| stripPadding | false |
| wrap | none |
Example request
curl "https://api.toolsxpo.com/v1/base64-encode?text=hello&urlSafe=false&stripPadding=false&wrap=none" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.