Natural Language Processing API
Advanced text analysis, sentiment detection, entity extraction, and language understanding powered by state-of-the-art AI models.
Overview
Fast Processing
Average response time under 200ms for most operations
100+ Languages
Support for major world languages with high accuracy
Privacy First
Your data is processed securely and never stored
Base URL
https://api.wattky.com/v1/nlpEndpoints
/v1/nlp/analyzeComprehensive text analysis including sentiment, entities, and key phrases
/v1/nlp/sentimentAnalyze sentiment with confidence scores
/v1/nlp/entitiesExtract named entities (people, places, organizations)
/v1/nlp/keywordsExtract key phrases and important terms
/v1/nlp/summarizeGenerate concise summaries of long texts
/v1/nlp/translateTranslate text between 100+ languages
Code Examples
cURL
curl -X POST https://api.wattky.com/v1/nlp/analyze \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Wattky is revolutionizing AI technology!",
"language": "en",
"features": ["sentiment", "entities", "keywords"]
}'Python
import requests
url = "https://api.wattky.com/v1/nlp/analyze"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
data = {
"text": "Wattky is revolutionizing AI technology!",
"language": "en",
"features": ["sentiment", "entities", "keywords"]
}
response = requests.post(url, headers=headers, json=data)
result = response.json()
print(result)JavaScript
const response = await fetch('https://api.wattky.com/v1/nlp/analyze', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: 'Wattky is revolutionizing AI technology!',
language: 'en',
features: ['sentiment', 'entities', 'keywords']
})
});
const result = await response.json();
console.log(result);Response Format
{
"status": "success",
"data": {
"sentiment": {
"label": "positive",
"score": 0.94,
"confidence": "high"
},
"entities": [
{
"text": "Wattky",
"type": "ORGANIZATION",
"confidence": 0.98
},
{
"text": "AI technology",
"type": "TECHNOLOGY",
"confidence": 0.92
}
],
"keywords": [
{
"text": "revolutionizing",
"relevance": 0.95
},
{
"text": "AI technology",
"relevance": 0.89
}
],
"language": "en",
"word_count": 6,
"processing_time_ms": 142
}
}Supported Languages
...and 84 more languages. Contact us for the complete list or custom language support.
Pricing
Ready to Get Started?
Contact us to get early access to the NLP API and start building powerful text analysis features into your applications.