$ man story-search
/story-search
PRICE / CALL
$0.025
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
composeCATEGORY
uncategorized
STATUS
● live
NAME
story-search — story and news search across hacker news and the open web in one call
SYNOPSIS
POST https://x402.agentutility.ai/story-search
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Story and news search across Hacker News and the open web in one call. Composite: one call runs hn-search + web-search in parallel and merges the two result lists, ranked by relevance (round-robin across sources) or by date (newest first, undated results last). Accepts the common agent story-search payload {query, type, sort, limit} — the same shape agents already send to news/story search catalogs. web-search is optional: if it fails, the response degrades to Hacker News results instead of failing the call. Use it as a story search, news search, or 'what's being discussed about X' lookup across HN and the general web.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | Search query, e.g. 'stablecoin regulation'. Max 500 chars. | required |
| type | string | Result type. Only 'story' is supported. Default 'story'. enum: story | optional |
| sort | string | Ranking order. 'relevance' round-robin interleaves HN and web results; 'date' sorts by recency, newest first, with undated results last. Default 'relevance'. enum: relevance · date | optional |
| limit | number | Max results to return after merging and deduping. Default 10, max 30. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| query | string | — |
| sort | string | — |
| returned | string | — |
| results | string | — |
| composed_of | string | — |
| components | string | — |
| degraded | string | — |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/story-search \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the story-search tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- composestorysearchstory-search
- methods
- POST
- cluster
- compose
- price
- $0.025 USDC per call
ADJACENT — other endpoints in compose
| endpoint | description | price |
|---|---|---|
| address-intel | Address intelligence API for a street address: parse, geocode, timezone, and building permit context in one call. | $0.03 |
| address-intel-pack | Enriches a street address in one call: parse, geocode, timezone, and building permits. | $0.03 |
| address-intelligence | Enriches an address with parsed components, geocoding, timezone, and available city building-permit context. | $0.03 |
| clean-text-pack | Sanitizes raw text in one call: Unicode normalization, homoglyph audit, PII detection, and PII redaction. | $0.03 |
| contact-normalize-pack | Normalizes a contact record in one call, generating stable match keys for email, name, phone, and address plus parsed US address components. | $0.03 |
| crypto-news-brief | Daily crypto news digest for a topic: today's headlines plus a structured research brief with overview, key facts, and recent news with s… | $0.03 |
| email-trust-report | Vets an email address in one call: deliverability, disposable check, DMARC posture, and a dedupe key. | $0.03 |
| flight-brief | Reports live flight status with FAA airport delays and airport info in one call. | $0.03 |
SEE ALSO