# HN Hiring on Onekey > 2 endpoints for HN Hiring (2 stable, 0 beta), 5 credits each. Category: Jobs & professional. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/hnhiring Reference (Markdown): https://onekey.dev/docs/api/hnhiring.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 2 mapped HN Hiring endpoints return each: - `content.createdAt` (ISO 8601 date): 2 - `content.id` (string): 2 - `content.text` (string): 2 - `content.title` (string): 2 - `author.username` (string): 1 - `engagement.comments` (integer): 1 - `engagement.likes` (integer): 1 ## Endpoints ### hnhiring.search Search the comments of one 'Who is hiring' thread (by HN story id). - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/hnhiring/search?story_id=42575537&q=python` with header `x-api-key: YOUR_API_KEY` - Parameters: - `story_id` (string, required): HN story id of the hiring thread - `q` (string, required): Search query - Fields returned: `content.id`, `content.text`, `content.createdAt`, `author.username`, `content.title` - Reference: https://onekey.dev/docs/api/hnhiring/search.md ### hnhiring.threads Monthly 'Ask HN: Who is hiring / wants to be hired / Freelancer' threads. - Price: 5 credits per fresh call. Status: stable. Returns: a list. - Request: `GET https://api.onekey.dev/v1/hnhiring/threads` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `content.id`, `content.title`, `content.createdAt`, `content.text`, `engagement.comments`, `engagement.likes` - Reference: https://onekey.dev/docs/api/hnhiring/threads.md ## Sample request ```bash curl "https://api.onekey.dev/v1/hnhiring/search?story_id=42575537&q=python" \ -H "x-api-key: YOUR_API_KEY" ```