{"uid":"cap_TIpzJqRbpCW8FkSPWpPJ_","slug":"agentshelf-byte-trigram-counter-4868c094","name":"Agentshelf Byte Trigram Counter","description":"Call when an agent needs counts of byte 3-grams. No network and no LLM. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/ngram-byte-3 first.","url":"https://agentshelf.syntexa.ch/v1/ngram-byte-3?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["ab ab"],"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.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ayEQAVtByBnhp49o2BKg-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts byte 3-grams (all distinct 3-byte sequences and their frequencies) in a given text string, with no network calls or LLM involvement.","exampleAgentPrompt":"Count all the byte 3-gram frequencies in this text: 'The quick brown fox jumps over the lazy dog.'","exampleUseCases":[{"title":"Byte trigram fingerprinting for language detection","prompt":"Compute the byte 3-gram counts for this sample text so I can build a language fingerprint: 'Bonjour tout le monde, comment allez-vous aujourd'hui?'"},{"title":"Anomaly detection in log strings","prompt":"Give me the byte trigram frequency distribution for this log entry so I can check if it matches known patterns: 'ERROR 2024-01-15 kernel: segfault at 00007fff5fbff8a0'"},{"title":"Text similarity preprocessing","prompt":"I need the byte-level 3-gram counts for the string 'machine learning enables computers to learn from data' so I can compute similarity scores against other documents."}],"resultDescription":"A map or list of all distinct 3-byte sequences found in the input text along with their occurrence counts, covering the full byte-level trigram frequency distribution of the input string.","failureModes":["Empty or missing text field returns validation error","Text exceeding 100,000 characters is rejected","Non-UTF-8 or binary-unsafe input may produce unexpected byte sequences","Payment of exactly $0.005 USDC required; incorrect payment amount results in 402 error","Sandbox endpoint /v1/sandbox/ngram-byte-3 should be tried first to avoid unnecessary charges"],"whenToPreferThis":"Use this endpoint when you need exact, deterministic byte-level 3-gram counts without relying on any external network calls or LLM inference. Prefer this over character n-gram or word n-gram services when byte-level analysis is required (e.g., language identification, compression analysis, binary fingerprinting). Always try the free sandbox variant /v1/sandbox/ngram-byte-3 first to validate your input before paying.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:47:08.836Z","isFirstParty":false,"canonicalSlug":"agentshelf-byte-trigram-counter-4868c094"}