quickstarttime 5 minprereq curl
5-minute Quickstart
Get an API key, make your first call, wire it to your agent. No signup form โ just curl.
1. Get a key step1
Optional โ anonymous calls work (120 req/min per IP). A free key is 1,000 req/day ยท no card. Issue one with a single POST; the key comes back in the response, once:
POST/api/request-key201
$curl -X POST https://wpnews.pro/api/request-key \
-H "Content-Type: application/json" \
-d '{"name":"my-agent","email":"you@example.com"}' | jq -r '.api_key'
-H "Content-Type: application/json" \
-d '{"name":"my-agent","email":"you@example.com"}' | jq -r '.api_key'
Or use the form at /api-keys.
2. First call step2
GET/api/v1/articles200
$curl https://api.wpnews.pro/api/v1/articles?limit=10 -H "X-API-Key: $KEY" | jq '.[0]'
Returns a JSON array of articles: slug, title, summary, published_at, topics, source_name. Full text: /api/v1/articles/<slug>.
3. Filter by topic step3
Combine ?topic=, ?since=, ?date_from=/?date_to=, ?limit=/?offset=:
GET/api/v1/articles?topic=ai-agents&limit=20200
4. Plug into your agent step4
- Claude Desktop / Cursor โ MCP setup
- ChatGPT / Assistants โ tools.json
- n8n / Zapier โ workflows
5. Webhooks (Pro) step5
Push new articles to your endpoint within 30s. See /api#webhooks.