Skip to main content
Every answer is JSON in the same envelope. A successful request answers { "status": "success", "response": … } with the payload in response:
A failed request answers { "status": "error", "message": … }:
The HTTP status tells you which error occurred. message says what went wrong, in English, for a person to read — don’t branch on its text.

Error codes

The page of each endpoint in the API Reference tab lists when that endpoint answers with which code. FORBIDDEN also answers a request that would go over one of the API’s edit limits — see Edit limits.