> nightcrew / guides

log in >

Connect a custom tool

Use the API if you want your own tool to read Nightcrew data. For most people, chat or an MCP connection is the easier starting point.

Create a token under account. Send it in the Authorization header. A token can access only the issuing account's records.

Base URL: https://nightcrew.news/api/v1

Request What it gives you
GET /me The connected account and token permissions
GET /signals?q=identity&limit=10 Matching stories and source links
GET /insights?limit=10 Insights and their supporting evidence
GET /people?q=cloud&limit=10 Matching people in your directory
GET /sources Your sources and their status
GET /status Your account's collection status
curl 'https://nightcrew.news/api/v1/insights?limit=5' \
  -H "Authorization: Bearer $NIGHTCREW_API_TOKEN"

Set NIGHTCREW_API_TOKEN in your tool's private environment. Keep credentials out of shared code and messages.

Ask a question

Enable allow AI queries when creating a token if your tool needs to ask Nightcrew's AI questions.

curl 'https://nightcrew.news/api/v1/query' \
  -H "Authorization: Bearer $NIGHTCREW_API_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"question":"Which recent security stories could help with a CISO newsletter?"}'

Review generated answers against their source links. AI questions are subject to account usage limits.

If a request fails

Revoke a token in account when your tool no longer needs it. The API doesn't send emails or publish posts.