news.ycombinator.com API: search_posts
news.ycombinator.com via Parse · news_media
Search Hacker News stories by keyword with optional timeframe filtering. Supports relevance and date sorting, with pagination. Uses Algolia search API. Scraper for Hacker News stories, comments, users, jobs, and engagement statistics using Firebase and Algolia APIs. Fulfilled by Parse from news.ycombinator.com.
- developer-tools
- jobs
- news-media
- news-ycombinator-com
- parse
- platform-key
- social-media
Price and execution
- Price
- $0.02 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- news_media
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/1ad7a614-cdcd-4bd0-87e6-2cc68e58d555/search_posts
- Interface artifact
- sha256:9e18e5a74e6e6d49418f462b680950c6511418801bb30d411b7fe3a4aff2995b
- Manifest digest
- sha256:003efe931f5256446489b7675b1ec41a044dd377e2c87a167ffb2fdd6bdf7f16
Request fields
- page (integer): Page number (0-indexed)
- limit (integer): Results per page (max 50)
- query (string, required): Search keyword or phrase
- sort_by (string): Sort order: Allowed values: relevance, date
- timeframe (string): Time filter: Allowed values: today, last_24h, last_3d, last_7d, last_week, last_14d, last_30d, last_month
Example queries
- {"page":"0","limit":"5","query":"rust","sort_by":"relevance","timeframe":"today"}