All requests require X-API-Key header.
curl -H "X-API-Key: af_live_xxx" /api/v1/text/wordcount| Tier | Daily | Rate | Price |
|---|---|---|---|
| Free | 100/day | 10/min | $0/mo |
| Starter | 5,000/day | 60/min | $19/mo |
| Pro | 25,000/day | 200/min | $49/mo |
| Business | 100,000/day | 500/min | $99/mo |
/api/v1/text/summarizeExtract summary.
{"text":"...","sentences":3}/api/v1/text/keywordsExtract keywords.
{"text":"...","count":10}/api/v1/text/sentimentAnalyze sentiment.
{"text":"I love this!"}/api/v1/text/wordcountCount words/chars/sentences.
{"text":"..."}/api/v1/text/slugGenerate URL slug.
{"text":"My Blog Post!"}/api/v1/data/json-to-csvJSON array to CSV.
{"data":[{"name":"Alice"}]}/api/v1/data/csv-to-jsonCSV to JSON.
{"csv":"name,age
Alice,30"}/api/v1/data/flattenFlatten nested object.
{"data":{"user":{"name":"Tim"}}}/api/v1/data/diffDiff two objects.
{"a":{"age":35},"b":{"age":36}}/api/v1/hash/md5MD5 hash.
{"input":"hello"}/api/v1/hash/sha256SHA-256 hash.
{"input":"hello"}/api/v1/encode/base64Base64 encode/decode.
{"input":"hello","action":"encode"}/api/v1/generate/uuidGenerate UUID v4.
/api/v1/email/validateValidate a single email address. Checks syntax, MX records, disposable domains, role-based addresses, and free providers. Returns a deliverability score (0-100).
{"email":"user@example.com"}Response:
{"email":"user@example.com","valid":true,"score":95,"deliverability":"high","checks":{"syntax":true,"mx":true,"disposable":false,"role":false,"free":false},"mx":[{"host":"mail.example.com","priority":10}],"domain":"example.com"}/api/v1/email/validate/batchValidate up to 50 emails at once.
{"emails":["user@gmail.com","test@mailinator.com"]}/api/v1/image/infoGet image metadata (width, height, format, channels, size).
{"url":"https://example.com/photo.jpg"}
// or: {"image":"base64-encoded-data"}/api/v1/image/optimizeOptimize image: resize, compress, convert format. Max 10MB. Returns base64.
{"url":"https://example.com/photo.jpg","width":800,"format":"webp","quality":80}Parameters: image (base64) or url, width, height, format (jpeg/png/webp/avif/tiff), quality (1-100), fit (cover/contain/fill/inside/outside).
/api/v1/image/resizeResize only (preserves format).
{"url":"https://example.com/photo.jpg","width":400,"height":300}/api/v1/image/convertConvert between formats.
{"url":"https://example.com/photo.png","format":"webp","quality":85}/api/v1/qr/generateGenerate a QR code from text or URL. Returns base64 PNG or SVG string.
{"text":"https://example.com","format":"png","size":300,"dark":"#000000","light":"#ffffff"}Parameters: text (required), format (png/svg), size (100-2000px), margin, dark/light (hex colors), errorLevel (L/M/Q/H).
/api/v1/qr/bulkGenerate up to 20 QR codes at once.
{"items":["https://example.com","Hello World"],"format":"png","size":300}/api/v1/screenshot/captureCapture a screenshot of any URL or HTML. Returns base64-encoded image.
{"url":"https://example.com","width":1280,"height":800,"format":"png","fullPage":false}Parameters: url or html (required), width (320-3840), height (200-2160), format (png/jpeg/webp), quality (1-100, jpeg/webp), fullPage (true/false), waitFor (ms, max 10000), selector (CSS selector to capture specific element).
/api/v1/pdf/generateGenerate PDF from HTML, Markdown, or URL. Returns base64-encoded PDF.
{"html":"<h1>Invoice</h1><p>Total: $100</p>","format":"A4","orientation":"portrait"}Parameters: html, url, or markdown (one required), format (A4/A3/Letter/Legal/Tabloid), orientation (portrait/landscape), marginTop/Right/Bottom/Left (e.g. "10mm"), scale (0.1-2.0), printBackground, width (viewport), waitFor (ms).
/api/v1/meta/previewFetch Open Graph, Twitter Card, and meta tags from any URL.
{"url":"https://github.com"}Returns: title, description, image, favicon, siteName, type, canonical, lang, author, twitter (card, title, image), domain.
/api/v1/geo/lookup?ip=8.8.8.8/api/v1/geo/lookupLook up geolocation for an IP address. Uses local MaxMind database (zero-latency, no external API calls).
{"ip":"8.8.8.8"}Returns: country, region, city, timezone, ll (lat/long), eu (EU member), area.
/api/v1/geo/batchBatch lookup up to 100 IPs at once.
{"ips":["8.8.8.8","1.1.1.1","208.67.222.222"]}| Code | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 403 | API key revoked |
| 429 | Rate/daily limit exceeded |
| 400 | Invalid request body |
| 500 | Internal server error |