# Deepgram Text Analysis via Locus x402

> Deepgram Text Analysis via Locus x402 is a paid API for AI agents from deepgram.x402.paywithlocus.com, paid per call via x402, $0.013/call, status unknown (last checked 2026-09-15).

Analyzes text for sentiment, topics, speaker intents, and generates a concise summary using Deepgram's NLP pipeline

## Facts

- Endpoint: POST https://deepgram.x402.paywithlocus.com/deepgram/analyze
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/deepgram-text-analysis-via-locus-x402-1a96df57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DAhgclldHVZrUS5RkTwmP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability deepgram-text-analysis-via-locus-x402-1a96df57 -d '<json body>'
```

Example prompt: Analyze this customer review using Deepgram's text intelligence — detect the sentiment, identify the main topics, and give me a concise summary: 'The onboarding was smooth and the support team was incredibly helpful, but the billing portal is confusing and keeps logging me out.'

## When to prefer this

Choose this endpoint when you need multi-signal NLP analysis (sentiment + topics + intents + summary) in a single call on text, especially when using a pay-per-use model via x402 and you want Deepgram's Nova-class models without managing your own API keys. Ideal for agents that process customer feedback, support tickets, or any freeform text and need structured NLP output quickly.

## Known failure modes

- Empty or missing text field returns validation error
- Unsupported BCP-47 language code may produce degraded or no results
- Very short text (single word) may produce low-confidence or empty sentiment/intent results
- Network timeout on Deepgram backend returns error in response
- Invalid boolean values for feature flags (topics, intents, sentiment, summarize) cause request failure
- Payment not settled correctly via x402 protocol results in 402 response

## How this service works

Industry-leading speech AI — transcribe audio from URLs with Nova-3, generate natural speech with Aura-2 TTS, and analyze text for sentiment, topics, intents, and summaries.

## Output

Returns a JSON object with analysis results including detected sentiment (positive/negative/neutral), identified topics, inferred intents, and a concise summary depending on which flags were enabled. Also includes payment settlement metadata and a request ID with a status URL for tracking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "topics": {
   "type": "boolean"
  },
  "intents": {
   "type": "boolean"
  },
  "language": {
   "type": "string"
  },
  "sentiment": {
   "type": "boolean"
  },
  "summarize": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepgram-text-analysis-via-locus-x402-1a96df57/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from deepgram.x402.paywithlocus.com](https://www.zero.xyz/host/deepgram.x402.paywithlocus.com/llms.txt)
