DEV Community

2x lazymac
2x lazymac

Posted on

Base64 Tools API - REST + MCP, Free Tier

Base64 Tools API

Encode and decode Base64, URL-safe Base64, and Base64url. Detect encoding, handle binary data, stream chunking. Free tier: 1000 req/day.

Quick Start

# Health check
curl https://api.lazy-mac.com/base64-tools-api/health

# API info
curl https://api.lazy-mac.com/base64-tools-api
Enter fullscreen mode Exit fullscreen mode

Endpoints

  • {'path': '/encode', 'method': 'POST', 'description': 'Encode to Base64'}
  • {'path': '/decode', 'method': 'POST', 'description': 'Decode from Base64'}
  • {'path': '/encode/url', 'method': 'POST', 'description': 'URL-safe Base64'}
  • {'path': '/detect', 'method': 'POST', 'description': 'Detect if string is Base64'}
  • {'path': '/health', 'method': 'GET', 'description': 'Health check'}

Pricing

Plan Price Features
Free $0/mo 100 req/day, core endpoints
Pro $Free/mo Unlimited, all endpoints, MCP

MCP Integration

This API supports the Model Context Protocol (JSON-RPC 2.0):

curl -X POST https://api.lazy-mac.com/base64-tools-api/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Enter fullscreen mode Exit fullscreen mode

Get Your API Key

Get started on Gumroad — free tier available.


Built by lazymac | All APIs

Top comments (0)