Errors
The Pump.fun Trading API uses conventional HTTP response codes to indicate the success or failure of an API request. These codes follow standard HTTP conventions:
2xx Success - The request was successful.
4xx Client Error - The request failed due to a problem with the data provided (e.g., missing parameters, failed validation).
5xx Server Error - The request failed due to an issue with the API server (rare).
Attributes
message
(string)
A human-readable error message.
error
(string)
The type of error that occurred.
statusCode
(number)
The HTTP status code.
HTTP Status Codes
{
"200": "The request was successful.",
"400": "Bad Request.",
"401": "Unauthorized.",
"403": "Forbidden.",
"404": "Not Found.",
"409": "Conflict.",
"429": "Too Many Requests.",
"500": "Internal Server Error. (rare)"
}