Lexicon-based sentiment scoring
Lexicon-based sentiment scoring: label a text positive, negative or neutral with a score and the positive and negative word hits behind it (AFINN-derived word list, not a trained model). POST /v1/sentiment with {text}. Deterministic. Pay per request in USDC; no account, no API key.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
907 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent.pocket.network/v1/sentiment-classification
| Category | Everything else |
|---|---|
| Provider host | agent.pocket.network |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2,189 from 9 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.005 | 922 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 918 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 914 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 891 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 874 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 877 ms |
| 2026-11-20 | valid payment request | 402 | $0.005 | 907 ms |
| 2026-11-19 | valid payment request | 402 | $0.005 | 898 ms |
| 2026-11-18 | valid payment request | 402 | $0.005 | 898 ms |
| 2026-11-17 | valid payment request | 402 | $0.005 | 915 ms |
| 2026-11-16 | valid payment request | 402 | $0.005 | 884 ms |
| 2026-11-15 | valid payment request | 402 | $0.005 | 885 ms |
| 2026-11-14 | valid payment request | 402 | $0.005 | 885 ms |
| 2026-11-13 | valid payment request | 402 | $0.005 | 886 ms |
| 2026-11-12 | valid payment request | 402 | $0.005 | 983 ms |
| 2026-11-11 | valid payment request | 402 | $0.005 | 875 ms |
| 2026-11-10 | valid payment request | 402 | $0.005 | 870 ms |
| 2026-11-09 | valid payment request | 402 | $0.005 | 993 ms |
| 2026-11-08 | valid payment request | 402 | $0.005 | 872 ms |
| 2026-11-07 | valid payment request | 402 | $0.005 | 971 ms |
| 2026-11-06 | valid payment request | 402 | $0.005 | 902 ms |
| 2026-11-05 | valid payment request | 402 | $0.005 | 899 ms |
| 2026-11-04 | valid payment request | 402 | $0.005 | 1002 ms |
| 2026-11-03 | valid payment request | 402 | $0.005 | 901 ms |
| 2026-11-02 | valid payment request | 402 | $0.005 | 893 ms |
| 2026-11-01 | valid payment request | 402 | $0.005 | 1044 ms |
| 2026-10-31 | valid payment request | 402 | $0.005 | 1128 ms |
| 2026-10-29 | valid payment request | 402 | $0.005 | 1038 ms |
Example input (from the provider)
{
"body": {
"text": "great service"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "The request body for POST /v1/sentiment.",
"properties": {
"text": {
"description": "The text to score.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"description": "For POST /v1/sentiment, a JSON object with label, score, positive_hits, negative_hits and the lexicon used. Errors return a JSON object with an `error` field. Properties are pinned from live paid responses; nothing is required, because every route's 2xx response is validated against this one schema.",
"properties": {
"deterministic": {
"type": "boolean"
},
"label": {
"type": "string"
},
"lexicon": {
"type": "string"
},
"negative_hits": {
"type": "number"
},
"positive_hits": {
"type": "number"
},
"score": {
"type": "number"
},
"service": {
"type": "string"
}
},
"type": "object"
},
"portal": {
"properties": {
"provenance": {
"const": "third-party-supplier"
},
"schemaCheck": {
"enum": [
"passed",
"undeclared",
"unchecked"
]
},
"serviceId": {
"const": "sentiment-classification"
}
},
"required": [
"provenance",
"serviceId",
"schemaCheck"
],
"type": "object"
}
},
"required": [
"portal",
"data"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}