{
  "x402Version": 2,
  "id": 33840,
  "slug": "33840",
  "resource": "https://x402.agentindex.world/sentiment",
  "description": "Sentiment analysis: classify text as positive, negative, or neutral with a confidence score and an alternate label. Powered by Jev, with an automatic Groq-hosted LLM fallback if Jev is slow or unavailable (\"engine\":\"jev\"|\"fallback\" in the response) - under 4.5s guaranteed. Try GET /sentiment/sample.",
  "type": "http",
  "serviceName": "sentiment-analysis",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790789619/bazaar-icons/fde5dd6af2b2b42f.png",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "alternate_label": {
            "description": "The second-best label, if any.",
            "type": [
              "string",
              "null"
            ]
          },
          "alternate_probability": {
            "description": "Confidence in `alternate_label`, if known.",
            "type": [
              "number",
              "null"
            ]
          },
          "engine": {
            "description": "Which engine answered: Jev (primary) or the Groq-hosted LLM fallback.",
            "enum": [
              "jev",
              "fallback"
            ],
            "type": "string"
          },
          "label": {
            "description": "The best-fitting label.",
            "type": "string"
          },
          "probability": {
            "description": "Confidence in `label`, 0 to 1.",
            "type": "number"
          },
          "x402_receipt": {
            "description": "Billing and provenance receipt for this call.",
            "type": "object"
          }
        },
        "required": [
          "label",
          "probability",
          "engine"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "text": "It works well overall, just wish the battery lasted longer."
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "alternate_label": "neutral",
            "alternate_probability": 0.05,
            "engine": "jev",
            "input": "It works well overall, just wish the battery lasted longer.",
            "label": "positive",
            "probability": 0.93
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "text": {
                    "description": "Text to classify, up to 4000 characters.",
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ]
              },
              "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": {
                  "alternate_label": {
                    "description": "The second-best label, if any.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "alternate_probability": {
                    "description": "Confidence in `alternate_label`, if known.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "engine": {
                    "description": "Which engine answered: Jev (primary) or the Groq-hosted LLM fallback.",
                    "enum": [
                      "jev",
                      "fallback"
                    ],
                    "type": "string"
                  },
                  "label": {
                    "description": "The best-fitting label.",
                    "type": "string"
                  },
                  "probability": {
                    "description": "Confidence in `label`, 0 to 1.",
                    "type": "number"
                  },
                  "x402_receipt": {
                    "description": "Billing and provenance receipt for this call.",
                    "type": "object"
                  }
                },
                "required": [
                  "label",
                  "probability",
                  "engine"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "sentiment analysis",
    "text sentiment",
    "opinion mining",
    "Powered by Jev",
    "bazaar"
  ],
  "sourceHost": "x402.agentindex.world",
  "lastUpdated": "2026-10-08T06:08:53.093Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:08:52.882Z"
  },
  "metadata": {
    "serviceName": "sentiment-analysis",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1790789619/bazaar-icons/fde5dd6af2b2b42f.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "text": "It works well overall, just wish the battery lasted longer."
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "alternate_label": "neutral",
              "alternate_probability": 0.05,
              "engine": "jev",
              "input": "It works well overall, just wish the battery lasted longer.",
              "label": "positive",
              "probability": 0.93
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "text": {
                      "description": "Text to classify, up to 4000 characters.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "text"
                  ]
                },
                "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": {
                    "alternate_label": {
                      "description": "The second-best label, if any.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "alternate_probability": {
                      "description": "Confidence in `alternate_label`, if known.",
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "engine": {
                      "description": "Which engine answered: Jev (primary) or the Groq-hosted LLM fallback.",
                      "enum": [
                        "jev",
                        "fallback"
                      ],
                      "type": "string"
                    },
                    "label": {
                      "description": "The best-fitting label.",
                      "type": "string"
                    },
                    "probability": {
                      "description": "Confidence in `label`, 0 to 1.",
                      "type": "number"
                    },
                    "x402_receipt": {
                      "description": "Billing and provenance receipt for this call.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "label",
                    "probability",
                    "engine"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentindex.world",
    "manifest_name": "x402.agentindex.world",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "alternate_label": "string",
      "alternate_probability": 0,
      "engine": "jev",
      "label": "string",
      "probability": 0,
      "x402_receipt": {}
    },
    "type": "string"
  }
}