{"uid":"cap_-DUTIQJydv5AWguJFOFDN","slug":"nlp-text-analysis-api-language-sentiment-keywords-summary-466559eb","name":"NLP Text Analysis API (language, sentiment, keywords, summary)","description":"Local text analysis for AI agents — language detection, sentiment, keyword extraction, and an extractive summary, all from one call (no LLM round-trip). Pay-per-call in USDC via x402 — no signup, no API key. Use to triage/classify/summarize text cheaply mid-loop.","url":"https://api-production-17e1.up.railway.app/nlp","method":"GET","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The page URL to unfurl."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2bttjcpRTObTgvgOa7fZe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs local NLP on a text string in a single call — detecting language, scoring sentiment, extracting keywords, and returning an extractive summary — without an LLM round-trip.","exampleAgentPrompt":"Analyze this customer review for me — detect the language, score the sentiment, pull out the main keywords, and give me a short extractive summary: 'The onboarding was confusing at first but the support team was incredibly responsive and resolved everything within an hour. Would recommend.'","exampleUseCases":null,"resultDescription":"Returns language code (e.g. 'en'), sentiment score/label (positive/negative/neutral with confidence), a list of extracted keywords, and an extractive summary — all in one JSON response.","failureModes":["Missing or empty text parameter returns 400 error","Text too long may be truncated or rejected","Non-textual input (binary data, URLs) may yield poor or null results","Payment failure via x402 returns 402 with payment details","Service downtime returns 503"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap, multi-signal text analysis (language + sentiment + keywords + summary) in a single call without the latency or cost of an LLM. Ideal for mid-loop agent triage, classifying large volumes of text, or enriching data pipelines where LLM round-trips are too expensive.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-24T03:37:12.662Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-08-24T04:32:05.566Z","isFirstParty":false}