Connect PG Radar to Your Agent
3 integration modes (MCP, RSS, API) require a Bearer API Key for commercial or subscriber access. Anonymous public scraping is disabled.
Pass your issued key in requests to /api/mcp, /api/v1/*, or SKILL.md:Authorization: Bearer YOUR_API_KEY
Authorized GET endpoints via Bearer Key
Requires Authorization: Bearer YOUR_API_KEY (or X-Api-Key); works from browser CORS, curl, and standard HTTP clients. Pass ?lang=en|zh (defaults to English). Full schemas live in OpenAPI.
curl --compressed -H 'Authorization: Bearer YOUR_API_KEY' 'https://pgradar.org/api/v1/items?mode=selected&window=24h&limit=20'curl --compressed -H 'Authorization: Bearer YOUR_API_KEY' 'https://pgradar.org/openapi-v1.json'Filter by category
Pass category on /api/v1/items to narrow the stream, or omit it for all categories.
| Category | Query parameter |
|---|---|
| Version Releases | category=ai-models |
| Launches & New Tools | category=ai-products |
| Ecosystem & Security | category=industry |
| Benchmarks & Research | category=paper |
| Cases & Postmortems | category=tip |
| Community Perspectives | category=opinion |
Efficient polling
- 01Enable compression
Use
--compressedor gzip/br headers—compressed JSON is typically 1/4 to 1/8 the wire size. - 02Send ETag
Cache the response ETag and pass
If-None-Matchto receive empty 304s when nothing changed. - 03Match cadence
Poll feeds/hot once per minute at most; fetch reports once after When significant changes warrant coverage and stop pagination at already-seen items.
Update cadence: raw signals stream continuously; featured curation updates multiple times daily; reports publish when significant changes warrant coverage, mondays at 10:00, and 1st of each month at 10:30 (UTC+8).
Endpoint reference
| Path | Purpose | Suggested cadence |
|---|---|---|
| Signals | ||
/api/v1/items | Curated or 7-day all-signal items filtered by mode, category, window, q, and ?lang | Every 1 min max |
| Hot & Stories | ||
/api/v1/hot-topics | Current Top 10 clustered hot topics | Every 1 min max |
/api/v1/stories/{publicId} | Full story timeline, rolling AI digest, and related stories | On demand |
| Daily Briefs | ||
/api/v1/dailies/latest | Latest published daily brief | Once after When significant changes warrant coverage |
/api/v1/dailies/{date} | Specific date issue (withdrawals reflected on refresh) | Revalidate via ETag |
/api/v1/dailies | Daily archive index | Once daily |
| Weekly & Monthly | ||
/api/v1/weeklies/latest | Latest weekly digest grouped by section | Once after Mondays at 10:00 |
/api/v1/weeklies/{week} | Specific ISO week (e.g. 2026-W39) | Revalidate via ETag |
/api/v1/weeklies | Weekly archive index | Once weekly |
/api/v1/monthlies/latest | Latest monthly review | Once after 1st of each month at 10:30 |
/api/v1/monthlies/{month} | Specific month (e.g. 2026-09) | Revalidate via ETag |
/api/v1/monthlies | Monthly archive index | Once monthly |
| For AI Agents | ||
/api/v1/agent | Bilingual agent playbook (?lang=en|zh) | On demand |
| Incremental Sync | ||
/api/v1/selected/snapshot | Paginated initial snapshot of all curated items | Initial sync only |
/api/v1/selected/changes | Cursor-based additions, edits, and withdrawals | Every few mins |
Common recipes
# First call: store the ETag response header
curl --compressed -H 'Authorization: Bearer YOUR_API_KEY' -i 'https://pgradar.org/api/v1/items?mode=selected&window=24h&limit=20'
# Subsequent polls: pass If-None-Match (304 = unchanged)
curl --compressed -H 'Authorization: Bearer YOUR_API_KEY' -i -H 'If-None-Match: <previous-etag>' 'https://pgradar.org/api/v1/items?mode=selected&window=24h&limit=20'To paginate backwards, pass page.nextCursor as cursor and stop once you reach an already-stored item ID.
Error handling
- 400
- Invalid parameters: check OpenAPI and the returned error code. invalid_cursor means restart pagination from page 1.
- 401
- api_key_required: send Authorization: Bearer <token> or X-Api-Key.
- 403
- invalid_api_key / agent_access_closed: key is invalid, expired, revoked, or access is closed.
- 409
- snapshot_required: incremental delta cannot continue safely—take a fresh snapshot.
- 429
- Rate-limited: honor the Retry-After header instead of retrying concurrently.
- 5xx
- Use exponential backoff and keep serving cached state; public endpoints carry no uptime SLA.
Authorized API access remains subject to attribution & usage rules—see Terms of Use.