Skip to content
Skillpedia
Security6.5k · #14151

web-api-enumeration

What it does

It describes how to find API routes, check for API documentation and identify input fields. It is for developers and testers reviewing web applications they are allowed to test.

When to use it

  • ✓When a developer wants to list every API route their web app exposes.
  • ✓When a tester needs to find out whether a GraphQL endpoint is available.
  • ✓When someone wants to see which parameters an endpoint accepts before deeper testing.

Skill link

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/web-recon/api-enumeration/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/web-recon/api-enumeration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Find all the API endpoints on our site and check whether there is a GraphQL endpoint.”

5 new skills a week. 1 minute to read.

How it works

The skill gives steps for checking common API paths, looking for published API docs and listing parameters. The AI runs these checks and reports the results.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Web API Enumeration & Parameter Discovery

Surface REST/GraphQL endpoints and the parameter surface of known endpoints. This sub-skill covers everything between "the directory tree is mapped" and "I know what to fuzz".

1. API Endpoint Enumeration

REST API Discovery

# Common API paths
ffuf -u https://<target>/api/FUZZ -w /usr/share/wordlists/api-endpoints.txt -mc 200,201,401,403,405

# Version enumeration
for v in v1 v2 v3; do
    ffuf -u "https://<target>/api/$v/FUZZ" -w api-wordlist.txt -mc 200,201,401,403
done

# Check for Swagger/OpenAPI docs
for doc in swagger.json openapi.json api-docs docs/api swagger/v1/swagger.json; do
    code=$(curl -s -o /dev/null -w "%{http_code}" "https://<target>/$doc")
    echo "$code $doc"
done

GraphQL Detection

# Common GraphQL endpoints
for path in graphql graphiql playground api/graphql; do
    # Introspection query
    curl -s -X POST "https://<target>/$path" \
        -H "Content-Type: application/json" \
        -d '{"query":"{__schema{types{name}}}"}' | head -c 200
    echo " → $path"
done

API Key/Token Patterns

Look for in responses:

  • api_key, apiKey, access_token, bearer, jwt
  • Base64-encoded blobs in cookies or headers
  • Authorization header patterns

2. Parameter Discovery

# GET parameter fuzzing
ffuf -u "https://<target>/page?FUZZ=test" -w /usr/share/wordlists/params.txt -mc 200 -fs <default_size>

# POST parameter fuzzing
ffuf -u "https://<target>/login" -X POST \
    -d "FUZZ=test" -H "Content-Type: application/x-www-form-urlencoded" \
    -w /usr/share/wordlists/params.txt -mc 200 -fs <default_size>

# Header fuzzing
ffuf -u "https://<target>/" -H "FUZZ: test" \
    -w /usr/share/wordlists/headers.txt -mc 200 -fs <default_size>
FAQ

Does this find hidden API keys?

It describes looking for key-like values in responses, so those can be flagged for review.

Is API documentation needed?

No. It also checks common paths for Swagger or OpenAPI files.

Who is it for?

It is for developers and testers reviewing an application they are allowed to test.

Details

Original description by the author

REST API discovery, GraphQL detection, parameter fuzzing.

repo: BitterSecurity/Decepticon

Popularity

GitHub stars
6.5k
Ranking position
#14151
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills