You're reading about v1 of the API which is now superseded by a more recent version. However, v1 is still supported and requests for the API that do not specify a version will default to this one.
There is one API endpoint only accessible via HTTP GET. The account is not case sensitive and will be trimmed of leading or trailing white spaces. The account should always be URL encoded.
The response is simply an alphabetically sorted string array of pwned websites for the account in JSON format:
The sample can be invoked in the browser by clicking here or reconstructed in your tool of choice as follows:
GET HTTP/1.1 https://haveibeenpwned.com/api/breachedaccount/test%40example.com
HTTP/1.1 200 OK ["Adobe","Gawker","Stratfor"]
Response values may not be suitable for user-facing displays. They are stable (will not change in the future) and are sorted alphabetically. Current breach values are:
000webhost, 126, 17Media, 17173, 2844Breaches, 2fast4u, 7k7k, 8tracks, Abandonia, AbuseWithUs, AcneOrg, Adobe, AdultFriendFinder, AhaShare, AIType, Aipai, AKP, Ancestry, AndroidForums, AntiPublic, ArmyForceOnline, AshleyMadison, AstroPID, Aternos, Autocentrum, Avast, B2BUSABusinesses, Badoo, BattlefieldHeroes, BeautifulPeople, Bell, Bell2017, Bestialitysextaboo, BigMoneyJobs, BinWeevils, BiohackMe, BTSec, BitcoinTalk, Bitly, BitTorrent, BlackHatWorld, Bolt, BotOfLegends, Boxee, Brazzers, BTCE, BusinessAcumen, CafeMom, CannabisForum, CashCrate, CDProjektRed, CheapAssGamer, CivilOnline, ClixSense, CloudPets, Coachella, Comcast, COMELEC, CouponMomAndArmorGames, CrackCommunity, CrackingForum, Creative, CrimeAgencyVBulletin, CrossFire, DaFont, Dailymotion, DaniWeb, DataEnrichment, DietCom, Disqus, DLH, Dodonew, Dominos, Dropbox, DDO, Duowan, DVDShopCH, Edmodo, Elance, EpicGames, Eroticy, Estonia, eThekwiniMunicipality, Ethereum, Evermotion, Evony, Experian, ExploitIn, VINs, FashionFantasyGame, FFShrine, FlashFlashRevolution, Flashback, Fling, FLVS, Forbes, FoxyBingo, FreedomHostingII, Fridae, Funimation, FurAffinity, Gaadi, GamerzPlanet, GameTuts, Gamigo, Gawker, GeekedIn, GFAN, gPotato, GTAGaming, Playgar, HackForums, HackingTeam, HealthNowNetworks, Hemmakvall, Hemmelig, HeroesOfGaia, HeroesOfNewerth, HIAPK, HLTV, HongFire, HoundDawgs, iDressup, ILikeCheats, iMesh, imgur, Insanelyi, Interpals, iPmart, JobStreet, JustDate, Kickstarter, Kimsufi, KMRU, Lastfm, Leet, Lifeboat, LightsHope, LinkedIn, LinuxForums, LinuxMint, LittleMonsters, LizardSquad, Lookbook, LOTR, LoungeBoard, LyricsMania, Mac-Torrents, MailRu, MajorGeeks, MallCZ, Malwarebytes, MangaTraders, MangaFox, MasterDeeds, Mate1, MCBans, MDPI, MinecraftPocketEditionForum, MinecraftWorldMap, Minefield, MoDaCo, ModernBusinessSolutions, MoneyBookers, MPGH, MrExcel, mSpy, MuslimDirectory, MuslimMatch, myRepoSpace, MySpace, MyVidster, NaughtyAmerica, Neopets, NetEase, Neteller, NetProspex, Netshoes, NextGenUpdate, NexusMods, Nihonomaru, Nival, NonNudeGirls, Nulled, OnlinerSpambot, Onverse, OpenCSGO, OVH, OwnedCore, PaddyPower, Patreon, PayAsUGym, Pemiblanc, PHPFreaks, PixelFederation, Plex, Pokebip, PokemonCreed, PokemonNegro, PoliceOne, Powerbot, ProgrammingForums, PS3Hax, PSPISO, PSX-Scene, QatarNationalBank, QIP, QuantumBooter, QuinStreet, R2-2017, R2Games, Rambler, Rankwatch, BlueSnapRegpack, RetinaX, Reverb-Nation, RiverCityMedia, RosebuttBoard, SCDailyPhoneSpamList, Seedpeer, ServerPact, Shotbow, SkTorrent, Smogon, Snapchat, Sony, Soundwave, SpecialKSpamList, Spirol, Staminus, StarNet, SterKinekor, Stratfor, SumoTorrent, SweClockers, Taobao, Taringa, Solomid, TRAI, Teracod, Tesco, TGBUS, TheCandidBoard, TheFappening, TheFlyOnTheWall, TheTVDB, ThisHabboForum, Tianya, Ticketfly, TorrentInvites, TrikSpamBotnet, Trillian, TruckersMP, Tumblr, Uiggy, IGF, UnderworldEmpire, UnrealEngine, uTorrent, uuu9, VBulletin, Verified, VictoryPhones, ViewFines, VK, VNG, Vodafone, VTech, VTightGel, WarInc, Warframe, WeHeartIt, WHMCS, WIIUISO, WildStar, Win7Vista, Wishbone, WPT, xat, Xbox360ISO, Xbox-Scene, xHamster, XPGameSaves, XSplit, Yahoo, Yandex, Yatra, Youku, YouPorn, Zomato, Zoosk, Parapa, SprashivaiRu
Semantic HTTP response code are used to indicate the status of the search:
|200||Ok — everything worked and there's a string array of pwned sites for the account|
|400||Bad request — the account does not comply with an acceptable format (i.e. it's an empty string)|
|404||Not found — the account could not be found and has therefore not been pwned|
The API must be invoked over HTTPS. Any requests over HTTP will result in a 301 response with a redirect to the same path on the secure scheme.
CORS is fully supported for all origins — you can hit the API from websites on any other domain.
There isn't any.
There isn't any of that either.
There's not much point; if you want to build up a treasure trove of pwned email addresses or usernames, go and download the dumps (they're all just a Google search away) and save yourself the hassle and time of trying to enumerate an API one account at a time.