Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
HTTP status codes used by world-famous APIs
API Status Codes
Twitter 200, 304, 400, 401, 403, 404, 406, 410, 420, 422, 429, 500, 502, 503, 504
Stripe 200, 400, 401, 402, 404, 429, 500, 502, 503, 504
Github 200, 400, 422, 301, 302, 304, 307, 401, 403
Pagerduty 200, 201, 204, 400, 401, 403, 404, 408, 500
NewRelic Plugins 200, 400, 403, 404, 405, 413, 500, 502, 503, 503
Etsy 200, 201, 400, 403, 404, 500, 503
Dropbox 200, 400, 401, 403, 404, 405, 429, 503, 507
Spotify 200, 201, 204, 304, 400, 401, 403, 404, 429, 500, 502, 503
Google Cloud 200, 301, 304, 307, 308, 400, 401, 403, 404, 405, 409, 411, 412, 416, 429, 500, 501, 503
HipChat 200, 201, 202, 400, 401, 403, 404, 405, 429, 500, 503
Telegram 200, 303, 400, 401, 403, 404, 420, 500
Pocket 200, 400, 401, 403, 503
Uber 200, 201, 400, 401, 403, 404, 406, 409, 422, 429, 500

Used by either one of them: 200, 201, 202, 204, 301, 302, 303, 304, 307, 308, 400, 401, 402, 403, 404, 405, 406, 408, 409, 410, 411, 412, 413, 416, 420, 422, 429, 500, 501, 502, 503, 504, 507

Used by at least two of them: 200, 201, 204, 301, 304, 307, 400, 401, 403, 404, 405, 406, 409, 420, 422, 429, 500, 502, 503, 504

Used by at least three of them: 200, 201, 304, 400, 401, 403, 404, 405, 422, 429, 500, 502, 503

Used by at least four of them: 200, 201, 304, 400, 401, 403, 404, 405, 429, 500, 502, 503

Used by at least five of them: 200, 201, 400, 401, 403, 404, 405, 429, 500, 503

Used by all of them: 200, 400

@rocco

This comment has been minimized.

Copy link

@rocco rocco commented Feb 5, 2016

I found this Gist here: http://racksburg.com/choosing-an-http-status-code/ - great read on the topic too.

@JohnBugner

This comment has been minimized.

Copy link

@JohnBugner JohnBugner commented Aug 22, 2016

Google Cloud's link leads to Spotify's API. I think it was meant to lead to: https://cloud.google.com/storage/docs/xml-api/reference-status#http-status-and-error-codes . This is the XML API, but there's apparently a slightly different API for JSON: https://cloud.google.com/storage/docs/json_api/v1/status-codes#http-status-and-error-codes

@paulohfcanuto

This comment has been minimized.

Copy link

@paulohfcanuto paulohfcanuto commented Apr 6, 2017

@dungsaga

This comment has been minimized.

Copy link

@dungsaga dungsaga commented Aug 3, 2017

https://httpstatuses.com/ is easier to read and has links to sections in RFC document.

@SteveOnorato

This comment has been minimized.

@dret

This comment has been minimized.

Copy link

@dret dret commented Feb 14, 2018

in case you're interested in a list that has links to all specifications and is available in machine-readable format as well: http://webconcepts.info/concepts/http-status-code/

@Yousha

This comment has been minimized.

Copy link

@Yousha Yousha commented Feb 2, 2020

You forgot Discord: https://discordapp.com/developers/docs/topics/opcodes-and-status-codes

Pagerduty and uber pages NOT found. wrong page?

@fzyzcjy

This comment has been minimized.

Copy link

@fzyzcjy fzyzcjy commented Mar 10, 2020

good post, thanks!

@feenst

This comment has been minimized.

Copy link

@feenst feenst commented Apr 8, 2020

GitHub returns 404 in at least some cases.

@ad-m

This comment has been minimized.

Copy link

@ad-m ad-m commented Apr 14, 2020

Modern status codes for Google Cloud: 200, 400, 401, 403, 404, 409, 429, 499, 500, 501, 503, 504
Source: https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.