API credits: cost per endpoint
Credits each SnitchFeed API search endpoint costs, which endpoints are free, what each endpoint returns when you run out of credits, and how to check usage.
Last updated
API calls draw from the same organization credit pool as the rest of SnitchFeed. Only successful POST /v1/data/* calls cost credits:
| Endpoint | Credits |
|---|---|
POST /v1/data/twitter/tweets/search | 2 per successful request |
POST /v1/data/linkedin/posts/search | 4 per successful request |
POST /v1/data/linkedin/company/get | 4 per successful request |
POST /v1/data/linkedin/person/posts | 10 per successful request (one page) |
POST /v1/data/linkedin/person/comments | 10 per successful request (one page) |
POST /v1/data/linkedin/posts/comments | 1 per comment returned |
POST /v1/data/linkedin/posts/reactions | 1 per reaction returned |
POST /v1/data/hackernews/search | 2 per successful request |
Successful LinkedIn search, person posts and person comments responses return the full page. The optional count field on those endpoints is ignored.
POST /v1/data/linkedin/person/comments returns comments written by a person (profile URL). POST /v1/data/linkedin/posts/comments scrapes comments on a post (post URL).
Every other v1 endpoint is free: GET /v1/data/linkedin/industries, and all /v1/mentions, /v1/listeners, /v1/feeds and /v1/organization/* endpoints.
When you run out of credits
Before a search runs, SnitchFeed sets aside its cost. If your organization does not have enough credits, the request fails without charging you, but the response differs by endpoint:
| Endpoint | Response |
|---|---|
POST /v1/data/twitter/tweets/search, POST /v1/data/hackernews/search | 502 upstream_error. The message says how many credits you need |
POST /v1/data/linkedin/posts/search, /company/get, /person/posts, /person/comments | 502 upstream_error with a general "could not be completed" message that does not mention credits |
POST /v1/data/linkedin/posts/comments, /posts/reactions | 400 validation_error with an issue on credits. These scrapes set aside credits for the maximum you asked for (maxComments or maxReactions), so lowering it can help |
If a LinkedIn call returns 502 and you are unsure why, check your balance with GET /v1/organization/usage (needs org:read).
Check usage
GET /v1/organization/usagereturns credit usage for the current billing period.- In the app, Integrations → API → Usage lists recent API requests, and the credits page explains usage across the product.
OpenAPI
GET /v1/openapi.json includes components.schemas.SnitchFeedCreditRates for code generators. It covers the X, LinkedIn search and company, LinkedIn person, and LinkedIn comment and reaction rates, but not the Hacker News rate. Use the table above for Hacker News.
Related
- Credits and usage: how credits work across listeners, exports and chat
- API rate limits: per-minute and in-flight limits
- API scopes:
search:readcontrols who can spend credits - SnitchFeed API: endpoints and error codes
API rate limits and 429 responses
SnitchFeed API limits per organization: 20 requests a minute per search surface, 60 for org data, 2 in flight at once, plus headers and 429s.
API OAuth 2.0 for integrations
Use OAuth 2.0 with PKCE to connect your integration to a customer's SnitchFeed organization: authorize, refresh, revoke and verify revoke webhooks.