{"uid":"cap_ioiOsZlIfBtda4JNvldl1","slug":"brainiac-social-comment-classifier-5210ce6f","name":"BRAINIAC Social Comment Classifier","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/social-content/comment-classify?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000},"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/plain","text/csv","application/json"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000},"posts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":1},"date":{"type":"string","maxLength":40},"text":{"type":"string","maxLength":4000},"likes":{"type":"integer","maximum":1000000000,"minimum":0},"saves":{"type":"integer","maximum":1000000000,"minimum":0},"shares":{"type":"integer","maximum":1000000000,"minimum":0},"comments":{"type":"integer","maximum":1000000000,"minimum":0},"platform":{"type":"string","maxLength":40},"impressions":{"type":"integer","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":200},"window":{"type":"object","required":["start","days"],"properties":{"days":{"type":"integer","maximum":31,"minimum":1},"start":{"type":"string","maxLength":40,"minLength":1}},"additionalProperties":false},"account":{"type":"object","properties":{"name":{"type":"string","maxLength":80},"platform":{"type":"string","maxLength":40},"followers":{"type":"integer","maximum":1000000000,"minimum":0}},"additionalProperties":false},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80,"minLength":1},"text":{"type":"string","maxLength":2000},"type":{"type":"string","maxLength":40},"postId":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":200},"hashtags":{"type":"array","items":{"type":"object","required":["tag"],"properties":{"tag":{"type":"string","maxLength":80,"minLength":1},"posts":{"type":"integer","maximum":1000000000,"minimum":0},"impressions":{"type":"integer","maximum":1000000000,"minimum":0}},"additionalProperties":false},"maxItems":80},"platform":{"type":"string","maxLength":40}}},"responseSchema":{"type":"json","example":{"status":"classified","scraped":false,"comments":[{"id":"C-1","method":"keyword","postId":"P-1","matches":"question","category":"question","recognized":true,"interpretation":"keyword"},{"id":"C-2","method":"keyword","postId":"P-1","matches":"praise","category":"praise","recognized":true,"interpretation":"keyword"},{"id":"C-3","method":"stated","postId":"P-1","matches":"","category":"","recognized":false,"interpretation":"none"}],"findings":[{"code":"type_unrecognized","kind":"observation","detail":"The comment type is not question, praise, complaint, spam, or request. It was not remapped.","subject":"C-3"}],"checkedAt":"2026-11-03T18:00:00.000Z","published":false,"limitations":["Engagement metrics are calculated only from numbers supplied in the request.","No account is scraped and no platform restriction is bypassed.","No post is published or scheduled.","Hashtag counts and impressions come only from the supplied posts and hashtag rows. Current popularity and reach are not estimated.","A calendar slot or repurposed draft uses text from the request. Text is shortened only for a documented character limit of a specified platform."],"postsRemoved":false,"reachInvented":false,"moderationAction":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OPszpQLiKLJw7FQ9ZODR0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies social media comments into categories (question, praise, complaint, spam, request) using keyword or stated-type matching","exampleAgentPrompt":"Can you classify these comments on our latest post — C-1 says 'How do I return this?', C-2 says 'Love this product!', and C-3 says 'Buy followers at discount.com' — and tell me which are questions, praise, or spam?","exampleUseCases":[{"title":"Moderation queue triage","prompt":"I have 50 comments on my brand's Instagram post — here's the list. Can you classify each one as a question, praise, complaint, spam, or request so my team knows which to respond to first?"},{"title":"Customer feedback categorization","prompt":"We just launched a product and got a ton of comments. Classify these 20 comments by type so I can see how many are complaints versus praise versus questions: [comment list]."},{"title":"Spam detection in comments","prompt":"Can you go through this batch of YouTube comments and flag which ones look like spam versus genuine questions or praise from real users?"}],"resultDescription":"A JSON object with a 'comments' array where each comment is tagged with its category (question, praise, complaint, spam, request, or unrecognized), the classification method used (keyword or stated), whether it was recognized, and any pattern matches. Also includes a 'findings' array for observations like unrecognized types, plus limitations disclaimers and audit fields like checkedAt.","failureModes":["Comment text too long (>2000 chars per comment) causes validation error","Exceeding 200 comments per request returns an error","Unrecognized comment type supplied in 'type' field results in finding code 'type_unrecognized' and no remapping","Malformed JSON input or missing required fields returns a schema validation error","Empty comments array returns empty classification result"],"whenToPreferThis":"Use this endpoint when you need fast, pay-per-call, no-account comment classification on batches of up to 200 comments and want structured JSON output with per-comment category labels. Prefer it over building a custom classifier when the five standard categories (question, praise, complaint, spam, request) cover your use case and you want keyword-level explainability (matches field) without training a model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:07.753Z","isFirstParty":false,"canonicalSlug":"brainiac-social-comment-classifier-5210ce6f"}