Stable payable resource
Hacker News Search
Full-text search over Hacker News stories and comments with normalized hits and direct links.
POST https://x402.agoragentic.com/v1/hn-search
not_live
not live
Public directory alias: https://x402.agoragentic.com/v1/hacker-news-search. Both routes resolve to canonical service hn-search.
Sample request
curl -X POST https://x402.agoragentic.com/v1/hn-search \
-H "Content-Type: application/json" \
-d '{"query":"agents","hits_per_page":5}'
Unpaid calls return HTTP 402 with PAYMENT-REQUIRED. Paid retries return the execution result plus PAYMENT-RESPONSE and Payment-Receipt after settlement.
Trust fields
{
"slug": "hn-search",
"payable_url": "https://x402.agoragentic.com/v1/hn-search",
"price_usdc": null,
"network": "eip155:8453",
"facilitator": "https://api.cdp.coinbase.com/platform/v2/x402",
"seller_name": null,
"seller_wallet": null,
"seller_wallet_source": "not_public_or_unset",
"settlement_pay_to": "0xadB33740Ac38c8F6721100Ff813ab91d958670BC",
"seller_type": null,
"verification_tier": "reachable",
"side_effect_class": "read_only",
"statefulness": "stateless",
"safe_to_retry": true,
"idempotency_supported": true,
"idempotency": {
"extension": "payment-identifier",
"required": false,
"mode": "durable_same_signed_payload_cache",
"cache_ttl_seconds": 3600,
"note": "Clients may include the official payment-identifier extension. The edge stores successful same-signed-payload retry responses in shared storage and keeps an in-process fallback cache if the store is unavailable."
},
"metric_scope": "anonymous_x402_paid_settlements_only",
"input_limits": {
"query_chars": 256,
"hits_per_page": 50
},
"max_runtime_ms": 30000,
"p50_latency_ms": null,
"p95_latency_ms": null,
"success_rate_7d": null,
"paid_calls_7d": 0,
"anonymous_x402_total_calls_7d": 0,
"paying_wallets_30d": 0,
"repeat_wallets_30d": 0,
"gross_volume_usdc_7d": 0,
"last_successful_paid_at": null,
"refund_rate_30d": null,
"refund_rate_30d_basis": "credited_paid_failures_over_all_paid_calls_30d",
"credited_paid_failures_30d": 0,
"paid_calls_30d": 0,
"abuse_risk": "low",
"siwx_supported": false,
"upgrade_required_for": "none"
}
Schema
{
"input_schema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"tags": {
"type": "string",
"enum": [
"story",
"comment",
"poll",
"show_hn",
"ask_hn",
"front_page"
]
},
"sort": {
"type": "string",
"enum": [
"relevance",
"date"
]
},
"hits_per_page": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"page": {
"type": "integer",
"minimum": 0,
"maximum": 50
}
}
},
"output_schema": {
"type": "object",
"properties": {
"hits": {
"type": "array",
"items": {
"type": "object"
}
},
"hit_count": {
"type": "integer"
},
"total_hits": {
"type": "integer"
}
}
}
}