Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man story-search

/story-search

agentutility / compose / story-search
PRICE / CALL
$0.025
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
compose
CATEGORY
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
propertytypedescriptionreq?
querystringSearch query, e.g. 'stablecoin regulation'. Max 500 chars.required
typestringResult type. Only 'story' is supported. Default 'story'.
enum: story
optional
sortstringRanking 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
limitnumberMax results to return after merging and deduping. Default 10, max 30.optional
OUTPUT — response shape
fieldtypedescription
querystring—
sortstring—
returnedstring—
resultsstring—
composed_ofstring—
componentsstring—
degradedstring—
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
endpointdescriptionprice
address-intelAddress intelligence API for a street address: parse, geocode, timezone, and building permit context in one call.$0.03
address-intel-packEnriches a street address in one call: parse, geocode, timezone, and building permits.$0.03
address-intelligenceEnriches an address with parsed components, geocoding, timezone, and available city building-permit context.$0.03
clean-text-packSanitizes raw text in one call: Unicode normalization, homoglyph audit, PII detection, and PII redaction.$0.03
contact-normalize-packNormalizes 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-briefDaily 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-reportVets an email address in one call: deliverability, disposable check, DMARC posture, and a dedupe key.$0.03
flight-briefReports live flight status with FAA airport delays and airport info in one call.$0.03
SEE ALSO
agentutility · compose · x402 · mcp · llms.txt · registry.json · bazaar.x402.org