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 search and fetch calls under /v1/data/* 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 (minimum 50 per request; free if no comments are returned) |
POST /v1/data/linkedin/posts/reactions | 1 per reaction returned (minimum 50 per request; free if no reactions are returned) |
POST /v1/data/hackernews/search | 2 per successful request |
GET /v1/data/reddit/posts | 2 per successful request, or 2 per included subreddit when you pass subreddits (each one is read on every call) |
Successful LinkedIn search, person posts and person comments responses return the full page. The optional count field on those endpoints is ignored.
Reddit responses report the exact charge in meta.creditsCharged.
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/topics, /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 |
GET /v1/data/reddit/posts | 400 validation_error with an issue on 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, LinkedIn comment and reaction, and Reddit rates, but not the Hacker News rate. Use the table above for Hacker News.
Related
- Credits and usage: how credits work across topics, 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
Rate limits
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.
OAuth 2.0
Use OAuth 2.0 with PKCE to connect your integration to a customer's SnitchFeed organization: authorize, refresh, revoke and verify revoke webhooks.