Skip to content

ayaanngandhi/api-hunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ” API Hunter

A CLI tool to discover internal API endpoints from any website.

Installation

npm install -g @ayaanngandhi/api-hunter

Or run directly:

npx @ayaanngandhi/api-hunter https://example.com

Usage

api-hunter <url>

# Examples:
api-hunter https://twitter.com
api-hunter github.com

What it does

Scans webpage source for common API patterns:

  • /api/* endpoints
  • /v1/*, /v2/* versioned endpoints
  • GraphQL endpoints
  • fetch() and axios calls

Limitations

This tool only scans the initial HTML. For SPAs that load APIs dynamically, use browser DevTools Network tab.

Full Guide

For a complete guide on reverse-engineering internal APIs: https://ayaanngandhi.github.io/internal-apis-guide/

Support

If this helped you, consider sponsoring:

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published