# Diffbot NL Analyze

> Diffbot NL Analyze is a paid API for AI agents from Diffbot NL at diffbot-nl.mpp.paywithlocus.com, paid per call via MPP, $0.004+ (per 10k chars) (dynamic), status unknown (last checked 2026-10-12).

Analyzes text using NLP to extract named entities, sentiment, facts, categories, sentences, summaries, and language detection

## Facts

- Endpoint: POST https://diffbot-nl.mpp.paywithlocus.com/diffbot-nl/analyze?utm_source=zero.xyz
- Price: $0.004+ (per 10k chars) (dynamic)
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 1
- Provider: Diffbot NL
- Docs: https://docs.diffbot.com/reference/natural-language
- Website: https://www.diffbot.com
- Tags: nlp, ner, sentiment, summarization, ai
- Canonical page: https://www.zero.xyz/c/diffbot-nl-analyze-e24aa03d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J4chTngoIHae5X5yd6rvX

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 diffbot-nl-analyze-e24aa03d -d '<json body>'
```

Example prompt: Analyze this news article text and give me the named entities, sentiment, and a summary: 'Tesla reported record earnings this quarter as CEO Elon Musk credited new factories in Austin and Berlin for the production boost.'

## When to prefer this

Choose this endpoint when you need multi-faceted NLP analysis in a single call — especially when you want Diffbot's knowledge-graph-linked entity extraction with Wikidata/DBpedia URIs alongside sentiment and summarization. Ideal for enriching content pipelines, analyzing news articles, or extracting structured facts from unstructured text. Prefer this over generic NLP services when entity disambiguation and knowledge-graph linking are important.

## Known failure modes

- Missing required 'content' field returns a validation error
- Invalid field names in 'fields' parameter may be ignored or return an error
- Very long documents may be truncated or timeout
- Non-English text may have reduced accuracy for certain NLP fields
- Malformed document objects in content array return parsing errors

## How this service works

Perform NER, sentiment analysis, fact extraction, and summarization on text.

## Output

Returns a JSON object with requested NLP fields including: an array of recognized entities (each with name, Wikidata/DBpedia URIs, and entity types), an overall sentiment score, a text summary, detected facts, category classifications, sentence-level breakdowns, and/or detected language — depending on which fields were requested.

## Example request

```json
{
 "fields": "entities,sentiment,summary,language",
 "content": "Microsoft announced a new partnership with OpenAI to integrate advanced AI capabilities into its productivity suite. The collaboration aims to enhance user experience across Word, Excel, and Teams. Industry experts view this as a strategic move to compete with Google's AI initiatives."
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "content"
 ],
 "properties": {
  "fields": {
   "type": "string",
   "description": "Comma-separated NLP fields: entities, sentiment, facts, categories, sentences, summary, language"
  },
  "content": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "content"
      ],
      "properties": {
       "lang": {
        "type": "string"
       },
       "format": {
        "type": "string"
       },
       "content": {
        "type": "string"
       }
      },
      "additionalProperties": true
     }
    }
   ],
   "description": "Array of document objects with { content, lang?, format? } or a single text string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diffbot-nl-analyze-e24aa03d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diffbot-nl.mpp.paywithlocus.com](https://www.zero.xyz/host/diffbot-nl.mpp.paywithlocus.com/llms.txt)
