GET
/healthz
Liveness check for service process availability.
curl -s https://newsintelapi.com/healthz
Complete endpoint reference. All examples are copy/paste ready.
- GET /healthz purpose: Liveness check for service process availability. auth: None - GET /readyz purpose: Readiness check for db/redis/queue dependencies. auth: None - GET /v1/news/search purpose: Main ranked feed endpoint (supports pagination + language filters). auth: Bearer API key - GET /v1/briefing purpose: Generates briefing payload or digest for end-user and agent usage. auth: Bearer API key - GET /v1/briefing/agent purpose: Agent-optimized contract payload for automated workflows. auth: Bearer API key - POST /v1/profile/sync purpose: Triggers profile sync from manual/x-browser/x-api modes. auth: Bearer API key - GET /v1/sources purpose: Lists source registry used in ranking and ingestion. auth: Bearer API key - POST /v1/oauth/x/start purpose: Starts X OAuth PKCE flow for self-serve onboarding. auth: None - GET /openapi.json purpose: Machine-readable OpenAPI schema reference. auth: None
/healthz
Liveness check for service process availability.
curl -s https://newsintelapi.com/healthz
/readyz
Readiness check for db/redis/queue dependencies.
curl -s https://newsintelapi.com/readyz
/v1/news/search
Main ranked feed endpoint (supports pagination + language filters).
curl -s -H "Authorization: Bearer <API_KEY>" \ "https://newsintelapi.com/v1/news/search?limit=24&page=1&lang=pt,en"
/v1/briefing
Generates briefing payload or digest for end-user and agent usage.
curl -s -H "Authorization: Bearer <API_KEY>" \ "https://newsintelapi.com/v1/briefing?format=digest&country=BR"
/v1/briefing/agent
Agent-optimized contract payload for automated workflows.
curl -s -H "Authorization: Bearer <API_KEY>" "https://newsintelapi.com/v1/briefing/agent"
/v1/profile/sync
Triggers profile sync from manual/x-browser/x-api modes.
curl -s -X POST -H "Authorization: Bearer <API_KEY>" -H "content-type: application/json" \
-d '{"mode":"manual","free_text":"crypto macro AI"}' https://newsintelapi.com/v1/profile/sync
/v1/sources
Lists source registry used in ranking and ingestion.
curl -s -H "Authorization: Bearer <API_KEY>" https://newsintelapi.com/v1/sources
/v1/oauth/x/start
Starts X OAuth PKCE flow for self-serve onboarding.
curl -s -X POST -H "content-type: application/json" \
-d '{"redirect_uri":"https://newsintelapi.com/oauth/x/callback"}' https://newsintelapi.com/oauth/x/start
/openapi.json
Machine-readable OpenAPI schema reference.
curl -s https://newsintelapi.com/openapi.json