Skip to content

HTTP Response Codes

The APITube News API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error due to the information provided by the client, and codes in the 5xx range indicate an error on the server side.

HTTP Response CodeStatusDescription
200okEverything worked as expected.
400not_okAPI request is malformed or contains invalid parameters.
401not_okAPI key is invalid or missing.
402not_okYour account balance is negative.
404not_okEntry not found.
422not_okUnprocessable failure.
429not_okThe emergence of this error code indicates surpassing the rate limit allocated for your plan. You must wait for the rate limit to reset before initiating additional requests.
500not_okThe appearance of this error code signifies an unforeseen server error. Typically, this is a transient problem, so it's advisable to attempt your request again at a later time.