{"uid":"cap_FNzSQw0O0z9vpzaYI-xCW","slug":"tarnak-x402-toolkit-text-analysis-api-54e627f6","name":"Tarnak x402 Toolkit — Text Analysis API","description":"Keyless pay-per-call APIs for AI agents on Base: token risk verdict, rug/honeypot report, gas estimate, URL-to-markdown and more. x402 v2, USDC, no API key or signup. 10 free verdicts per IP per day.","url":"https://api.capousd-student-tools.me/v1/text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","minLength":1},"keywords":{"type":"integer","default":8},"chunk_size":{"type":"integer","default":1200}}},"responseSchema":{"type":"json","example":{"stats":{"chars":43,"lines":1,"words":9},"chunks":1,"keywords":["base","l2","op","stack"],"sentiment":"neutral"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0vLtr6QDiPb9gjEDIV1nz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes raw text to extract keywords, compute sentiment, and return character/word/line statistics with chunk segmentation.","exampleAgentPrompt":"Analyze this paragraph for me — extract the top 10 keywords, split it into chunks of 1000 characters, and tell me whether the overall sentiment is positive, negative, or neutral: 'Base is a secure, low-cost Ethereum L2 built on the OP Stack, designed to bring the next billion users on-chain.'","exampleUseCases":[{"title":"Keyword extraction for content tagging","prompt":"Pull out the 12 most important keywords from this product description so I can tag it properly: 'Tarnak offers keyless pay-per-call APIs for AI agents on Base, including token risk verdicts, rug detection, gas estimates, and URL-to-markdown conversion, all paid in USDC with no signup required.'"},{"title":"Sentiment check on customer feedback","prompt":"Is this customer review positive, negative, or neutral? Also give me the word count and character count: 'The onboarding was smooth and the gas estimates were accurate, but I wish there were more free daily calls.'"},{"title":"Text statistics for document processing pipeline","prompt":"Break this article excerpt into chunks of 800 characters each and give me the keyword list with 6 terms, plus the total lines and words: 'Decentralized finance has grown rapidly over the past three years, with new protocols emerging on Layer 2 networks that offer lower fees and faster settlement times for everyday users.'"}],"resultDescription":"Returns a JSON object containing text statistics (character count, word count, line count), the number of chunks the text was split into, an array of extracted keywords, and a sentiment label (e.g. 'neutral', 'positive', 'negative').","failureModes":["Empty or missing 'text' field returns a validation error","Extremely large text payloads may exceed processing limits or timeout","Invalid types for 'keywords' or 'chunk_size' (non-integer) cause schema errors","Payment failure via x402 protocol results in 402 response before processing begins","Rate limit exceeded beyond 10 free verdicts per IP per day returns a 429 or payment-required response"],"whenToPreferThis":"Choose this endpoint when you need lightweight, keyless, pay-per-call text analytics — keyword extraction, sentiment labeling, and statistics — without managing an API key or subscription. Ideal for AI agents on Base that need on-the-fly text processing billed in USDC micro-payments. Prefer this over full NLP platforms when you want zero-signup simplicity and x402 native payment compatibility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:43.053Z","isFirstParty":false,"canonicalSlug":"tarnak-x402-toolkit-text-analysis-api-54e627f6"}