{"uid":"cap_SidJAUAjnPLtIJg4gZUzT","slug":"x402-ai-gateway-sentiment-analysis-54424a2c","name":"x402 AI Gateway – Sentiment Analysis","description":"AI-powered API endpoints powered by Gemini 2.0 Flash. Pay with USDC on Base or Solana.","url":"https://x402-ai-gateway-rosy.vercel.app/api/sentiment?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"responseSchema":{"type":"object"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xjur8uieODuAx4UHccY51","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes the sentiment of a given text string using Gemini 2.0 Flash, returning a sentiment classification result, payable per-call via USDC on Base or Solana.","exampleAgentPrompt":"Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived quickly but the packaging was completely crushed and customer support never replied to my emails.'","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the sentiment classification (e.g. positive, negative, neutral) and likely a confidence score or supporting details for the analyzed text, produced by Gemini 2.0 Flash.","failureModes":["Missing required 'text' field returns a 400 validation error","Payment not completed or insufficient USDC balance causes a 402 Payment Required response","Empty or extremely short text may yield low-confidence or ambiguous sentiment results","Network or upstream Gemini API outage returns a 500 or 503 error","Unsupported content type or malformed JSON body returns a 400 error"],"whenToPreferThis":"Choose this endpoint when you need fast, per-call AI-powered sentiment classification without committing to a subscription, especially in crypto-native or agent workflows that support x402 micropayment flows using USDC on Base or Solana. It is ideal for one-off or low-volume sentiment checks powered by Gemini 2.0 Flash.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:44:21.792Z","isFirstParty":false,"canonicalSlug":"x402-ai-gateway-sentiment-analysis-54424a2c"}