Skip to main content
Install the official SDK and call /v1/* with typed namespaces.

Authentication

Pass apiKey or set NEPHIA_API_KEY. Every request sends the x-api-key header.

Namespaces

Params use camelCase in TypeScript. The SDK converts them to snake_case on the wire. Responses are returned as-is (camelCase JSON).

Watches

Same lifecycle on client.x.watches and client.reddit.watches.

Webhook signatures

Errors & retries

Typed errors: AuthenticationError (401), InsufficientCreditsError (402), NotFoundError (404), RateLimitError (429/503). The client retries 429 / 502 / 503 / 504 and network failures (respects Retry-After). It does not retry other 4xx or timeouts — so pull credits are not double-charged.

Next steps