{"uid":"cap_mGkTRQ2vILJxpONLnV0D2","slug":"agent402-tools-keyword-frequency-extractor-123391c5","name":"agent402.tools Keyword Frequency Extractor","description":"Top keywords and two-word phrases by frequency (stopwords removed). Cheap, deterministic signal for routing, tagging, and dedup.","url":"https://agent402.tools/api/keywords","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to analyze (max 500KB)"},"limit":{"type":"number","description":"Max keywords (default 15)"}}},"responseSchema":{"type":"json","example":{"phrases":[{"term":"x402 protocol","count":2},{"term":"payment terms","count":2}],"keywords":[{"term":"request","count":4},{"term":"payment","count":4},{"term":"agent","count":3}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mc-HpCwlnaogbXvNQMwt5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts top keywords and two-word phrases by frequency from text, with stopwords removed, for routing, tagging, and deduplication.","exampleAgentPrompt":"Extract the top 20 keywords and two-word phrases from this article text, removing stopwords: 'Blockchain technology has transformed financial systems worldwide, enabling decentralized transactions and smart contracts that remove intermediaries from banking and lending processes.'","exampleUseCases":null,"resultDescription":"A ranked list of top keywords and bigrams extracted from the input text, with stopwords filtered out, ordered by frequency — up to the specified limit (default 15).","failureModes":["Text exceeds 500KB limit — request rejected with size error","Invalid or missing text field — returns validation error","Limit parameter out of range — may return default behavior or error","Payment failure via x402 protocol — 402 response requiring USDC payment","Empty text input — returns empty keyword list"],"whenToPreferThis":"Use this endpoint when you need fast, deterministic keyword extraction without ML inference overhead — ideal for routing, content tagging, deduplication signals, or any pipeline where reproducibility and low cost matter more than semantic understanding. Prefer over LLM-based summarization when you need raw frequency-based signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:53:47.080Z","isFirstParty":false}