API LuvTool

Intégrez nos outils dans vos applications avec une API REST simple.

Get 200 free API requests/day — no credit card required.

Commencer

Authentication

Include your API key in the request header:

Authorization: Bearer lt_your_api_key_here

Base URL

https://luvtool.com/api/v1

Endpoints

POST /api/v1/word-count

Count words, characters, sentences, and paragraphs.

{ "text": "Your text to analyze..." }

Response:

{ "words": 5, "characters": 25, "characters_no_spaces": 21, "sentences": 1, "paragraphs": 1, "reading_time_minutes": 1 }
POST /api/v1/sentiment

Analyze sentiment of text.

{ "text": "I love this product, it's amazing!" }

Response:

{ "score": 0.75, "label": "positive", "positive_words": ["love", "amazing"], "negative_words": [] }
POST /api/v1/hash

Generate hash of text (md5, sha1, sha256, sha512).

{ "text": "hello world", "algorithm": "sha256" }
POST /api/v1/readability

Calculate readability scores (Flesch, Gunning Fog, etc.).

{ "text": "Your article text here..." }
GET /api/v1/uuid?count=5

Generate UUID v4.

GET /api/v1/password?length=16&symbols=true

Generate secure random password.

Rate Limits

PlanDaily RequestsPrice
Free200$0
Starter1,000$9/mo
Pro10,000$29/mo
Business50,000$79/mo

Error Codes

CodeMeaning
401Invalid or missing API key
429Daily rate limit exceeded
400Invalid request body