Get billing usage
Returns credits consumed in the current billing period, the total credit limit, and when the period resets.
Read-only — this endpoint does not consume credits.
See metered prices for current per-search rates.
Authorization
bearerAuth Organization API key from Integrations → API keys.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/billing/usage"{ "requestId": "string", "creditsUsedThisPeriod": 0, "creditsLimit": 0, "billingPeriodEndsAt": "string"}{ "requestId": "01HXYZABCDEF", "error": { "code": "unauthorized", "message": "Invalid or revoked API key." }}{ "requestId": "01HXYZABCDEF", "error": { "code": "rate_limited", "message": "Rate limit exceeded for linkedin. Try again later.", "retryAfter": 42 }}{ "requestId": "01HXYZABCDEF", "error": { "code": "billing_unavailable", "message": "Could not load credit balance for this organization. Ensure the workspace has an active subscription." }}Search HackerNews POST
Search HackerNews stories and comments (via Algolia's HN index). ### Query syntax `query` supports HN's native search qualifiers in addition to plain keywords: `author:USERNAME` / `by:USERNAME` (filter by author), `story:ID` (filter to one story's items), `points>N` / `points<N`, `comments>N` / `comments<N`, `"exact phrase"`, and `-word` (exclude). A query can be qualifiers-only with no keywords, e.g. `author:pg points>500`. ### Credits Each **successful** response deducts **2 credits** from your organization. Requests that fail (4xx / 5xx) are not billed. See the [credits documentation](https://snitchfeed.com/docs/api/credits) for the full rate table.
New mention Webhook
SnitchFeed POSTs this payload to your HTTPS endpoint when a mention is delivered via webhook. Configure your endpoint URL in the platform under **Integrations → Webhooks**. - `event.type` is `mention.created` for automatic feed routing, or `mention.resent` for on-demand sends from the app. (Renamed from `match.created`/`match.resent`.) - Return any `2xx` status to acknowledge delivery. The response body is ignored. - Failed deliveries are retried with exponential backoff.