batch_analyze
Analyze up to 10 URLs or texts in parallel to get structured competitive intelligence including positioning, pain points, and market angles for a flat fee of $0.20 USDC.
Instructions
Analyzes up to 10 competitors in parallel in a single call.
Cost: $0.20 USDC flat for the entire batch (regardless of item count), paid automatically via x402 on Base mainnet. More efficient than calling analyze_competitor 10 times ($0.50 USDC).
Each item in the batch is processed in parallel, so total time is similar to a single analysis (2-5 seconds) regardless of batch size.
Returns a JSON object with:
results (list): Array of analysis results, one per item
id (str): The id you provided, or the item index as string
source (str): The url or "provided_text"
analysis (object): Same structure as analyze_competitor output
cached (bool): Whether this result was served from cache
total (int): Number of items processed
cached (int): Number of items served from cache
response_ms (int): Total processing time in milliseconds
price_paid_usdc (str): Total price paid ("0.20")
Parameters:
items (list[dict]): List of up to 10 analysis requests. Each item can have:
url (str, optional): URL to analyze
text (str, optional): Text description to analyze
context (str, optional): Your product context for relevance
id (str, optional): Identifier to track items in the response
Example usage: batch_analyze(items=[ {"url": "https://notion.so", "id": "notion"}, {"url": "https://coda.io", "id": "coda"}, {"text": "Obsidian is a local-first note-taking app", "id": "obsidian"}, ])
Best for:
Due diligence: analyze all competitors in a market in one call
Weekly monitoring: check 5-10 competitors every Monday
Market mapping: build a full competitive landscape in seconds
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |