{"uid":"cap_Ze2eOkaxB6CRyhpMy65-q","slug":"one-engine-word-bigrams-extractor-77e8d767","name":"ONE Engine Word Bigrams Extractor","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/text-token/word-bigrams/t6?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text up to 50000 characters"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Lj4xPNmYDHp5wGjK-u7wd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts all consecutive word pairs (bigrams) from a text input of up to 50,000 characters.","exampleAgentPrompt":"Extract all consecutive word pairs (bigrams) from this text for me: 'The quick brown fox jumps over the lazy dog. The dog barked loudly.'","exampleUseCases":[{"title":"NLP feature engineering for ML model","prompt":"I need to extract all word bigrams from this product description corpus so I can use them as features in my text classifier — here's the text: 'Premium wireless headphones with active noise cancellation and 30-hour battery life. Superior sound quality and comfortable design.'"},{"title":"Keyword co-occurrence analysis for SEO","prompt":"Pull out every consecutive word pair from this blog article so I can see which two-word phrases appear and optimize my content for search: 'Artificial intelligence is transforming modern business operations and driving efficiency across industries.'"},{"title":"Language model preprocessing pipeline","prompt":"Break this training corpus snippet into bigrams for preprocessing before I feed it into my language model: 'The researchers found significant improvements in model accuracy when using transfer learning techniques on limited datasets.'"}],"resultDescription":"Returns a JSON object containing the word bigrams (consecutive two-word pairs) extracted from the input text, suitable for NLP pipelines, frequency analysis, or feature engineering.","failureModes":["Text exceeds 50,000 character limit — request rejected or truncated","Insufficient USDC balance or x402 payment failure — 402 Payment Required response","Empty or missing 'text' field — validation error","Non-string input for 'text' field — schema validation failure","Rate limiting or worker timeout for very dense texts near the character limit"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, pay-per-call bigram extraction on Base with no subscription or API key overhead. Ideal for autonomous agent pipelines that process text on demand and need to pay micro-amounts per call via x402. Prefer this over self-hosted NLP libraries when you want zero infrastructure and deterministic per-call billing at $0.004 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:06.755Z","isFirstParty":false,"canonicalSlug":"one-engine-word-bigrams-extractor-77e8d767"}