Skip to main content
All errors return a JSON object with an error field.

Error format

Status codes

Common errors

Missing API key

401
Fix: Include your API key as a header (x-api-key: pn_live_...) or query parameter (?key=pn_live_...).

Invalid API key

403
Fix: Verify your key is correct. Keys cannot be retrieved after creation — generate a new one if lost.

Rate limited

429
Fix: Wait until the timestamp, or reduce request frequency. Default limit is 120 requests per minute.

Market not found

404
Fix: Verify the token ID. Use /v1/search to find the correct token.

Invalid resolution

400

Missing search query

400

Key generation rate limit

429

WebSocket disconnections

The server may close your WebSocket connection for any of these reasons: In all cases, the server closes the connection without a close frame. Implement reconnection with exponential backoff as described in the WebSocket overview.