{"uid":"cap_7vup_nw7hyHGzQz7VnsaI","slug":"agentshelf-regex-mention-extractor-40382a0e","name":"AgentShelf Regex Mention Extractor","description":"Call when an agent needs at-mentions extracted from text, capped at 20 matches. An empty match list is billed. No network. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/regex-mention first.","url":"https://agentshelf.syntexa.ch/v1/regex-mention?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["@hello"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MJG-jdRx4kbj8CBuSYasD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all @-mention strings from text using regex, returning up to 20 matches per call.","exampleAgentPrompt":"Can you extract all the @mentions from this text: 'Hey @alice and @bob, please review the PR — cc @devteam'?","exampleUseCases":[{"title":"Parsing mentions from social post","prompt":"I have this tweet: 'Thanks @johnsmith and @sarahlee for the shoutout! Also ping @marketing.' — can you pull out all the @mentions from it?"},{"title":"Extracting tagged users from comment","prompt":"Here's a comment from our community forum: '@mod_team please help, also tagging @alice123 and @support_bot for visibility.' Who are all the people mentioned?"},{"title":"Auditing mentions in notification text","prompt":"I've got this notification body: 'You were mentioned by @ceo_jane in a thread with @hr_team and @finance_dept.' Can you list all the @handles that appear in it?"}],"resultDescription":"A list of up to 20 matched @-mention strings found in the input text, extracted via regex pattern matching. If no mentions are found, an empty list is returned — but the call is still billed at $0.009 USDC.","failureModes":["Empty match list returned but still billed if no @mentions are present in text","Input text exceeds 100,000 character limit causing a validation error","Malformed or missing 'text' field in request body causes a bad request error","More than 20 mentions in text results in truncation at 20 matches"],"whenToPreferThis":"Use this endpoint when you need fast, deterministic regex-based @mention extraction without any LLM or network overhead. It is ideal for structured pipelines processing social media text, notifications, or comments where cost predictability and speed matter. Prefer the free POST /v1/sandbox/regex-mention endpoint for testing or unpaid usage. Avoid this endpoint if your text reliably has no mentions, as empty results are still billed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:45:55.916Z","isFirstParty":false,"canonicalSlug":"agentshelf-regex-mention-extractor-40382a0e"}