T3XTR API Documentation

Welcome to the interactive T3XTR API documentation. Test our powerful text conversion API directly from this page - no Postman required!

๐ŸŽฎ Interactive Testing: Try any endpoint instantly with real API calls
๐Ÿ“ Base URL: http://localhost:3000/api
โšก Rate Limit: 300 requests per 15 minutes

๐Ÿ” Authentication

All conversion endpoints require an API key. Get yours free with email verification - no credit card required!

๐Ÿ”‘ Get API Key
POST
POST /api/register
๐Ÿ”‘ Your API Key:
Enter your API key above to enable testing of all endpoints below. Get one using the registration form above.
๐Ÿ’ก Troubleshooting Connection Issues:
  • Click "Test API Connection" button above to verify server connectivity
  • Check browser console (F12) for detailed error messages
  • Current API URL:
  • If connection fails, try:

๐Ÿ“ Markdown โ†” HTML Conversion

Convert between Markdown and HTML formats. Perfect for documentation, blogs, and content management systems.

Markdown to HTML
POST
POST /api/markdown-to-html
HTML to Markdown
POST
POST /api/html-to-markdown

๐Ÿ”ง JSON โ†” YAML Conversion

Transform between JSON and YAML formats. Essential for configuration files, APIs, and data exchange.

JSON to YAML
POST
POST /api/json-to-yaml

๐Ÿ“„ HTML to PDF Generation

Generate high-quality PDF documents from HTML content. Perfect for invoices, reports, and formatted documents.

HTML to PDF
POST
POST /api/html-to-pdf

๐Ÿ’ณ Billing & Usage

Check your usage, manage credits, and upgrade your plan. Our hybrid billing system provides flexibility for any use case.

Check Usage
GET
GET /api/usage
๐Ÿ“Š What you'll see:
  • Current monthly usage count
  • Plan limits and remaining requests
  • Credit balance for overage
  • Next billing date

๐Ÿ”ง XML โ†” JSON Conversion

Transform between XML and JSON formats. Essential for APIs, configuration files, and data migration.

XML to JSON
POST
POST /api/xml-to-json

๐Ÿ“Š TSV โ†” JSON Conversion

Convert Tab-Separated Values to JSON and vice versa. Perfect for spreadsheet data and database exports.

TSV to JSON
POST
POST /api/tsv-to-json

โš™๏ธ INI to JSON Conversion

Convert INI configuration files to JSON format. Useful for modernizing configuration management.

INI to JSON
POST
POST /api/ini-to-json

๐Ÿ” Base64 Encode/Decode

Encode text to Base64 or decode Base64 back to text. Essential for data transmission and storage.

Base64 Encode
POST
POST /api/base64-encode

๐Ÿ”ค Text Case Conversion

Transform text between different case formats. Perfect for code generation and data standardization.

Text Case Conversion
POST
POST /api/text-case

๐Ÿ“ Line Ending Conversion

Convert between different line ending formats (Unix, Windows, Mac). Essential for cross-platform compatibility.

Line Ending Conversion
POST
POST /api/line-endings

๐Ÿ“Š Text Statistics Analysis

Analyze text for word count, reading time, character distribution, and readability metrics.

Text Statistics
POST
POST /api/text-stats

โš ๏ธ Error Codes & Responses

Understanding API responses and common error scenarios.

// Success Response (200) { "result": "converted content", "metadata": { "input_length": 1234, "output_length": 5678, "processing_time_ms": 45 } } // Authentication Error (401) { "error": "Invalid API key", "message": "Register at /api/register for a free API key" } // Rate Limit Error (429) { "error": "Too many requests", "message": "Please try again later or upgrade your plan" } // Validation Error (400) { "error": "Validation failed", "details": [ { "field": "content", "message": "Content is required" } ] }

๐Ÿ“‹ Response Headers

Every API response includes usage tracking headers:

X-Monthly-Usage: 67 // Current month usage X-Monthly-Limit: 100 // Your plan limit X-Credits-Remaining: 15.50 // Available credits X-Plan: free // Current plan X-Rate-Limit-Remaining: 245 // Remaining requests in window
๐ŸŽ‰ Ready to integrate? Download our Postman Collection for even more testing options, or check out the Getting Started guide for implementation examples.